Class DatastoreV3Impl

  • java.lang.Object
  • All Implemented Interfaces:

    public class DatastoreV3Impl
    extends java.lang.Object
    implements 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.
    • Method Detail

      • addActions

        public void addActions(TaskQueueBulkAddRequest req)
        Specified by:
        addActions in interface DatastoreV3
      • allocateIds

        public AllocateIdsResponse allocateIds(AllocateIdsRequest req)
        Specified by:
        allocateIds in interface DatastoreV3
      • beginTransaction

        public Transaction beginTransaction(BeginTransactionRequest req)
        Specified by:
        beginTransaction in interface DatastoreV3
      • commit

        public CommitResponse commit(Transaction req)
        Specified by:
        commit in interface DatastoreV3
      • createIndex

        public long createIndex(CompositeIndex req)
        Specified by:
        createIndex in interface DatastoreV3
      • delete

        public DeleteResponse delete(DeleteRequest req)
        Specified by:
        delete in interface DatastoreV3
      • deleteIndex

        public void deleteIndex(CompositeIndex req)
        Specified by:
        deleteIndex in interface DatastoreV3
      • get

        public GetResponse get(GetRequest req)
        Specified by:
        get in interface DatastoreV3
      • getIndices

        public CompositeIndices getIndices(java.lang.String appId)
        Specified by:
        getIndices in interface