public class StandardStoreFeatures extends Object implements StoreFeatures
StandardStoreFeatures.Builder-customizable implementation of StoreFeatures.| Modifier and Type | Class and Description |
|---|---|
static class |
StandardStoreFeatures.Builder
The only way to instantiate
StandardStoreFeatures. |
| 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.
|
public boolean hasScan()
StoreFeatureshasScan in interface StoreFeaturespublic boolean hasUnorderedScan()
StoreFeaturesKeyColumnValueStore.getKeys(SliceQuery, StoreTransaction).hasUnorderedScan in interface StoreFeaturespublic boolean hasOrderedScan()
StoreFeaturesKeyColumnValueStore.getKeys(KeyRangeQuery, StoreTransaction).hasOrderedScan in interface StoreFeaturespublic boolean hasMultiQuery()
StoreFeaturesKeyColumnValueStore.getSlice(java.util.List, SliceQuery, StoreTransaction)hasMultiQuery in interface StoreFeaturespublic boolean hasLocking()
StoreFeaturesKeyColumnValueStore.acquireLock(com.thinkaurelius.titan.diskstorage.StaticBuffer, com.thinkaurelius.titan.diskstorage.StaticBuffer, com.thinkaurelius.titan.diskstorage.StaticBuffer, StoreTransaction)hasLocking in interface StoreFeaturespublic boolean hasBatchMutation()
StoreFeaturesKeyColumnValueStoreManager.mutateMany(java.util.Map, StoreTransaction).hasBatchMutation in interface StoreFeaturespublic boolean isKeyOrdered()
StoreFeaturesisKeyOrdered in interface StoreFeaturespublic boolean isDistributed()
StoreFeaturesisDistributed in interface StoreFeaturespublic boolean hasTxIsolation()
StoreFeatureshasTxIsolation in interface StoreFeaturespublic boolean isKeyConsistent()
StoreFeaturesisKeyConsistent in interface StoreFeaturespublic boolean hasTimestamps()
StoreFeatureshasTimestamps in interface StoreFeaturespublic boolean hasTTL()
StoreFeaturesEntry, the entry will
disappear from the storage backend after the given amount of time.hasTTL in interface StoreFeaturespublic boolean hasVisibility()
StoreFeatureshasVisibility in interface StoreFeaturespublic Configuration getKeyConsistentTxConfig()
StoreFeaturesStoreFeatures.isKeyConsistent() is
false.getKeyConsistentTxConfig in interface StoreFeaturespublic Configuration getLocalKeyConsistentTxConfig()
StoreFeaturesStoreFeatures.isKeyConsistent() is false.
Backends which don't support the notion of "local" strong consistency may
return the same configuration returned by
#getKeyConsistencyTxConfig().getLocalKeyConsistentTxConfig in interface StoreFeaturespublic boolean hasLocalKeyPartition()
hasLocalKeyPartition in interface StoreFeaturesCopyright © 2012–2014. All rights reserved.