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> 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>
- All Known Implementing Classes:
DatabeanToBlobNode,IndexedSortedMapStorageCallsiteAdapter,IndexedSortedMapStorageCounterAdapter,MapStorageCallsiteAdapter,MapStorageCounterAdapter,NoOpGroupQueueNode,NoOpNode,NoOpQueueNode,PhysicalIndexedSortedMapStorageAvailabilityAdapterFactory.PhysicalIndexedSortedMapStorageAvailabilityAdapter,PhysicalIndexedSortedMapStorageCallsiteAdapter,PhysicalIndexedSortedMapStorageCounterAdapter,PhysicalIndexedSortedMapStorageSanitizationAdapter,PhysicalIndexedSortedMapStorageTraceAdapter,PhysicalMapStorageAvailabilityAdapterFactory.PhysicalMapStorageAvailabilityAdapter,PhysicalMapStorageCallsiteAdapter,PhysicalMapStorageCounterAdapter,PhysicalMapStorageReaderCallsiteAdapter,PhysicalMapStorageReaderCounterAdapter,PhysicalMapStorageReaderSanitizationAdapter,PhysicalMapStorageReaderTraceAdapter,PhysicalMapStorageSanitizationAdapter,PhysicalMapStorageTraceAdapter,PhysicalSortedMapStorageAvailabilityAdapterFactory.PhysicalSortedMapStorageAvailabilityAdapter,PhysicalSortedMapStorageCallsiteAdapter,PhysicalSortedMapStorageCounterAdapter,PhysicalSortedMapStorageSanitizationAdapter,PhysicalSortedMapStorageTraceAdapter,PhysicalSubEntitySortedMapStorageCallsiteAdapter,PhysicalSubEntitySortedMapStorageCounterAdapter,PhysicalSubEntitySortedMapStorageTraceAdapter,SortedMapStorageCallsiteAdapter,SortedMapStorageCounterAdapter
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 ClassesModifier and TypeInterfaceDescriptionstatic 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 -
Method Summary
Modifier and TypeMethodDescriptiondefault booleanbooleandefault DgetKeys(Collection<PK> keys) getKeys(Collection<PK> keys, Config config) getMulti(Collection<PK> keys) 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:
-
OP_get
- See Also:
-
OP_getMulti
- See Also:
-
OP_getKeys
- See Also:
-
-
Method Details
-
exists
-
exists
-
getKeys
-
getKeys
-
scanMultiKeys
-
scanMultiKeys
-
get
-
get
-
getMulti
-
getMulti
-
scanMulti
-
scanMulti
-
find
-
find
-