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 interface  IndexedStorageWriter.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 interface  IndexedStorageWriter.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 java.lang.String OP_deleteByIndex  
    static java.lang.String OP_deleteMultiUnique  
    static java.lang.String OP_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>>
    void
    deleteByIndex​(java.util.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>>
    void
    deleteByIndex​(java.util.Collection<IK> keys, IndexEntryFieldInfo<IK,​IE,​IF> indexEntryFieldInfo)  
    default void deleteMultiUnique​(java.util.Collection<? extends io.datarouter.model.key.unique.UniqueKey<PK>> uniqueKeys)  
    void deleteMultiUnique​(java.util.Collection<? extends io.datarouter.model.key.unique.UniqueKey<PK>> uniqueKeys, Config config)  
    default void deleteUnique​(io.datarouter.model.key.unique.UniqueKey<PK> uniqueKey)  
    void deleteUnique​(io.datarouter.model.key.unique.UniqueKey<PK> uniqueKey, Config config)  

    Methods inherited from interface io.datarouter.storage.node.op.IndexedOps

    getManagedNodes, registerManaged
  • Field Details

  • Method Details

    • deleteUnique

      void deleteUnique​(io.datarouter.model.key.unique.UniqueKey<PK> uniqueKey, Config config)
    • deleteUnique

      default void deleteUnique​(io.datarouter.model.key.unique.UniqueKey<PK> uniqueKey)
    • deleteMultiUnique

      void deleteMultiUnique​(java.util.Collection<? extends io.datarouter.model.key.unique.UniqueKey<PK>> uniqueKeys, Config config)
    • deleteMultiUnique

      default void deleteMultiUnique​(java.util.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​(java.util.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​(java.util.Collection<IK> keys, IndexEntryFieldInfo<IK,​IE,​IF> indexEntryFieldInfo)