com.google.appengine.api.datastore.dev

## Class LocalDatastoreV3Service

- java.lang.Object
- - com.google.appengine.api.datastore.dev.LocalDatastoreService
  - - com.google.appengine.api.datastore.dev.LocalDatastoreV3Service

-     public final class LocalDatastoreV3Service
      extends LocalDatastoreService

  Provides an implementation of `LocalDatastoreService` that is compatible with API Proxy.

  While this method uses a delegation pattern, it must extend `LocalDatastoreService` to maintain backwards compatibility for users who request the Datastore stub from the APIProxy and expect the `LocalDatastoreService` type.

  Many of the public API methods are overridden to provide latency annotations for APIProxy. Other Datastore API methods are overridden for consistency.

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class com.google.appengine.api.datastore.dev.LocalDatastoreService

      `LocalDatastoreService.AutoIdAllocationPolicy`

  - ### Field Summary

    - ### Fields inherited from class com.google.appengine.api.datastore.dev.LocalDatastoreService

      `AUTO_ID_ALLOCATION_POLICY_PROPERTY, BACKING_STORE_PROPERTY, EMULATE_VNEXT_FEATURES, FORCE_IS_HIGH_REP_PROPERTY, HIGH_REP_JOB_POLICY_CLASS_PROPERTY, INDEX_CONFIGURATION_FORMAT_PROPERTY, MAX_EG_PER_TXN, MAX_QUERY_LIFETIME_PROPERTY, MAX_QUERY_RESULTS, MAX_TRANSACTION_LIFETIME_PROPERTY, NO_INDEX_AUTO_GEN_PROP, NO_STORAGE_PROPERTY, PACKAGE, STORE_DELAY_PROPERTY`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `LocalDatastoreV3Service()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | `addActionImpl(TaskQueueAddRequest action)` Calls the add method on the taskqueue service.
    `VoidProto` | `addActions(Status status, TaskQueueBulkAddRequest request)`
    `AllocateIdsResponse` | `allocateIds(Status status, AllocateIdsRequest req)`
    `Transaction` | `beginTransaction(Status status, BeginTransactionRequest req)`
    `CommitResponse` | `commit(Status status, Transaction req)`
    `Integer64Proto` | `createIndex(Status status, CompositeIndex req)`
    `DeleteResponse` | `delete(Status status, DeleteRequest request)`
    `VoidProto` | `deleteCursor(Status status, Cursor request)`
    `VoidProto` | `deleteIndex(Status status, CompositeIndex req)`
    `GetResponse` | `get(Status status, GetRequest request)`
    `CompositeIndices` | `getIndices(Status status, StringProto req)`
    `java.lang.Integer` | `getMaxApiRequestSize()`
    `QueryResult` | `next(Status status, NextRequest request)`
    `PutResponse` | `put(Status status, PutRequest request)`
    `VoidProto` | `rollback(Status status, Transaction req)`
    `QueryResult` | `runQuery(Status status, Query query)`
    `VoidProto` | `updateIndex(Status status, CompositeIndex req)`

    - ### Methods inherited from class com.google.appengine.api.datastore.dev.LocalDatastoreService

      `clearProfiles, clearQueryHistory, deleteImpl, enableScatterProperty, getDefaultDeadline, getMaximumDeadline, getPackage, init, init, putImpl, setBackingStore, setMaxQueryLifetime, setMaxTransactionLifetime, setNoStorage, setStoreDelay, start, stop`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### LocalDatastoreV3Service

          public LocalDatastoreV3Service()

  - ### Method Detail

    - #### addActionImpl

          protected void addActionImpl(TaskQueueAddRequest action)

      Description copied from class: `LocalDatastoreService`
      Calls the add method on the taskqueue service.

      Subclasses should override this to use the appropriate method of calling other services.

      Specified by:
        `addActionImpl` in class `LocalDatastoreService`

    - #### get

          public GetResponse get(Status status,
                                 GetRequest request)

      Overrides:
        `get` in class `LocalDatastoreService`

    - #### put

          public PutResponse put(Status status,
                                 PutRequest request)

      Overrides:
        `put` in class `LocalDatastoreService`

    - #### delete

          public DeleteResponse delete(Status status,
                                       DeleteRequest request)

      Overrides:
        `delete` in class `LocalDatastoreService`

    - #### addActions

          public VoidProto addActions(Status status,
                                      TaskQueueBulkAddRequest request)

      Overrides:
        `addActions` in class `LocalDatastoreService`

    - #### runQuery

          public QueryResult runQuery(Status status,
                                      Query query)

      Overrides:
        `runQuery` in class `LocalDatastoreService`

    - #### next

          public QueryResult next(Status status,
                                  NextRequest request)

      Overrides:
        `next` in class `LocalDatastoreService`

    - #### deleteCursor

          public VoidProto deleteCursor(Status status,
                                        Cursor request)

      Overrides:
        `deleteCursor` in class `LocalDatastoreService`

    - #### beginTransaction

          public Transaction beginTransaction(Status status,
                                              BeginTransactionRequest req)

      Overrides:
        `beginTransaction` in class `LocalDatastoreService`

    - #### commit

          public CommitResponse commit(Status status,
                                       Transaction req)

      Overrides:
        `commit` in class `LocalDatastoreService`

    - #### rollback

          public VoidProto rollback(Status status,
                                    Transaction req)

      Overrides:
        `rollback` in class `LocalDatastoreService`

    - #### createIndex

          public Integer64Proto createIndex(Status status,
                                            CompositeIndex req)

      Overrides:
        `createIndex` in class `LocalDatastoreService`

    - #### updateIndex

          public VoidProto updateIndex(Status status,
                                       CompositeIndex req)

      Overrides:
        `updateIndex` in class `LocalDatastoreService`

    - #### getIndices

          public CompositeIndices getIndices(Status status,
                                             StringProto req)

      Overrides:
        `getIndices` in class `LocalDatastoreService`

    - #### deleteIndex

          public VoidProto deleteIndex(Status status,
                                       CompositeIndex req)

      Overrides:
        `deleteIndex` in class `LocalDatastoreService`

    - #### allocateIds

          public AllocateIdsResponse allocateIds(Status status,
                                                 AllocateIdsRequest req)

      Overrides:
        `allocateIds` in class `LocalDatastoreService`

    - #### getMaxApiRequestSize

          public java.lang.Integer getMaxApiRequestSize()