Interface IndexedStorageTraceAdapterMixin<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>,​N extends IndexedStorage.IndexedStorageNode<PK,​D,​F>>

All Superinterfaces:
IndexedOps<PK,​D>, IndexedStorage<PK,​D>, IndexedStorageReader<PK,​D>, IndexedStorageWriter<PK,​D>, NodeOps<PK,​D>, TraceAdapter<PK,​D,​F,​N>
All Known Implementing Classes:
PhysicalIndexedSortedMapStorageTraceAdapter

public interface IndexedStorageTraceAdapterMixin<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>,​N extends IndexedStorage.IndexedStorageNode<PK,​D,​F>>
extends IndexedStorage<PK,​D>, TraceAdapter<PK,​D,​F,​N>
  • Method Details

    • lookupUnique

      default D lookupUnique​(io.datarouter.model.key.unique.UniqueKey<PK> uniqueKey, Config config)
      Specified by:
      lookupUnique in interface IndexedStorageReader<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,​D extends io.datarouter.model.databean.Databean<PK,​D>>
    • lookupMultiUnique

      default List<D> lookupMultiUnique​(Collection<? extends io.datarouter.model.key.unique.UniqueKey<PK>> uniqueKeys, Config config)
      Specified by:
      lookupMultiUnique in interface IndexedStorageReader<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,​D extends io.datarouter.model.databean.Databean<PK,​D>>
    • getMultiFromIndex

      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>> List<IE> getMultiFromIndex​(Collection<IK> keys, Config config, IndexEntryFieldInfo<IK,​IE,​IF> indexEntryFieldInfo)
      Specified by:
      getMultiFromIndex in interface IndexedStorageReader<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,​D extends io.datarouter.model.databean.Databean<PK,​D>>
    • getMultiByIndex

      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>> List<D> getMultiByIndex​(Collection<IK> keys, Config config, IndexEntryFieldInfo<IK,​IE,​IF> indexEntryFieldInfo)
      Specified by:
      getMultiByIndex in interface IndexedStorageReader<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,​D extends io.datarouter.model.databean.Databean<PK,​D>>
    • scanRangesIndex

      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>> io.datarouter.scanner.Scanner<IE> scanRangesIndex​(IndexEntryFieldInfo<IK,​IE,​IF> indexEntryFieldInfo, Collection<io.datarouter.util.tuple.Range<IK>> ranges, Config config)
      Specified by:
      scanRangesIndex in interface IndexedStorageReader<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,​D extends io.datarouter.model.databean.Databean<PK,​D>>
    • scanRangesByIndex

      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>> io.datarouter.scanner.Scanner<D> scanRangesByIndex​(IndexEntryFieldInfo<IK,​IE,​IF> indexEntryFieldInfo, Collection<io.datarouter.util.tuple.Range<IK>> ranges, Config config)
      Specified by:
      scanRangesByIndex in interface IndexedStorageReader<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,​D extends io.datarouter.model.databean.Databean<PK,​D>>
    • scanRangesIndexKeys

      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>> io.datarouter.scanner.Scanner<IK> scanRangesIndexKeys​(IndexEntryFieldInfo<IK,​IE,​IF> indexEntryFieldInfo, Collection<io.datarouter.util.tuple.Range<IK>> ranges, Config config)
      Specified by:
      scanRangesIndexKeys in interface IndexedStorageReader<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,​D extends io.datarouter.model.databean.Databean<PK,​D>>
    • deleteUnique

      default void deleteUnique​(io.datarouter.model.key.unique.UniqueKey<PK> uniqueKey, Config config)
      Specified by:
      deleteUnique in interface IndexedStorageWriter<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,​D extends io.datarouter.model.databean.Databean<PK,​D>>
    • deleteMultiUnique

      default void deleteMultiUnique​(Collection<? extends io.datarouter.model.key.unique.UniqueKey<PK>> uniqueKeys, Config config)
      Specified by:
      deleteMultiUnique in interface IndexedStorageWriter<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,​D extends io.datarouter.model.databean.Databean<PK,​D>>
    • 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, Config config, IndexEntryFieldInfo<IK,​IE,​IF> indexEntryFieldInfo)
      Specified by:
      deleteByIndex in interface IndexedStorageWriter<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,​D extends io.datarouter.model.databean.Databean<PK,​D>>
    • registerManaged

      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>,​ MN extends ManagedNode<PK,​ D,​ IK,​ IE,​ IF>> MN registerManaged​(MN managedNode)
      Specified by:
      registerManaged in interface IndexedOps<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,​D extends io.datarouter.model.databean.Databean<PK,​D>>
    • getManagedNodes

      default List<ManagedNode<PK,​D,​?,​?,​?>> getManagedNodes()
      Specified by:
      getManagedNodes in interface IndexedOps<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,​D extends io.datarouter.model.databean.Databean<PK,​D>>