Class ManualMultiIndexNode<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,IK extends io.datarouter.model.key.primary.PrimaryKey<IK>,IE extends io.datarouter.model.index.multi.MultiIndexEntry<IK,IE,PK,D>>
java.lang.Object
io.datarouter.storage.node.type.index.ManualMultiIndexNode<PK,D,IK,IE>
- All Implemented Interfaces:
IndexReader<PK,D,IK,IE>,MultiIndexReader<PK,D,IK,IE>,NodeOps<IK,IE>,SortedStorageReader<IK,IE>,MultiIndexNode<PK,D,IK,IE>
public class ManualMultiIndexNode<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,IK extends io.datarouter.model.key.primary.PrimaryKey<IK>,IE extends io.datarouter.model.index.multi.MultiIndexEntry<IK,IE,PK,D>> extends Object implements MultiIndexNode<PK,D,IK,IE>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.datarouter.storage.node.op.raw.read.SortedStorageReader
SortedStorageReader.PhysicalSortedStorageReaderNode<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,D>>, SortedStorageReader.SortedStorageReaderNode<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,D>> -
Field Summary
Fields inherited from interface io.datarouter.storage.node.op.raw.read.SortedStorageReader
OP_getKeysInRange, OP_getPrefixedRange, OP_getRange, OP_scan, OP_scanKeys, OP_scanRanges, OP_scanRangesKeys -
Constructor Summary
Constructors Constructor Description ManualMultiIndexNode(MapStorage<PK,D> mainNode, SortedMapStorage<IK,IE> indexNode) -
Method Summary
Modifier and Type Method Description List<D>lookupMulti(IK indexKey, Config config)List<D>lookupMultiMulti(Collection<IK> indexKeys, Config config)io.datarouter.scanner.Scanner<D>scanDatabeansMulti(Collection<io.datarouter.util.tuple.Range<IK>> ranges, Config config)io.datarouter.scanner.Scanner<IE>scanRanges(Collection<io.datarouter.util.tuple.Range<IK>> ranges, Config config)io.datarouter.scanner.Scanner<IK>scanRangesKeys(Collection<io.datarouter.util.tuple.Range<IK>> range, Config config)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.datarouter.storage.node.op.index.IndexReader
scanDatabeans, scanDatabeans, scanDatabeans, scanDatabeans, scanDatabeansMulti, scanDatabeansWithPrefix, scanDatabeansWithPrefix, scanDatabeansWithPrefixes, scanDatabeansWithPrefixesMethods inherited from interface io.datarouter.storage.node.op.index.MultiIndexReader
lookupMulti, lookupMultiMultiMethods inherited from interface io.datarouter.storage.node.op.raw.read.SortedStorageReader
count, scan, scan, scan, scan, scanKeys, scanKeys, scanKeys, scanKeys, scanKeysWithPrefix, scanKeysWithPrefix, scanKeysWithPrefixes, scanKeysWithPrefixes, scanRanges, scanRangesKeys, scanWithPrefix, scanWithPrefix, scanWithPrefixes, scanWithPrefixes
-
Constructor Details
-
Method Details
-
lookupMulti
- Specified by:
lookupMultiin interfaceMultiIndexReader<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,IK extends io.datarouter.model.key.primary.PrimaryKey<IK>,IE extends io.datarouter.model.index.multi.MultiIndexEntry<IK,IE,PK,D>>
-
lookupMultiMulti
- Specified by:
lookupMultiMultiin interfaceMultiIndexReader<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,IK extends io.datarouter.model.key.primary.PrimaryKey<IK>,IE extends io.datarouter.model.index.multi.MultiIndexEntry<IK,IE,PK,D>>
-
scanRanges
public io.datarouter.scanner.Scanner<IE> scanRanges(Collection<io.datarouter.util.tuple.Range<IK>> ranges, Config config)- Specified by:
scanRangesin interfaceSortedStorageReader<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>>
-
scanDatabeansMulti
public io.datarouter.scanner.Scanner<D> scanDatabeansMulti(Collection<io.datarouter.util.tuple.Range<IK>> ranges, Config config)- Specified by:
scanDatabeansMultiin interfaceIndexReader<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,IK extends io.datarouter.model.key.primary.PrimaryKey<IK>,IE extends io.datarouter.model.index.multi.MultiIndexEntry<IK,IE,PK,D>>
-
scanRangesKeys
public io.datarouter.scanner.Scanner<IK> scanRangesKeys(Collection<io.datarouter.util.tuple.Range<IK>> range, Config config)- Specified by:
scanRangesKeysin interfaceSortedStorageReader<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>>
-