com.google.appengine.api.datastore.dev
Class DatastoreV3Impl
- java.lang.Object
-
- com.google.appengine.api.datastore.dev.DatastoreV3Impl
-
- All Implemented Interfaces:
- DatastoreV3
public class DatastoreV3Impl extends java.lang.Object implements DatastoreV3
An implementationDatastoreV3which wraps aLocalDatastoreService.LocalDatastoreServiceshould but cannot implementDatastoreV3directly 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 Constructor and Description DatastoreV3Impl(LocalDatastoreService delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidaddActions(TaskQueueBulkAddRequest req)AllocateIdsResponseallocateIds(AllocateIdsRequest req)TransactionbeginTransaction(BeginTransactionRequest req)CommitResponsecommit(Transaction req)longcreateIndex(CompositeIndex req)DeleteResponsedelete(DeleteRequest req)voiddeleteCursor(Cursor req)voiddeleteIndex(CompositeIndex req)GetResponseget(GetRequest req)CompositeIndicesgetIndices(java.lang.String appId)QueryResultnext(NextRequest req)PutResponseput(PutRequest req)voidrollback(Transaction req)QueryResultrunQuery(Query req)voidupdateIndex(CompositeIndex req)
-
-
-
Constructor Detail
-
DatastoreV3Impl
public DatastoreV3Impl(LocalDatastoreService delegate)
-
-
Method Detail
-
addActions
public void addActions(TaskQueueBulkAddRequest req)
- Specified by:
addActionsin interfaceDatastoreV3
-
allocateIds
public AllocateIdsResponse allocateIds(AllocateIdsRequest req)
- Specified by:
allocateIdsin interfaceDatastoreV3
-
beginTransaction
public Transaction beginTransaction(BeginTransactionRequest req)
- Specified by:
beginTransactionin interfaceDatastoreV3
-
commit
public CommitResponse commit(Transaction req)
- Specified by:
commitin interfaceDatastoreV3
-
createIndex
public long createIndex(CompositeIndex req)
- Specified by:
createIndexin interfaceDatastoreV3
-
delete
public DeleteResponse delete(DeleteRequest req)
- Specified by:
deletein interfaceDatastoreV3
-
deleteCursor
public void deleteCursor(Cursor req)
- Specified by:
deleteCursorin interfaceDatastoreV3
-
deleteIndex
public void deleteIndex(CompositeIndex req)
- Specified by:
deleteIndexin interfaceDatastoreV3
-
get
public GetResponse get(GetRequest req)
- Specified by:
getin interfaceDatastoreV3
-
getIndices
public CompositeIndices getIndices(java.lang.String appId)
- Specified by:
getIndicesin interfaceDatastoreV3
-
next
public QueryResult next(NextRequest req)
- Specified by:
nextin interfaceDatastoreV3
-
put
public PutResponse put(PutRequest req)
- Specified by:
putin interfaceDatastoreV3
-
rollback
public void rollback(Transaction req)
- Specified by:
rollbackin interfaceDatastoreV3
-
runQuery
public QueryResult runQuery(Query req)
- Specified by:
runQueryin interfaceDatastoreV3
-
updateIndex
public void updateIndex(CompositeIndex req)
- Specified by:
updateIndexin interfaceDatastoreV3
-
-