Package | Description |
---|---|
com.yahoo.bullet.storage |
Modifier and Type | Class and Description |
---|---|
class |
MemoryStorageManager<V extends Serializable>
A Storage manager that stores everything in-memory and does not support namespaces or partitions.
|
class |
MultiMemoryStorageManager<V extends Serializable>
A storage that stores everything in-memory and supports namespaces and partitions.
|
class |
NullStorageManager<V extends Serializable>
A default implementation that does nothing if you do not want to use a StorageManager.
|
Modifier and Type | Method and Description |
---|---|
static <V extends Serializable,S extends StorageManager> |
Criteria.checkType(StorageManager<V> storage,
Class<S> klazz)
Utility method to help check and cast if a given storage is of the given type.
|
Modifier and Type | Method and Description |
---|---|
static StorageManager |
StorageManager.from(BulletConfig config)
Create a
StorageManager instance using the class specified in the config file. |
Modifier and Type | Method and Description |
---|---|
<V extends Serializable> |
MultiMemoryCountingCriteria.apply(StorageManager<V> storage,
List<String> query) |
<V extends Serializable> |
Criteria.apply(StorageManager<V> storage,
T query)
Applies the criteria to the
StorageManager . |
static <V extends Serializable,S extends StorageManager> |
Criteria.checkType(StorageManager<V> storage,
Class<S> klazz)
Utility method to help check and cast if a given storage is of the given type.
|
<V extends Serializable> |
MultiMemoryCountingCriteria.get(StorageManager<V> storage) |
<V extends Serializable> |
Criteria.get(StorageManager<V> storage)
Retrieves data from the given
StorageManager as a CompletableFuture resolving to a key-value
mapping of the raw data stored in the storage. |
<V extends Serializable> |
MultiMemoryCountingCriteria.retrieve(StorageManager<V> storage) |
<V extends Serializable> |
Criteria.retrieve(StorageManager<V> storage)
Retrieves data from the given
StorageManager as a CompletableFuture resolving to the specific
return type of this Criteria . |
Copyright © 2021. All rights reserved.