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 implementationDatastoreV3
which wraps aLocalDatastoreService
.LocalDatastoreService
should but cannot implementDatastoreV3
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 Constructor and Description DatastoreV3Impl(LocalDatastoreService delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods 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)
-
-
-
Constructor Detail
-
DatastoreV3Impl
public DatastoreV3Impl(LocalDatastoreService delegate)
-
-
Method Detail
-
addActions
public void addActions(TaskQueueBulkAddRequest req)
- Specified by:
addActions
in interfaceDatastoreV3
-
allocateIds
public AllocateIdsResponse allocateIds(AllocateIdsRequest req)
- Specified by:
allocateIds
in interfaceDatastoreV3
-
beginTransaction
public Transaction beginTransaction(BeginTransactionRequest req)
- Specified by:
beginTransaction
in interfaceDatastoreV3
-
commit
public CommitResponse commit(Transaction req)
- Specified by:
commit
in interfaceDatastoreV3
-
createIndex
public long createIndex(CompositeIndex req)
- Specified by:
createIndex
in interfaceDatastoreV3
-
delete
public DeleteResponse delete(DeleteRequest req)
- Specified by:
delete
in interfaceDatastoreV3
-
deleteCursor
public void deleteCursor(Cursor req)
- Specified by:
deleteCursor
in interfaceDatastoreV3
-
deleteIndex
public void deleteIndex(CompositeIndex req)
- Specified by:
deleteIndex
in interfaceDatastoreV3
-
get
public GetResponse get(GetRequest req)
- Specified by:
get
in interfaceDatastoreV3
-
getIndices
public CompositeIndices getIndices(java.lang.String appId)
- Specified by:
getIndices
in interfaceDatastoreV3
-
next
public QueryResult next(NextRequest req)
- Specified by:
next
in interfaceDatastoreV3
-
put
public PutResponse put(PutRequest req)
- Specified by:
put
in interfaceDatastoreV3
-
rollback
public void rollback(Transaction req)
- Specified by:
rollback
in interfaceDatastoreV3
-
runQuery
public QueryResult runQuery(Query req)
- Specified by:
runQuery
in interfaceDatastoreV3
-
updateIndex
public void updateIndex(CompositeIndex req)
- Specified by:
updateIndex
in interfaceDatastoreV3
-
-