Modifier and Type | Interface and Description |
---|---|
interface |
BaseTransactionConfigurable
An extension to the
BaseTransaction interface that exposes a
configuration object of type BaseTransactionConfig for this particular transaction. |
interface |
LoggableTransaction |
Modifier and Type | Class and Description |
---|---|
class |
BackendTransaction
Bundles all storage/index transactions and provides a proxy for some of their
methods for convenience.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractStoreTransaction
Abstract implementation of
StoreTransaction to be used as the basis for more specific implementations. |
Modifier and Type | Class and Description |
---|---|
class |
IndexTransaction
Wraps the transaction handle of an index and buffers all mutations against an index for efficiency.
|
Modifier and Type | Method and Description |
---|---|
void |
IndexProvider.mutate(Map<String,Map<String,IndexMutation>> mutations,
KeyInformation.IndexRetriever information,
BaseTransaction tx)
Mutates the index (adds and removes fields or entire documents)
|
Stream<String> |
IndexProvider.query(IndexQuery query,
KeyInformation.IndexRetriever information,
BaseTransaction tx)
Executes the given query against the index.
|
Stream<RawQuery.Result<String>> |
IndexProvider.query(RawQuery query,
KeyInformation.IndexRetriever information,
BaseTransaction tx)
Executes the given raw query against the index
|
Long |
IndexProvider.queryCount(IndexQuery query,
KeyInformation.IndexRetriever information,
BaseTransaction tx) |
void |
IndexProvider.register(String store,
String key,
KeyInformation information,
BaseTransaction tx)
This method registers a new key for the specified index store with the given data type.
|
void |
IndexProvider.restore(Map<String,Map<String,List<IndexEntry>>> documents,
KeyInformation.IndexRetriever information,
BaseTransaction tx)
Restores the index to the state of the primary data store as given in the
documents variable. |
Long |
IndexProvider.totals(RawQuery query,
KeyInformation.IndexRetriever information,
BaseTransaction tx)
Executes the given raw query against the index and returns the total hits.
|
Modifier and Type | Interface and Description |
---|---|
interface |
StoreTransaction
A transaction handle uniquely identifies a transaction on the storage backend.
|
Modifier and Type | Class and Description |
---|---|
class |
CacheTransaction |
Modifier and Type | Class and Description |
---|---|
class |
ExpectedValueCheckingTransaction
A
StoreTransaction that supports locking via
LocalLockMediator and writing and reading lock records in a
ExpectedValueCheckingStore . |
Modifier and Type | Class and Description |
---|---|
class |
DefaultTransaction |
Modifier and Type | Method and Description |
---|---|
void |
MetricInstrumentedIndexProvider.mutate(Map<String,Map<String,IndexMutation>> mutations,
KeyInformation.IndexRetriever information,
BaseTransaction tx) |
Stream<String> |
MetricInstrumentedIndexProvider.query(IndexQuery query,
KeyInformation.IndexRetriever information,
BaseTransaction tx) |
Stream<RawQuery.Result<String>> |
MetricInstrumentedIndexProvider.query(RawQuery query,
KeyInformation.IndexRetriever information,
BaseTransaction tx) |
Long |
MetricInstrumentedIndexProvider.queryCount(IndexQuery query,
KeyInformation.IndexRetriever information,
BaseTransaction tx) |
void |
MetricInstrumentedIndexProvider.register(String store,
String key,
KeyInformation information,
BaseTransaction tx) |
void |
MetricInstrumentedIndexProvider.restore(Map<String,Map<String,List<IndexEntry>>> documents,
KeyInformation.IndexRetriever information,
BaseTransaction tx) |
Long |
MetricInstrumentedIndexProvider.totals(RawQuery query,
KeyInformation.IndexRetriever information,
BaseTransaction tx) |
Copyright © 2012–2023. All rights reserved.