public class DatastoreV3Impl extends java.lang.Object implements DatastoreV3
DatastoreV3
which wraps a LocalDatastoreService
.
LocalDatastoreService
should but cannot implement DatastoreV3
directly because
the ApiProxy uses method-named based reflection to call stubs. It doesn't properly check
the method signature so the single-parameter version may be called by ApiProxy instead of
the expected two parameter version.Constructor and Description |
---|
DatastoreV3Impl(LocalDatastoreService delegate) |
Modifier and Type | Method and Description |
---|---|
void |
addActions(TaskQueueBulkAddRequest req) |
AllocateIdsResponse |
allocateIds(AllocateIdsRequest req) |
Transaction |
beginTransaction(BeginTransactionRequest req) |
CommitResponse |
commit(Transaction req) |
long |
createIndex(CompositeIndex req) |
DeleteResponse |
delete(DeleteRequest req) |
void |
deleteCursor(Cursor req) |
void |
deleteIndex(CompositeIndex req) |
GetResponse |
get(GetRequest req) |
CompositeIndices |
getIndices(java.lang.String appId) |
QueryResult |
next(NextRequest req) |
PutResponse |
put(PutRequest req) |
void |
rollback(Transaction req) |
QueryResult |
runQuery(Query req) |
void |
updateIndex(CompositeIndex req) |
public DatastoreV3Impl(LocalDatastoreService delegate)
public void addActions(TaskQueueBulkAddRequest req)
addActions
in interface DatastoreV3
public AllocateIdsResponse allocateIds(AllocateIdsRequest req)
allocateIds
in interface DatastoreV3
public Transaction beginTransaction(BeginTransactionRequest req)
beginTransaction
in interface DatastoreV3
public CommitResponse commit(Transaction req)
commit
in interface DatastoreV3
public long createIndex(CompositeIndex req)
createIndex
in interface DatastoreV3
public DeleteResponse delete(DeleteRequest req)
delete
in interface DatastoreV3
public void deleteCursor(Cursor req)
deleteCursor
in interface DatastoreV3
public void deleteIndex(CompositeIndex req)
deleteIndex
in interface DatastoreV3
public GetResponse get(GetRequest req)
get
in interface DatastoreV3
public CompositeIndices getIndices(java.lang.String appId)
getIndices
in interface DatastoreV3
public QueryResult next(NextRequest req)
next
in interface DatastoreV3
public PutResponse put(PutRequest req)
put
in interface DatastoreV3
public void rollback(Transaction req)
rollback
in interface DatastoreV3
public QueryResult runQuery(Query req)
runQuery
in interface DatastoreV3
public void updateIndex(CompositeIndex req)
updateIndex
in interface DatastoreV3