public class RdbPartitionManager extends PartitionManager
PartitionManager.Intervalintervals, partitioningSpec, pcache, tableDefinition| Constructor and Description |
|---|
RdbPartitionManager(YarchDatabaseInstance ydb,
TableDefinition tableDefinition) |
| Modifier and Type | Method and Description |
|---|---|
protected Partition |
createPartition(Object value)
Create a partition for value based partitioning
|
protected Partition |
createPartitionByTime(TimePartitionSchema.PartitionInfo pinfo,
Object value)
Create a partition for time (and possible value) based partitioning
|
void |
readPartitionsFromDisk()
Called at startup to read existing partitions from disk
|
createAndGetPartition, getPartitionForTuple, getPartitions, iterator, iterator, reverseIterator, reverseIteratorpublic RdbPartitionManager(YarchDatabaseInstance ydb, TableDefinition tableDefinition)
public void readPartitionsFromDisk()
protected Partition createPartitionByTime(TimePartitionSchema.PartitionInfo pinfo, Object value) throws IOException
PartitionManagercreatePartitionByTime in class PartitionManagerIOExceptionprotected Partition createPartition(Object value) throws IOException
PartitionManagercreatePartition in class PartitionManagerIOExceptionCopyright © 2018 Space Applications Services. All rights reserved.