public interface StoreFeatures
| Modifier and Type | Method and Description |
|---|---|
Configuration |
getKeyConsistentTxConfig()
Get a transaction configuration that enforces key consistency.
|
Configuration |
getLocalKeyConsistentTxConfig()
Get a transaction configuration that enforces local key consistency.
|
boolean |
hasBatchMutation()
Whether this storage backend supports batch mutations via
KeyColumnValueStoreManager.mutateMany(java.util.Map, StoreTransaction). |
boolean |
hasLocalKeyPartition() |
boolean |
hasLocking()
|
boolean |
hasMultiQuery()
Whether this storage backend supports query operations on multiple keys
via
KeyColumnValueStore.getSlice(java.util.List, SliceQuery, StoreTransaction) |
boolean |
hasOrderedScan()
Whether this storage backend supports global key scans via
KeyColumnValueStore.getKeys(KeyRangeQuery, StoreTransaction). |
boolean |
hasScan()
|
boolean |
hasTimestamps()
Returns true if column-value entries in this storage backend are annotated with a timestamp,
else false.
|
boolean |
hasTTL()
Returns true if this storage backend support time-to-live (TTL) settings for column-value entries.
|
boolean |
hasTxIsolation()
Whether this storage backend's transactions support isolation.
|
boolean |
hasUnorderedScan()
Whether this storage backend supports global key scans via
KeyColumnValueStore.getKeys(SliceQuery, StoreTransaction). |
boolean |
hasVisibility()
Returns true if this storage backend supports entry-level visibility by attaching a visibility or authentication
token to each column-value entry in the data store and limited retrievals to "visible" entries.
|
boolean |
isDistributed()
Whether this storage backend writes and reads data from more than one
machine.
|
boolean |
isKeyConsistent()
Whether this storage backend provides strong consistency within each
key/row.
|
boolean |
isKeyOrdered()
Whether this storage backend preserves key locality.
|
boolean hasScan()
boolean hasUnorderedScan()
KeyColumnValueStore.getKeys(SliceQuery, StoreTransaction).boolean hasOrderedScan()
KeyColumnValueStore.getKeys(KeyRangeQuery, StoreTransaction).boolean hasMultiQuery()
KeyColumnValueStore.getSlice(java.util.List, SliceQuery, StoreTransaction)boolean hasLocking()
boolean hasBatchMutation()
KeyColumnValueStoreManager.mutateMany(java.util.Map, StoreTransaction).boolean isKeyOrdered()
boolean isDistributed()
boolean hasTxIsolation()
boolean hasLocalKeyPartition()
boolean isKeyConsistent()
boolean hasTimestamps()
boolean hasTTL()
Entry, the entry will
disappear from the storage backend after the given amount of time.boolean hasVisibility()
Configuration getKeyConsistentTxConfig()
isKeyConsistent() is
false.Configuration getLocalKeyConsistentTxConfig()
isKeyConsistent() is false.
Backends which don't support the notion of "local" strong consistency may
return the same configuration returned by
#getKeyConsistencyTxConfig().Copyright © 2012–2014. All rights reserved.