public class RdbPartitionManager extends PartitionManager
PartitionManager.Intervalintervals, partitioningSpec, pcache, tableDefinition| Constructor and Description |
|---|
RdbPartitionManager(Tablespace tablespace,
YarchDatabaseInstance ydb,
TableDefinition tableDefinition) |
| Modifier and Type | Method and Description |
|---|---|
protected HistogramInfo |
createHistogram(String columnName) |
protected HistogramInfo |
createHistogramByTime(TimePartitionInfo pinfo,
String columnName) |
protected Partition |
createPartition(Object value)
Create a partition for value based partitioning
|
protected Partition |
createPartitionByTime(TimePartitionInfo pinfo,
Object value)
Create a partition for time (and possible value) based partitioning
|
void |
readPartitions()
Called at startup to read existing partitions
|
createAndGetHistogram, createAndGetPartition, getPartitionForTuple, getPartitions, intervalIterator, iterator, iterator, reverseIterator, reverseIteratorpublic RdbPartitionManager(Tablespace tablespace, YarchDatabaseInstance ydb, TableDefinition tableDefinition)
public void readPartitions()
throws org.rocksdb.RocksDBException,
IOException
IOExceptionorg.rocksdb.RocksDBExceptionprotected Partition createPartitionByTime(TimePartitionInfo pinfo, Object value) throws IOException
PartitionManagercreatePartitionByTime in class PartitionManagerIOExceptionprotected Partition createPartition(Object value) throws IOException
PartitionManagercreatePartition in class PartitionManagerIOExceptionprotected HistogramInfo createHistogramByTime(TimePartitionInfo pinfo, String columnName) throws IOException
createHistogramByTime in class PartitionManagerIOExceptionprotected HistogramInfo createHistogram(String columnName) throws IOException
createHistogram in class PartitionManagerIOExceptionCopyright © 2018 Space Applications Services. All rights reserved.