public class AstyanaxKeyColumnValueStore extends Object implements KeyColumnValueStore
NO_ADDITIONS, NO_DELETIONS| Modifier and Type | Method and Description |
|---|---|
void |
acquireLock(StaticBuffer key,
StaticBuffer column,
StaticBuffer expectedValue,
StoreTransaction txh) |
void |
close() |
KeyIterator |
getKeys(KeyRangeQuery query,
StoreTransaction txh) |
KeyIterator |
getKeys(SliceQuery sliceQuery,
StoreTransaction txh) |
String |
getName() |
Map<StaticBuffer,EntryList> |
getNamesSlice(List<StaticBuffer> keys,
SliceQuery query,
StoreTransaction txh) |
Map<StaticBuffer,EntryList> |
getNamesSlice(StaticBuffer key,
SliceQuery query,
StoreTransaction txh) |
EntryList |
getSlice(KeySliceQuery query,
StoreTransaction txh) |
Map<StaticBuffer,EntryList> |
getSlice(List<StaticBuffer> keys,
SliceQuery query,
StoreTransaction txh) |
void |
mutate(StaticBuffer key,
List<Entry> additions,
List<StaticBuffer> deletions,
StoreTransaction txh) |
void |
mutateMany(Map<StaticBuffer,KCVMutation> mutations,
StoreTransaction txh) |
public void close()
throws BackendException
close in interface KeyColumnValueStoreBackendExceptionpublic EntryList getSlice(KeySliceQuery query, StoreTransaction txh) throws BackendException
getSlice in interface KeyColumnValueStoreBackendExceptionpublic Map<StaticBuffer,EntryList> getSlice(List<StaticBuffer> keys, SliceQuery query, StoreTransaction txh) throws BackendException
getSlice in interface KeyColumnValueStoreBackendExceptionpublic Map<StaticBuffer,EntryList> getNamesSlice(StaticBuffer key, SliceQuery query, StoreTransaction txh) throws BackendException
BackendExceptionpublic Map<StaticBuffer,EntryList> getNamesSlice(List<StaticBuffer> keys, SliceQuery query, StoreTransaction txh) throws BackendException
BackendExceptionpublic void mutate(StaticBuffer key, List<Entry> additions, List<StaticBuffer> deletions, StoreTransaction txh) throws BackendException
mutate in interface KeyColumnValueStoreBackendExceptionpublic void mutateMany(Map<StaticBuffer,KCVMutation> mutations, StoreTransaction txh) throws BackendException
BackendExceptionpublic void acquireLock(StaticBuffer key, StaticBuffer column, StaticBuffer expectedValue, StoreTransaction txh) throws BackendException
acquireLock in interface KeyColumnValueStoreBackendExceptionpublic KeyIterator getKeys(@Nullable SliceQuery sliceQuery, StoreTransaction txh) throws BackendException
getKeys in interface KeyColumnValueStoreBackendExceptionpublic KeyIterator getKeys(KeyRangeQuery query, StoreTransaction txh) throws BackendException
getKeys in interface KeyColumnValueStoreBackendExceptionpublic String getName()
getName in interface KeyColumnValueStoreCopyright © 2012–2016. All rights reserved.