Package io.datarouter.storage.client.imp
Class TxnManagedUniqueIndexNode<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>,IF extends io.datarouter.model.serialize.fielder.DatabeanFielder<IK,IE>>
java.lang.Object
io.datarouter.storage.node.type.index.base.BaseManagedNode<PK,D,IK,IE,IF>
io.datarouter.storage.client.imp.BaseManagedIndexNode<PK,D,IK,IE,IF>
io.datarouter.storage.client.imp.TxnManagedUniqueIndexNode<PK,D,IK,IE,IF>
- All Implemented Interfaces:
IndexReader<PK,D,IK,IE>,UniqueIndexReader<PK,D,IK,IE>,UniqueIndexWriter<PK,D,IK>,NodeOps<IK,IE>,SortedStorageReader<IK,IE>,ManagedNode<PK,D,IK,IE,IF>,ManagedUniqueIndexNode<PK,D,IK,IE,IF>,UniqueIndexNode<PK,D,IK,IE>
public class TxnManagedUniqueIndexNode<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>,IF extends io.datarouter.model.serialize.fielder.DatabeanFielder<IK,IE>> extends BaseManagedIndexNode<PK,D,IK,IE,IF> implements ManagedUniqueIndexNode<PK,D,IK,IE,IF>
-
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 class io.datarouter.storage.node.type.index.base.BaseManagedNode
indexEntryFieldInfo, nodeFields inherited from interface io.datarouter.storage.node.type.index.ManagedUniqueIndexNode
OP_lookupMultiUniqueIndex, OP_lookupUniqueIndexFields 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 TxnManagedUniqueIndexNode(IndexedMapStorage<PK,D> node, IndexEntryFieldInfo<IK,IE,IF> fieldInfo, String name) -
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 indexKey, Config config)Methods inherited from class io.datarouter.storage.client.imp.BaseManagedIndexNode
scanDatabeansMulti, scanRanges, scanRangesKeysMethods inherited from class io.datarouter.storage.node.type.index.base.BaseManagedNode
getIndexEntryFieldInfo, getNameMethods 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, scanDatabeansMulti, scanDatabeansWithPrefix, scanDatabeansWithPrefix, scanDatabeansWithPrefixes, scanDatabeansWithPrefixesMethods inherited from interface io.datarouter.storage.node.type.index.ManagedNode
getIndexEntryFieldInfo, getNameMethods 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, scanRanges, scanRangesKeys, 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
-
TxnManagedUniqueIndexNode
public TxnManagedUniqueIndexNode(IndexedMapStorage<PK,D> node, IndexEntryFieldInfo<IK,IE,IF> fieldInfo, String name)
-
-
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>>
-
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>>
-
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>>
-