Beispiel #1
0
 /** @return True if this cell is a delete family or column type. */
 public static boolean isDeleteColumnOrFamily(Cell cell) {
   int t = cell.getTypeByte();
   return t == Type.DeleteColumn.getCode() || t == Type.DeleteFamily.getCode();
 }
Beispiel #2
0
 public static boolean isDeleteColumnVersion(final Cell cell) {
   return cell.getTypeByte() == Type.Delete.getCode();
 }
Beispiel #3
0
 /** @return True if this cell is a {@link KeyValue.Type#Delete} type. */
 public static boolean isDeleteType(Cell cell) {
   return cell.getTypeByte() == Type.Delete.getCode();
 }
Beispiel #4
0
 public static boolean isDeleteFamily(final Cell cell) {
   return cell.getTypeByte() == Type.DeleteFamily.getCode();
 }
Beispiel #5
0
 /**
  * @return True if a delete type, a {@link KeyValue.Type#Delete} or a {KeyValue.Type#DeleteFamily}
  *     or a {@link KeyValue.Type#DeleteColumn} KeyValue type.
  */
 public static boolean isDelete(final Cell cell) {
   return isDelete(cell.getTypeByte());
 }