Class ManualUniqueIndexNode<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.unique.UniqueIndexEntry<IK,IE,PK,D>>
java.lang.Object
io.datarouter.storage.node.type.index.ManualUniqueIndexNode<PK,D,IK,IE>
- All Implemented Interfaces:
IndexReader<PK,D,IK,IE>,UniqueIndexReader<PK,D,IK,IE>,UniqueIndexWriter<PK,D,IK>,NodeOps<IK,IE>,SortedStorageReader<IK,IE>,UniqueIndexNode<PK,D,IK,IE>
public class ManualUniqueIndexNode<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.unique.UniqueIndexEntry<IK,IE,PK,D>> extends Object implements UniqueIndexNode<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_scanRangesKeysFields inherited from interface io.datarouter.storage.node.op.index.UniqueIndexReader
OP_lookupMultiUnique, OP_lookupUniqueFields inherited from interface io.datarouter.storage.node.op.index.UniqueIndexWriter
OP_deleteMultiUnique, OP_deleteUnique -
Constructor Summary
Constructors Constructor Description ManualUniqueIndexNode(MapStorage<PK,D> mainNode, SortedMapStorage<IK,IE> indexNode) -
Method Summary
Modifier and Type Method Description voiddeleteMultiUnique(Collection<IK> uniqueKeys, Config config)voiddeleteUnique(IK indexKey, Config config)IEget(IK uniqueKey, Config config)List<IE>getMulti(Collection<IK> uniqueKeys, Config config)List<D>lookupMultiUnique(Collection<IK> uniqueKeys, Config config)DlookupUnique(IK uniqueKey, 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>> ranges, 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.raw.read.SortedStorageReader
count, scan, scan, scan, scan, scanKeys, scanKeys, scanKeys, scanKeys, scanKeysWithPrefix, scanKeysWithPrefix, scanKeysWithPrefixes, scanKeysWithPrefixes, scanRanges, scanRangesKeys, scanWithPrefix, scanWithPrefix, scanWithPrefixes, scanWithPrefixesMethods inherited from interface io.datarouter.storage.node.op.index.UniqueIndexReader
get, getMulti, lookupMultiUnique, lookupUniqueMethods inherited from interface io.datarouter.storage.node.op.index.UniqueIndexWriter
deleteMultiUnique, deleteUnique
-
Constructor Details
-
Method Details
-
lookupUnique
- Specified by:
lookupUniquein interfaceUniqueIndexReader<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.unique.UniqueIndexEntry<IK,IE,PK,D>>
-
lookupMultiUnique
- Specified by:
lookupMultiUniquein interfaceUniqueIndexReader<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.unique.UniqueIndexEntry<IK,IE,PK,D>>
-
deleteUnique
- Specified by:
deleteUniquein interfaceUniqueIndexWriter<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>>
-
deleteMultiUnique
- Specified by:
deleteMultiUniquein interfaceUniqueIndexWriter<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>>
-
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>>
-
scanRangesKeys
public io.datarouter.scanner.Scanner<IK> scanRangesKeys(Collection<io.datarouter.util.tuple.Range<IK>> ranges, Config config)- Specified by:
scanRangesKeysin 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.unique.UniqueIndexEntry<IK,IE,PK,D>>
-
get
-
getMulti
- Specified by:
getMultiin interfaceUniqueIndexReader<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.unique.UniqueIndexEntry<IK,IE,PK,D>>
-