- All Superinterfaces:
MapStorage<PK,D>, MapStorageReader<PK,D>, MapStorageWriter<PK,D>, NodeOps<PK,D>, StorageWriter<PK,D>
- All Known Implementing Classes:
IndexingMapStorageNode, IndexingSortedMapStorageNode
public interface IndexingMapStorageMixin<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 MapStorage.MapStorageNode<PK,D,F>>
extends MapStorage<PK,D>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.datarouter.storage.node.op.raw.MapStorage
MapStorage.MapStorageNode<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>>, MapStorage.PhysicalMapStorageNode<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.StorageWriter
StorageWriter.StorageWriterNode<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>>
-
-
Method Summary
| Modifier and Type |
Method |
Description |
default void |
delete(PK key,
Config config) |
|
default void |
deleteAll(Config config) |
|
default void |
deleteDatabean(D databean) |
|
default void |
deleteDatabean(D databean,
Config config) |
|
default void |
deleteMulti(Collection<PK> keys,
Config config) |
|
default void |
deleteMultiDatabeans(Collection<D> databeans) |
|
default void |
deleteMultiDatabeans(Collection<D> databeans,
Config config) |
|
default boolean |
exists(PK key,
Config config) |
|
default D |
get(PK key,
Config config) |
|
N |
getBackingNode() |
|
List<IndexListener<PK,D>> |
getIndexNodes() |
|
default List<PK> |
getKeys(Collection<PK> keys,
Config config) |
|
default List<D> |
getMulti(Collection<PK> keys,
Config config) |
|
default void |
put(D databean,
Config config) |
|
default void |
putMulti(Collection<D> databeans,
Config config) |
|
-
Method Details
-
-
-
default void delete(
PK key,
Config config)
- Specified by:
delete in interface MapStorageWriter<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>>
-
default void deleteDatabean(
D databean)
-
default void deleteDatabean(
D databean,
Config config)
-
default void deleteAll(
Config config)
- Specified by:
deleteAll in interface MapStorageWriter<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>>
-
-
default void deleteMultiDatabeans(
Collection<D> databeans)
-
-
default void put(
D databean,
Config config)
- Specified by:
put in interface StorageWriter<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>>
-
- Specified by:
putMulti in interface StorageWriter<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>>
-
default boolean exists(
PK key,
Config config)
- Specified by:
exists in interface MapStorageReader<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>>
-
- Specified by:
get in interface MapStorageReader<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>>
-
- Specified by:
getMulti in interface MapStorageReader<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>>
-
- Specified by:
getKeys in interface MapStorageReader<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>>