Interface MapStorageReader<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>>
- All Superinterfaces:
NodeOps<PK,D>
- All Known Subinterfaces:
IndexedMapStorage<PK,D>,IndexedMapStorage.IndexedMapStorageNode<PK,D,F>,IndexedMapStorage.PhysicalIndexedMapStorageNode<PK,D,F>,IndexedMapStorageReader<PK,D>,IndexedMapStorageReader.IndexedMapStorageReaderNode<PK,D,F>,IndexedMapStorageReader.PhysicalIndexedMapStorageReaderNode<PK,D,F>,IndexedSortedMapStorage<PK,D>,IndexedSortedMapStorage.IndexedSortedMapStorageNode<PK,D,F>,IndexedSortedMapStorage.PhysicalIndexedSortedMapStorageNode<PK,D,F>,IndexedSortedMapStorageReader<PK,D>,IndexedSortedMapStorageReader.IndexedSortedMapStorageReaderNode<PK,D,F>,IndexedSortedMapStorageReader.PhysicalIndexedSortedMapStorageReaderNode<PK,D,F>,IndexingMapStorageMixin<PK,D,F,N>,MapStorage<PK,D>,MapStorage.MapStorageNode<PK,D,F>,MapStorage.PhysicalMapStorageNode<PK,D,F>,MapStorageCounterAdapterMixin<PK,D,F,N>,MapStorageReader.MapStorageReaderNode<PK,D,F>,MapStorageReader.PhysicalMapStorageReaderNode<PK,D,F>,MapStorageReaderCallsiteAdapterMixin<PK,D,F,N>,MapStorageReaderCounterAdapterMixin<PK,D,F,N>,MapStorageReaderSanitizationAdapterMixin<PK,D,F,N>,MapStorageReaderTraceAdapterMixin<PK,D,F,N>,MapStorageSanitizationAdapterMixin<PK,D,F,N>,MapStorageTraceAdapterMixin<PK,D,F,N>,PhysicalMapStorageAvailabilityAdapterMixin<PK,D,F,N>,PhysicalSubEntitySortedMapStorageNode<EK,PK,D,F>,SortedMapStorage<PK,D>,SortedMapStorage.PhysicalSortedMapStorageNode<PK,D,F>,SortedMapStorage.SortedMapStorageNode<PK,D,F>,SortedMapStorageReader<PK,D>,SortedMapStorageReader.PhysicalSortedMapStorageReaderNode<PK,D,F>,SortedMapStorageReader.SortedMapStorageReaderNode<PK,D,F>,SubEntitySortedMapStorageNode<EK,PK,D,F>,SubEntitySortedMapStorageReaderNode<EK,PK,D,F>,TallyStorage<PK,D>,TallyStorage.PhysicalTallyStorageNode<PK,D,F>,TallyStorage.TallyStorageNode<PK,D,F>,TallyStorageReader<PK,D>,TallyStorageReader.PhysicalTallyStorageReaderNode<PK,D,F>,TallyStorageReader.TallyStorageReaderNode<PK,D,F>,TallyStorageWriter.PhysicalTallyStorageWriterNode<PK,D,F>
- All Known Implementing Classes:
IndexedSortedMapStorageCallsiteAdapter,IndexedSortedMapStorageCounterAdapter,IndexingMapStorageNode,IndexingSortedMapStorageNode,MapStorageCallsiteAdapter,MapStorageCounterAdapter,NoOpGroupQueueNode,NoOpNode,NoOpQueueNode,PhysicalIndexedSortedMapStorageAvailabilityAdapterFactory.PhysicalIndexedSortedMapStorageAvailabilityAdapter,PhysicalIndexedSortedMapStorageCallsiteAdapter,PhysicalIndexedSortedMapStorageCounterAdapter,PhysicalIndexedSortedMapStorageSanitizationAdapter,PhysicalIndexedSortedMapStorageSanitizationAdapter,PhysicalIndexedSortedMapStorageTraceAdapter,PhysicalMapStorageAvailabilityAdapterFactory.PhysicalMapStorageAvailabilityAdapter,PhysicalMapStorageCallsiteAdapter,PhysicalMapStorageCounterAdapter,PhysicalMapStorageReaderCallsiteAdapter,PhysicalMapStorageReaderCounterAdapter,PhysicalMapStorageReaderSanitizationAdapter,PhysicalMapStorageReaderTraceAdapter,PhysicalMapStorageSanitizationAdapter,PhysicalMapStorageTraceAdapter,PhysicalSortedMapStorageAvailabilityAdapterFactory.PhysicalSortedMapStorageAvailabilityAdapter,PhysicalSortedMapStorageCallsiteAdapter,PhysicalSortedMapStorageCounterAdapter,PhysicalSortedMapStorageSanitizationAdapter,PhysicalSortedMapStorageTraceAdapter,PhysicalSubEntitySortedMapStorageAvailabilityAdapterFactory.PhysicalSubEntitySortedMapStorageAvailabilityAdapter,PhysicalSubEntitySortedMapStorageCallsiteAdapter,PhysicalSubEntitySortedMapStorageCounterAdapter,PhysicalSubEntitySortedMapStorageSanitizationAdapter,PhysicalSubEntitySortedMapStorageTraceAdapter,PhysicalTallyStorageCounterAdapter,PhysicalTallyStorageSanitizationAdapter,PhysicalTallyStorageTraceAdapter,SortedMapStorageCallsiteAdapter,SortedMapStorageCounterAdapter,TallyStorageSanitizationAdapter,TallyStorageWriterCounterAdapter,TallyStorageWriterTraceAdapter
public interface MapStorageReader<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>> extends NodeOps<PK,D>
Methods for reading from simple key/value storage systems, supporting similar methods to a HashMap.
There are many possible implementations such as a HashMap, a Guava cache, Ehcache, Memcached, JDBC, Hibernate, HBase,
DynamoDB, S3, Google Cloud Storage, etc.
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceMapStorageReader.MapStorageReaderNode<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 interfaceMapStorageReader.PhysicalMapStorageReaderNode<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_existsstatic StringOP_getstatic StringOP_getKeysstatic StringOP_getMulti -
Method Summary
Modifier and Type Method Description default booleanexists(PK key)booleanexists(PK key, Config config)default Optional<D>find(PK key)default Optional<D>find(PK key, Config config)default Dget(PK key)Dget(PK key, Config config)default List<PK>getKeys(Collection<PK> keys)List<PK>getKeys(Collection<PK> keys, Config config)default List<D>getMulti(Collection<PK> keys)List<D>getMulti(Collection<PK> keys, Config config)default io.datarouter.scanner.Scanner<D>scanMulti(Collection<PK> keys)default io.datarouter.scanner.Scanner<D>scanMulti(Collection<PK> keys, Config config)default io.datarouter.scanner.Scanner<PK>scanMultiKeys(Collection<PK> keys)default io.datarouter.scanner.Scanner<PK>scanMultiKeys(Collection<PK> keys, Config config)
-
Field Details
-
OP_exists
- See Also:
- Constant Field Values
-
OP_get
- See Also:
- Constant Field Values
-
OP_getMulti
- See Also:
- Constant Field Values
-
OP_getKeys
- See Also:
- Constant Field Values
-
-
Method Details