Class DatastoreV3Impl
java.lang.Object
com.google.appengine.api.datastore.dev.DatastoreV3Impl
- All Implemented Interfaces:
DatastoreV3
An implementation
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddActions(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddRequest req) com.google.apphosting.datastore.DatastoreV3Pb.AllocateIdsResponseallocateIds(com.google.apphosting.datastore.DatastoreV3Pb.AllocateIdsRequest req) com.google.apphosting.datastore.DatastoreV3Pb.TransactionbeginTransaction(com.google.apphosting.datastore.DatastoreV3Pb.BeginTransactionRequest req) com.google.apphosting.datastore.DatastoreV3Pb.CommitResponsecommit(com.google.apphosting.datastore.DatastoreV3Pb.Transaction req) longcreateIndex(com.google.storage.onestore.v3.OnestoreEntity.CompositeIndex req) com.google.apphosting.datastore.DatastoreV3Pb.DeleteResponsedelete(com.google.apphosting.datastore.DatastoreV3Pb.DeleteRequest req) voiddeleteCursor(com.google.apphosting.datastore.DatastoreV3Pb.Cursor req) voiddeleteIndex(com.google.storage.onestore.v3.OnestoreEntity.CompositeIndex req) com.google.apphosting.datastore.DatastoreV3Pb.GetResponseget(com.google.apphosting.datastore.DatastoreV3Pb.GetRequest req) com.google.apphosting.datastore.DatastoreV3Pb.CompositeIndicesgetIndices(String appId) com.google.apphosting.datastore.DatastoreV3Pb.QueryResultnext(com.google.apphosting.datastore.DatastoreV3Pb.NextRequest req) com.google.apphosting.datastore.DatastoreV3Pb.PutResponseput(com.google.apphosting.datastore.DatastoreV3Pb.PutRequest req) voidrollback(com.google.apphosting.datastore.DatastoreV3Pb.Transaction req) com.google.apphosting.datastore.DatastoreV3Pb.QueryResultrunQuery(com.google.apphosting.datastore.DatastoreV3Pb.Query req) voidupdateIndex(com.google.storage.onestore.v3.OnestoreEntity.CompositeIndex req)
-
Constructor Details
-
DatastoreV3Impl
-
-
Method Details
-
addActions
public void addActions(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddRequest req) - Specified by:
addActionsin interfaceDatastoreV3
-
allocateIds
public com.google.apphosting.datastore.DatastoreV3Pb.AllocateIdsResponse allocateIds(com.google.apphosting.datastore.DatastoreV3Pb.AllocateIdsRequest req) - Specified by:
allocateIdsin interfaceDatastoreV3
-
beginTransaction
public com.google.apphosting.datastore.DatastoreV3Pb.Transaction beginTransaction(com.google.apphosting.datastore.DatastoreV3Pb.BeginTransactionRequest req) - Specified by:
beginTransactionin interfaceDatastoreV3
-
commit
public com.google.apphosting.datastore.DatastoreV3Pb.CommitResponse commit(com.google.apphosting.datastore.DatastoreV3Pb.Transaction req) - Specified by:
commitin interfaceDatastoreV3
-
createIndex
public long createIndex(com.google.storage.onestore.v3.OnestoreEntity.CompositeIndex req) - Specified by:
createIndexin interfaceDatastoreV3
-
delete
public com.google.apphosting.datastore.DatastoreV3Pb.DeleteResponse delete(com.google.apphosting.datastore.DatastoreV3Pb.DeleteRequest req) - Specified by:
deletein interfaceDatastoreV3
-
deleteCursor
public void deleteCursor(com.google.apphosting.datastore.DatastoreV3Pb.Cursor req) - Specified by:
deleteCursorin interfaceDatastoreV3
-
deleteIndex
public void deleteIndex(com.google.storage.onestore.v3.OnestoreEntity.CompositeIndex req) - Specified by:
deleteIndexin interfaceDatastoreV3
-
get
public com.google.apphosting.datastore.DatastoreV3Pb.GetResponse get(com.google.apphosting.datastore.DatastoreV3Pb.GetRequest req) - Specified by:
getin interfaceDatastoreV3
-
getIndices
- Specified by:
getIndicesin interfaceDatastoreV3
-
next
public com.google.apphosting.datastore.DatastoreV3Pb.QueryResult next(com.google.apphosting.datastore.DatastoreV3Pb.NextRequest req) - Specified by:
nextin interfaceDatastoreV3
-
put
public com.google.apphosting.datastore.DatastoreV3Pb.PutResponse put(com.google.apphosting.datastore.DatastoreV3Pb.PutRequest req) - Specified by:
putin interfaceDatastoreV3
-
rollback
public void rollback(com.google.apphosting.datastore.DatastoreV3Pb.Transaction req) - Specified by:
rollbackin interfaceDatastoreV3
-
runQuery
public com.google.apphosting.datastore.DatastoreV3Pb.QueryResult runQuery(com.google.apphosting.datastore.DatastoreV3Pb.Query req) - Specified by:
runQueryin interfaceDatastoreV3
-
updateIndex
public void updateIndex(com.google.storage.onestore.v3.OnestoreEntity.CompositeIndex req) - Specified by:
updateIndexin interfaceDatastoreV3
-