com.holonplatform.core.datastore

## Interface DatastoreOperations.Builder<D extends DatastoreOperations,B extends DatastoreOperations.Builder<D,B>>

- Type Parameters:
    `D` - DatastoreOperations type
    `B` - Concrete builder type
  All Superinterfaces:
    ExpressionResolver.ExpressionResolverBuilder<B>
  Enclosing interface:
    DatastoreOperations<R,REFRESH,BI extends BulkInsertOperation<R,BI>,BU extends BulkUpdateOperation<R,BU>,BD extends BulkDeleteOperation<R,BD>,Q extends QueryBuilder<Q>>

      public static interface DatastoreOperations.Builder<D extends DatastoreOperations,B extends DatastoreOperations.Builder<D,B>>
      extends ExpressionResolver.ExpressionResolverBuilder<B>

  Base `DatastoreOperations` instance builder.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `D` | `build()` Build the Datastore.
    `B` | `configuration(DatastoreConfigProperties configuration)` Set the datastore configuration property source to use.
    `B` | `dataContextId(String dataContextId)` Set the `data context id` to which the Datastore is bound.
    `B` | `traceEnabled(boolean trace)` Set whether to trace Datastore operations in log.

    - ### Methods inherited from interface com.holonplatform.core.ExpressionResolver.ExpressionResolverBuilder

      `withExpressionResolver`

- - ### Method Detail

    - #### dataContextId

          B dataContextId(String dataContextId)

      Set the `data context id` to which the Datastore is bound.
      Parameters:
        `dataContextId` - The data context id to set
      Returns:
        this

    - #### traceEnabled

          B traceEnabled(boolean trace)

      Set whether to trace Datastore operations in log.
      Parameters:
        `trace` - `true` to enable tracing
      Returns:
        this

    - #### configuration

          B configuration(DatastoreConfigProperties configuration)

      Set the datastore configuration property source to use.
      Parameters:
        `configuration` - Datastore configuration properties (not null)
      Returns:
        this

    - #### build

          D build()

      Build the Datastore.
      Returns:
        Datastore instance

Copyright © 2019 The Holon Platform. All rights reserved.