public class RocksDBUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.locationtech.geowave.core.index.ByteArray |
EMPTY_PARTITION_KEY |
protected static int |
MAX_ROWS_FOR_PAGINATION |
static int |
ROCKSDB_DEFAULT_AGGREGATION_MAX_RANGE_DECOMPOSITION |
static int |
ROCKSDB_DEFAULT_MAX_RANGE_DECOMPOSITION |
| Constructor and Description |
|---|
RocksDBUtils() |
| Modifier and Type | Method and Description |
|---|---|
static RocksDBDataIndexTable |
getDataIndexTable(RocksDBClient client,
String typeName,
short adapterId) |
static RocksDBIndexTable |
getIndexTable(RocksDBClient client,
String tableName,
short adapterId,
byte[] partitionKey,
boolean requiresTimestamp) |
static RocksDBIndexTable |
getIndexTable(RocksDBClient client,
String typeName,
String indexName,
short adapterId,
byte[] partitionKey,
boolean requiresTimestamp) |
static RocksDBIndexTable |
getIndexTableFromPrefix(RocksDBClient client,
String namePrefix,
short adapterId,
byte[] partitionKey,
boolean requiresTimestamp) |
static RocksDBMetadataTable |
getMetadataTable(RocksDBClient client,
org.locationtech.geowave.core.store.operations.MetadataType metadataType) |
static Set<org.locationtech.geowave.core.index.ByteArray> |
getPartitions(String directory,
String tableNamePrefix) |
static String |
getTableName(String setNamePrefix,
byte[] partitionKey) |
static String |
getTableName(String typeName,
String indexName,
byte[] partitionKey) |
static String |
getTablePrefix(String typeName,
String indexName) |
static org.apache.commons.lang3.tuple.Pair<Boolean,Boolean> |
isGroupByRowAndIsSortByTime(org.locationtech.geowave.core.store.operations.RangeReaderParams<?> readerParams,
short adapterId) |
static boolean |
isSortByKeyRequired(org.locationtech.geowave.core.store.operations.RangeReaderParams<?> params) |
static boolean |
isSortByTime(org.locationtech.geowave.core.store.adapter.InternalDataAdapter<?> adapter) |
static Iterator<org.locationtech.geowave.core.store.entities.GeoWaveRow> |
sortBySortKey(Iterator<org.locationtech.geowave.core.store.entities.GeoWaveRow> it) |
protected static final int MAX_ROWS_FOR_PAGINATION
public static int ROCKSDB_DEFAULT_MAX_RANGE_DECOMPOSITION
public static int ROCKSDB_DEFAULT_AGGREGATION_MAX_RANGE_DECOMPOSITION
public static org.locationtech.geowave.core.index.ByteArray EMPTY_PARTITION_KEY
public static RocksDBMetadataTable getMetadataTable(RocksDBClient client, org.locationtech.geowave.core.store.operations.MetadataType metadataType)
public static RocksDBDataIndexTable getDataIndexTable(RocksDBClient client, String typeName, short adapterId)
public static RocksDBIndexTable getIndexTableFromPrefix(RocksDBClient client, String namePrefix, short adapterId, byte[] partitionKey, boolean requiresTimestamp)
public static String getTableName(String typeName, String indexName, byte[] partitionKey)
public static RocksDBIndexTable getIndexTable(RocksDBClient client, String tableName, short adapterId, byte[] partitionKey, boolean requiresTimestamp)
public static RocksDBIndexTable getIndexTable(RocksDBClient client, String typeName, String indexName, short adapterId, byte[] partitionKey, boolean requiresTimestamp)
public static Set<org.locationtech.geowave.core.index.ByteArray> getPartitions(String directory, String tableNamePrefix)
public static boolean isSortByTime(org.locationtech.geowave.core.store.adapter.InternalDataAdapter<?> adapter)
public static boolean isSortByKeyRequired(org.locationtech.geowave.core.store.operations.RangeReaderParams<?> params)
public static Iterator<org.locationtech.geowave.core.store.entities.GeoWaveRow> sortBySortKey(Iterator<org.locationtech.geowave.core.store.entities.GeoWaveRow> it)
Copyright © 2013–2020. All rights reserved.