예제 #1
0
파일: CellUtil.java 프로젝트: jinlove/hbase
 /** @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();
 }
예제 #2
0
파일: CellUtil.java 프로젝트: jinlove/hbase
 public static boolean isDeleteColumnVersion(final Cell cell) {
   return cell.getTypeByte() == Type.Delete.getCode();
 }
예제 #3
0
파일: CellUtil.java 프로젝트: jinlove/hbase
 /** @return True if this cell is a {@link KeyValue.Type#Delete} type. */
 public static boolean isDeleteType(Cell cell) {
   return cell.getTypeByte() == Type.Delete.getCode();
 }
예제 #4
0
파일: CellUtil.java 프로젝트: jinlove/hbase
 public static boolean isDeleteFamily(final Cell cell) {
   return cell.getTypeByte() == Type.DeleteFamily.getCode();
 }
예제 #5
0
파일: CellUtil.java 프로젝트: jinlove/hbase
 /**
  * @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());
 }