RocksDBUtils { public static String getTableName( final String typeName, final String indexName, final byte[] partitionKey) { return getTableName(getTablePrefix(typeName, indexName), partitionKey); }  static RocksDBMetadataTable getMetadataTable(
      final RocksDBClient client,
      final MetadataType metadataType); static String getTablePrefix(final String typeName, final String indexName); static RocksDBDataIndexTable getDataIndexTable(
      final RocksDBClient client,
      final String typeName,
      final short adapterId); static RocksDBIndexTable getIndexTableFromPrefix(
      final RocksDBClient client,
      final String namePrefix,
      final short adapterId,
      final byte[] partitionKey,
      final boolean requiresTimestamp); static String getTableName(
      final String typeName,
      final String indexName,
      final byte[] partitionKey); static String getTableName(final String setNamePrefix, final byte[] partitionKey); static RocksDBIndexTable getIndexTable(
      final RocksDBClient client,
      final String tableName,
      final short adapterId,
      final byte[] partitionKey,
      final boolean requiresTimestamp); static RocksDBIndexTable getIndexTable(
      final RocksDBClient client,
      final String typeName,
      final String indexName,
      final short adapterId,
      final byte[] partitionKey,
      final boolean requiresTimestamp); static Set<ByteArray> getPartitions(final String directory, final String tableNamePrefix); static boolean isSortByTime(final InternalDataAdapter<?> adapter); static boolean isSortByKeyRequired(final RangeReaderParams<?> params); static Iterator<GeoWaveRow> sortBySortKey(final Iterator<GeoWaveRow> it); static Pair<Boolean, Boolean> isGroupByRowAndIsSortByTime(
      final RangeReaderParams<?> readerParams,
      final short adapterId); static int ROCKSDB_DEFAULT_MAX_RANGE_DECOMPOSITION; static int ROCKSDB_DEFAULT_AGGREGATION_MAX_RANGE_DECOMPOSITION; static ByteArray EMPTY_PARTITION_KEY; }
@Test public void testGetTableName() { final String nullPartitionKeyName = RocksDBUtils.getTableName("prefix-null", null); assertEquals("prefix-null", nullPartitionKeyName); final String emptyPartitionKeyName = RocksDBUtils.getTableName("prefix-empty", new byte[] {}); assertEquals("prefix-empty", emptyPartitionKeyName); }