Interface IndexedStorageOpencensusAdapterMixin<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 io.datarouter.storage.node.op.raw.IndexedStorage.IndexedStorageNode<PK,​D,​F>>

All Superinterfaces:
io.datarouter.storage.node.op.IndexedOps<PK,​D>, io.datarouter.storage.node.op.raw.IndexedStorage<PK,​D>, io.datarouter.storage.node.op.raw.read.IndexedStorageReader<PK,​D>, io.datarouter.storage.node.op.raw.write.IndexedStorageWriter<PK,​D>, io.datarouter.storage.node.op.NodeOps<PK,​D>, OpencensusAdapter
All Known Implementing Classes:
IndexedSortedMapStorageOpencensusAdapter, PhysicalIndexedSortedMapStorageOpencensusAdapter

public interface IndexedStorageOpencensusAdapterMixin<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 io.datarouter.storage.node.op.raw.IndexedStorage.IndexedStorageNode<PK,​D,​F>>
extends io.datarouter.storage.node.op.raw.IndexedStorage<PK,​D>, OpencensusAdapter
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.datarouter.storage.node.op.raw.IndexedStorage

    io.datarouter.storage.node.op.raw.IndexedStorage.IndexedStorageNode<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>>, io.datarouter.storage.node.op.raw.IndexedStorage.PhysicalIndexedStorageNode<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>>

    Nested classes/interfaces inherited from interface io.datarouter.storage.node.op.raw.read.IndexedStorageReader

    io.datarouter.storage.node.op.raw.read.IndexedStorageReader.IndexedStorageReaderNode<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>>, io.datarouter.storage.node.op.raw.read.IndexedStorageReader.PhysicalIndexedStorageReaderNode<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>>

    Nested classes/interfaces inherited from interface io.datarouter.storage.node.op.raw.write.IndexedStorageWriter

    io.datarouter.storage.node.op.raw.write.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>>, io.datarouter.storage.node.op.raw.write.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 inherited from interface io.datarouter.storage.node.op.raw.read.IndexedStorageReader

    OP_getByIndex, OP_getByIndexRange, OP_getFromIndex, OP_getIndexKeyRange, OP_getIndexRange, OP_lookupMultiUnique, OP_lookupUnique, OP_scanByIndex, OP_scanIndex, OP_scanIndexKeys

    Fields inherited from interface io.datarouter.storage.node.op.raw.write.IndexedStorageWriter

    OP_deleteByIndex, OP_deleteMultiUnique, OP_deleteUnique
  • Method Summary

    Modifier and Type Method Description
    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, io.datarouter.storage.config.Config config, io.datarouter.storage.serialize.fieldcache.IndexEntryFieldInfo<IK,​IE,​IF> indexEntryFieldInfo)  
    default void deleteMultiUnique​(java.util.Collection<? extends io.datarouter.model.key.unique.UniqueKey<PK>> uniqueKeys, io.datarouter.storage.config.Config config)  
    default void deleteUnique​(io.datarouter.model.key.unique.UniqueKey<PK> uniqueKey, io.datarouter.storage.config.Config config)  
    N getBackingNode()  
    default java.util.List<io.datarouter.storage.node.type.index.ManagedNode<PK,​D,​?,​?,​?>> getManagedNodes()  
    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>>
    java.util.List<D>
    getMultiByIndex​(java.util.Collection<IK> keys, io.datarouter.storage.config.Config config, io.datarouter.storage.serialize.fieldcache.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>>
    java.util.List<IE>
    getMultiFromIndex​(java.util.Collection<IK> keys, io.datarouter.storage.config.Config config, io.datarouter.storage.serialize.fieldcache.IndexEntryFieldInfo<IK,​IE,​IF> indexEntryFieldInfo)  
    default java.util.List<D> lookupMultiUnique​(java.util.Collection<? extends io.datarouter.model.key.unique.UniqueKey<PK>> uniqueKeys, io.datarouter.storage.config.Config config)  
    default D lookupUnique​(io.datarouter.model.key.unique.UniqueKey<PK> uniqueKey, io.datarouter.storage.config.Config config)  
    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 io.datarouter.storage.node.type.index.ManagedNode<PK,​ D,​ IK,​ IE,​ IF>>
    MN
    registerManaged​(MN managedNode)  
    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​(io.datarouter.storage.serialize.fieldcache.IndexEntryFieldInfo<IK,​IE,​IF> indexEntryFieldInfo, java.util.Collection<io.datarouter.util.tuple.Range<IK>> ranges, io.datarouter.storage.config.Config config)  
    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​(io.datarouter.storage.serialize.fieldcache.IndexEntryFieldInfo<IK,​IE,​IF> indexEntryFieldInfo, java.util.Collection<io.datarouter.util.tuple.Range<IK>> ranges, io.datarouter.storage.config.Config config)  
    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​(io.datarouter.storage.serialize.fieldcache.IndexEntryFieldInfo<IK,​IE,​IF> indexEntryFieldInfo, java.util.Collection<io.datarouter.util.tuple.Range<IK>> ranges, io.datarouter.storage.config.Config config)  

    Methods inherited from interface io.datarouter.storage.node.op.raw.read.IndexedStorageReader

    getMultiByIndex, getMultiFromIndex, lookupMultiUnique, lookupUnique, scanRangesByIndex, scanRangesIndex, scanRangesIndexKeys

    Methods inherited from interface io.datarouter.storage.node.op.raw.write.IndexedStorageWriter

    deleteByIndex, deleteMultiUnique, deleteUnique

    Methods inherited from interface io.datarouter.opencensus.adapter.OpencensusAdapter

    startSpan
  • Method Details

    • getBackingNode

      N getBackingNode()
    • deleteUnique

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

      default void deleteMultiUnique​(java.util.Collection<? extends io.datarouter.model.key.unique.UniqueKey<PK>> uniqueKeys, io.datarouter.storage.config.Config config)
      Specified by:
      deleteMultiUnique in interface io.datarouter.storage.node.op.raw.write.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​(java.util.Collection<IK> keys, io.datarouter.storage.config.Config config, io.datarouter.storage.serialize.fieldcache.IndexEntryFieldInfo<IK,​IE,​IF> indexEntryFieldInfo)
      Specified by:
      deleteByIndex in interface io.datarouter.storage.node.op.raw.write.IndexedStorageWriter<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,​D extends io.datarouter.model.databean.Databean<PK,​D>>
    • lookupUnique

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

      default java.util.List<D> lookupMultiUnique​(java.util.Collection<? extends io.datarouter.model.key.unique.UniqueKey<PK>> uniqueKeys, io.datarouter.storage.config.Config config)
      Specified by:
      lookupMultiUnique in interface io.datarouter.storage.node.op.raw.read.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>> java.util.List<IE> getMultiFromIndex​(java.util.Collection<IK> keys, io.datarouter.storage.config.Config config, io.datarouter.storage.serialize.fieldcache.IndexEntryFieldInfo<IK,​IE,​IF> indexEntryFieldInfo)
      Specified by:
      getMultiFromIndex in interface io.datarouter.storage.node.op.raw.read.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>> java.util.List<D> getMultiByIndex​(java.util.Collection<IK> keys, io.datarouter.storage.config.Config config, io.datarouter.storage.serialize.fieldcache.IndexEntryFieldInfo<IK,​IE,​IF> indexEntryFieldInfo)
      Specified by:
      getMultiByIndex in interface io.datarouter.storage.node.op.raw.read.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​(io.datarouter.storage.serialize.fieldcache.IndexEntryFieldInfo<IK,​IE,​IF> indexEntryFieldInfo, java.util.Collection<io.datarouter.util.tuple.Range<IK>> ranges, io.datarouter.storage.config.Config config)
      Specified by:
      scanRangesIndex in interface io.datarouter.storage.node.op.raw.read.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​(io.datarouter.storage.serialize.fieldcache.IndexEntryFieldInfo<IK,​IE,​IF> indexEntryFieldInfo, java.util.Collection<io.datarouter.util.tuple.Range<IK>> ranges, io.datarouter.storage.config.Config config)
      Specified by:
      scanRangesByIndex in interface io.datarouter.storage.node.op.raw.read.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​(io.datarouter.storage.serialize.fieldcache.IndexEntryFieldInfo<IK,​IE,​IF> indexEntryFieldInfo, java.util.Collection<io.datarouter.util.tuple.Range<IK>> ranges, io.datarouter.storage.config.Config config)
      Specified by:
      scanRangesIndexKeys in interface io.datarouter.storage.node.op.raw.read.IndexedStorageReader<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 io.datarouter.storage.node.type.index.ManagedNode<PK,​ D,​ IK,​ IE,​ IF>> MN registerManaged​(MN managedNode)
      Specified by:
      registerManaged in interface io.datarouter.storage.node.op.IndexedOps<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,​D extends io.datarouter.model.databean.Databean<PK,​D>>
    • getManagedNodes

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