@Test public void testIsRecordTableDescriptor_True() { HTableDescriptor tableDescriptor = new HTableDescriptor(Bytes.toBytes("myrecordtable")); tableDescriptor.setValue(LilyHBaseSchema.TABLE_TYPE_PROPERTY, LilyHBaseSchema.TABLE_TYPE_RECORD); assertTrue(LilyHBaseSchema.isRecordTableDescriptor(tableDescriptor)); }
public static boolean isRecordTableDescriptor(HTableDescriptor htableDescriptor) { byte[] value = htableDescriptor.getValue(TABLE_TYPE_PROPERTY); return value != null && Bytes.equals(value, TABLE_TYPE_RECORD); }
LilyHBaseSchema { public static boolean isRecordTableDescriptor(HTableDescriptor htableDescriptor) { byte[] value = htableDescriptor.getValue(TABLE_TYPE_PROPERTY); return value != null && Bytes.equals(value, TABLE_TYPE_RECORD); } }
LilyHBaseSchema { public static boolean isRecordTableDescriptor(HTableDescriptor htableDescriptor) { byte[] value = htableDescriptor.getValue(TABLE_TYPE_PROPERTY); return value != null && Bytes.equals(value, TABLE_TYPE_RECORD); } private  LilyHBaseSchema(); }
LilyHBaseSchema { public static boolean isRecordTableDescriptor(HTableDescriptor htableDescriptor) { byte[] value = htableDescriptor.getValue(TABLE_TYPE_PROPERTY); return value != null && Bytes.equals(value, TABLE_TYPE_RECORD); } private  LilyHBaseSchema(); static boolean isRecordTableDescriptor(HTableDescriptor htableDescriptor); static HTableInterface getRecordTable(HBaseTableFactory tableFactory, String repositoryName, String tableName); static HTableInterface getRecordTable(HBaseTableFactory tableFactory, String repositoryName, String tableName, byte[][] splitKeys); static HTableInterface getRecordTable(HBaseTableFactory tableFactory, String repositoryName, String tableName, boolean clientMode); static HTableInterface getTypeTable(HBaseTableFactory tableFactory); static HTableInterface getBlobIncubatorTable(HBaseTableFactory tableFactory, boolean clientMode); }
LilyHBaseSchema { public static boolean isRecordTableDescriptor(HTableDescriptor htableDescriptor) { byte[] value = htableDescriptor.getValue(TABLE_TYPE_PROPERTY); return value != null && Bytes.equals(value, TABLE_TYPE_RECORD); } private  LilyHBaseSchema(); static boolean isRecordTableDescriptor(HTableDescriptor htableDescriptor); static HTableInterface getRecordTable(HBaseTableFactory tableFactory, String repositoryName, String tableName); static HTableInterface getRecordTable(HBaseTableFactory tableFactory, String repositoryName, String tableName, byte[][] splitKeys); static HTableInterface getRecordTable(HBaseTableFactory tableFactory, String repositoryName, String tableName, boolean clientMode); static HTableInterface getTypeTable(HBaseTableFactory tableFactory); static HTableInterface getBlobIncubatorTable(HBaseTableFactory tableFactory, boolean clientMode); static final byte[] TABLE_TYPE_PROPERTY; static final byte[] TABLE_TYPE_RECORD; }