public class DynamoDBSingleRowStore extends AbstractDynamoDBStore
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
log |
client, forceConsistentRead, manager, storeName, tableName| Constructor and Description |
|---|
DynamoDBSingleRowStore(DynamoDBStoreManager manager,
java.lang.String prefix,
java.lang.String storeName) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<MutateWorker> |
createMutationWorkers(java.util.Map<com.thinkaurelius.titan.diskstorage.StaticBuffer,com.thinkaurelius.titan.diskstorage.keycolumnvalue.KCVMutation> mutationMap,
DynamoDBStoreTransaction txh)
Creates workers whose job it is to commit the actual mutations in the given mutation map.
|
static CreateTableRequest |
createTableRequest(java.lang.String tableName,
long rcu,
long wcu) |
boolean |
equals(java.lang.Object obj) |
com.thinkaurelius.titan.diskstorage.keycolumnvalue.KeyIterator |
getKeys(com.thinkaurelius.titan.diskstorage.keycolumnvalue.KeyRangeQuery query,
com.thinkaurelius.titan.diskstorage.keycolumnvalue.StoreTransaction txh) |
com.thinkaurelius.titan.diskstorage.keycolumnvalue.KeyIterator |
getKeys(com.thinkaurelius.titan.diskstorage.keycolumnvalue.SliceQuery query,
com.thinkaurelius.titan.diskstorage.keycolumnvalue.StoreTransaction txh) |
java.lang.String |
getName() |
com.thinkaurelius.titan.diskstorage.EntryList |
getSlice(com.thinkaurelius.titan.diskstorage.keycolumnvalue.KeySliceQuery query,
com.thinkaurelius.titan.diskstorage.keycolumnvalue.StoreTransaction txh) |
java.util.Map<com.thinkaurelius.titan.diskstorage.StaticBuffer,com.thinkaurelius.titan.diskstorage.EntryList> |
getSlice(java.util.List<com.thinkaurelius.titan.diskstorage.StaticBuffer> keys,
com.thinkaurelius.titan.diskstorage.keycolumnvalue.SliceQuery query,
com.thinkaurelius.titan.diskstorage.keycolumnvalue.StoreTransaction txh) |
CreateTableRequest |
getTableSchema()
Creates the schemata for the DynamoDB table or tables each store requires.
|
int |
hashCode() |
void |
mutate(com.thinkaurelius.titan.diskstorage.StaticBuffer hashKey,
java.util.List<com.thinkaurelius.titan.diskstorage.Entry> additions,
java.util.List<com.thinkaurelius.titan.diskstorage.StaticBuffer> deletions,
com.thinkaurelius.titan.diskstorage.keycolumnvalue.StoreTransaction txh) |
java.lang.String |
toString() |
acquireLock, close, deleteStore, encodeForLog, encodeForLog, encodeForLog, encodeKeyForLog, encodeKeyForLog, ensureStore, getTableNamepublic DynamoDBSingleRowStore(DynamoDBStoreManager manager, java.lang.String prefix, java.lang.String storeName)
public CreateTableRequest getTableSchema()
AbstractDynamoDBStoregetTableSchema in class AbstractDynamoDBStorepublic static final CreateTableRequest createTableRequest(java.lang.String tableName, long rcu, long wcu)
public com.thinkaurelius.titan.diskstorage.keycolumnvalue.KeyIterator getKeys(com.thinkaurelius.titan.diskstorage.keycolumnvalue.KeyRangeQuery query,
com.thinkaurelius.titan.diskstorage.keycolumnvalue.StoreTransaction txh)
throws com.thinkaurelius.titan.diskstorage.BackendException
com.thinkaurelius.titan.diskstorage.BackendExceptionpublic com.thinkaurelius.titan.diskstorage.keycolumnvalue.KeyIterator getKeys(com.thinkaurelius.titan.diskstorage.keycolumnvalue.SliceQuery query,
com.thinkaurelius.titan.diskstorage.keycolumnvalue.StoreTransaction txh)
throws com.thinkaurelius.titan.diskstorage.BackendException
com.thinkaurelius.titan.diskstorage.BackendExceptionpublic java.lang.String getName()
public com.thinkaurelius.titan.diskstorage.EntryList getSlice(com.thinkaurelius.titan.diskstorage.keycolumnvalue.KeySliceQuery query,
com.thinkaurelius.titan.diskstorage.keycolumnvalue.StoreTransaction txh)
throws com.thinkaurelius.titan.diskstorage.BackendException
com.thinkaurelius.titan.diskstorage.BackendExceptionpublic java.util.Map<com.thinkaurelius.titan.diskstorage.StaticBuffer,com.thinkaurelius.titan.diskstorage.EntryList> getSlice(java.util.List<com.thinkaurelius.titan.diskstorage.StaticBuffer> keys,
com.thinkaurelius.titan.diskstorage.keycolumnvalue.SliceQuery query,
com.thinkaurelius.titan.diskstorage.keycolumnvalue.StoreTransaction txh)
throws com.thinkaurelius.titan.diskstorage.BackendException
com.thinkaurelius.titan.diskstorage.BackendExceptionpublic void mutate(com.thinkaurelius.titan.diskstorage.StaticBuffer hashKey,
java.util.List<com.thinkaurelius.titan.diskstorage.Entry> additions,
java.util.List<com.thinkaurelius.titan.diskstorage.StaticBuffer> deletions,
com.thinkaurelius.titan.diskstorage.keycolumnvalue.StoreTransaction txh)
throws com.thinkaurelius.titan.diskstorage.BackendException
com.thinkaurelius.titan.diskstorage.BackendExceptionpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.util.Collection<MutateWorker> createMutationWorkers(java.util.Map<com.thinkaurelius.titan.diskstorage.StaticBuffer,com.thinkaurelius.titan.diskstorage.keycolumnvalue.KCVMutation> mutationMap, DynamoDBStoreTransaction txh)
AwsStore