Interface IndexedStorageWriter<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>>
- All Superinterfaces:
IndexedOps<PK,D>,NodeOps<PK,D>
- All Known Subinterfaces:
IndexedMapStorage<PK,D>,IndexedMapStorage.IndexedMapStorageNode<PK,D,F>,IndexedMapStorage.PhysicalIndexedMapStorageNode<PK,D,F>,IndexedMapStorageWriter<PK,D>,IndexedMapStorageWriter.IndexedMapStorageWriterNode<PK,D,F>,IndexedMapStorageWriter.PhysicalIndexedMapStorageWriterNode<PK,D,F>,IndexedSortedMapStorage<PK,D>,IndexedSortedMapStorage.IndexedSortedMapStorageNode<PK,D,F>,IndexedSortedMapStorage.PhysicalIndexedSortedMapStorageNode<PK,D,F>,IndexedSortedMapStorageWriter<PK,D>,IndexedSortedMapStorageWriter.IndexedSortedMapStorageWriterNode<PK,D,F>,IndexedSortedMapStorageWriter.PhysicalIndexedSortedMapStorageWriterNode<PK,D,F>,IndexedStorage<PK,D>,IndexedStorage.IndexedStorageNode<PK,D,F>,IndexedStorage.PhysicalIndexedStorageNode<PK,D,F>,IndexedStorageCallsiteAdapterMixin<PK,D,F,N>,IndexedStorageCounterAdapterMixin<PK,D,F,N>,IndexedStorageSanitizationAdapterMixin<PK,D,F,N>,IndexedStorageTraceAdapterMixin<PK,D,F,N>,IndexedStorageWriter.IndexedStorageWriterNode<PK,D,F>,IndexedStorageWriter.PhysicalIndexedStorageWriterNode<PK,D,F>,PhysicalIndexedStorageAvailabilityAdapterMixin<PK,D,F,N>
- All Known Implementing Classes:
IndexedSortedMapStorageCallsiteAdapter,IndexedSortedMapStorageCounterAdapter,NoOpGroupQueueNode,NoOpNode,NoOpQueueNode,PhysicalIndexedSortedMapStorageAvailabilityAdapterFactory.PhysicalIndexedSortedMapStorageAvailabilityAdapter,PhysicalIndexedSortedMapStorageCallsiteAdapter,PhysicalIndexedSortedMapStorageCounterAdapter,PhysicalIndexedSortedMapStorageSanitizationAdapter,PhysicalIndexedSortedMapStorageSanitizationAdapter,PhysicalIndexedSortedMapStorageTraceAdapter
public interface IndexedStorageWriter<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>> extends NodeOps<PK,D>, IndexedOps<PK,D>
Methods for writing to storage systems that provide secondary indexing.
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceIndexedStorageWriter.IndexedStorageWriterNode<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>>static interfaceIndexedStorageWriter.PhysicalIndexedStorageWriterNode<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 Modifier and Type Field Description static StringOP_deleteByIndexstatic StringOP_deleteMultiUniquestatic StringOP_deleteUnique -
Method Summary
Modifier and Type Method Description <IK extends io.datarouter.model.key.primary.PrimaryKey<IK>, IE extends io.datarouter.model.index.IndexEntry<IK, IE, PK, D>, IF extends io.datarouter.model.serialize.fielder.DatabeanFielder<IK, IE>>
voiddeleteByIndex(Collection<IK> keys, Config config, IndexEntryFieldInfo<IK,IE,IF> indexEntryFieldInfo)default <IK extends io.datarouter.model.key.primary.PrimaryKey<IK>, IE extends io.datarouter.model.index.IndexEntry<IK, IE, PK, D>, IF extends io.datarouter.model.serialize.fielder.DatabeanFielder<IK, IE>>
voiddeleteByIndex(Collection<IK> keys, IndexEntryFieldInfo<IK,IE,IF> indexEntryFieldInfo)default voiddeleteMultiUnique(Collection<? extends io.datarouter.model.key.unique.UniqueKey<PK>> uniqueKeys)voiddeleteMultiUnique(Collection<? extends io.datarouter.model.key.unique.UniqueKey<PK>> uniqueKeys, Config config)default voiddeleteUnique(io.datarouter.model.key.unique.UniqueKey<PK> uniqueKey)voiddeleteUnique(io.datarouter.model.key.unique.UniqueKey<PK> uniqueKey, Config config)Methods inherited from interface io.datarouter.storage.node.op.IndexedOps
getManagedNodes, registerManaged
-
Field Details
-
OP_deleteUnique
- See Also:
- Constant Field Values
-
OP_deleteMultiUnique
- See Also:
- Constant Field Values
-
OP_deleteByIndex
- See Also:
- Constant Field Values
-
-
Method Details
-
deleteUnique
-
deleteUnique
-
deleteMultiUnique
void deleteMultiUnique(Collection<? extends io.datarouter.model.key.unique.UniqueKey<PK>> uniqueKeys, Config config) -
deleteMultiUnique
default void deleteMultiUnique(Collection<? extends io.datarouter.model.key.unique.UniqueKey<PK>> uniqueKeys) -
deleteByIndex
<IK extends io.datarouter.model.key.primary.PrimaryKey<IK>, IE extends io.datarouter.model.index.IndexEntry<IK, IE, PK, D>, IF extends io.datarouter.model.serialize.fielder.DatabeanFielder<IK, IE>> void deleteByIndex(Collection<IK> keys, Config config, IndexEntryFieldInfo<IK,IE,IF> indexEntryFieldInfo) -
deleteByIndex
default <IK extends io.datarouter.model.key.primary.PrimaryKey<IK>, IE extends io.datarouter.model.index.IndexEntry<IK, IE, PK, D>, IF extends io.datarouter.model.serialize.fielder.DatabeanFielder<IK, IE>> void deleteByIndex(Collection<IK> keys, IndexEntryFieldInfo<IK,IE,IF> indexEntryFieldInfo)
-