## Uses of Interface
com.holonplatform.core.datastore.DataTarget

- Packages that use DataTarget
  Package | Description
  --- | ---
  com.holonplatform.core.datastore |
  com.holonplatform.core.datastore.relational |
  com.holonplatform.core.query |

- - ### Uses of DataTarget in com.holonplatform.core.datastore

    Classes in com.holonplatform.core.datastore with type parameters of type DataTarget
    Modifier and Type | Interface and Description
    --- | ---
    `static interface` | `DataTarget.DataTargetResolver<T extends DataTarget>` Convenience interface to create an `ExpressionResolver` to resolve a custom `DataTarget` class into a standard `DataTarget`.

    Methods in com.holonplatform.core.datastore with type parameters of type DataTarget
    Modifier and Type | Method and Description
    --- | ---
    `static <T extends DataTarget> ExpressionResolver<T,DataTarget>` | DataTarget.DataTargetResolver.`create(Class<? extends T> type, Expression.ExpressionResolverFunction<T,DataTarget> function)` Create an `ExpressionResolver` to resolve a custom `DataTarget` class into a standard `DataTarget` using the given resolver function.

    Methods in com.holonplatform.core.datastore that return DataTarget
    Modifier and Type | Method and Description
    --- | ---
    `static DataTarget<String>` | DataTarget.`named(String name)` Build a `String` type data target using root path `name`.
    `static <T> DataTarget<T>` | DataTarget.`of(String name, Class<T> type)` Build a typed data target using root path `name`.

    Methods in com.holonplatform.core.datastore that return types with arguments of type DataTarget
    Modifier and Type | Method and Description
    --- | ---
    `static <T extends DataTarget> ExpressionResolver<T,DataTarget>` | DataTarget.DataTargetResolver.`create(Class<? extends T> type, Expression.ExpressionResolverFunction<T,DataTarget> function)` Create an `ExpressionResolver` to resolve a custom `DataTarget` class into a standard `DataTarget` using the given resolver function.
    `default Class<? extends DataTarget>` | DataTarget.DataTargetResolver.`getResolvedType()`

    Methods in com.holonplatform.core.datastore with parameters of type DataTarget
    Modifier and Type | Method and Description
    --- | ---
    `BulkDelete` | Datastore.`bulkDelete(DataTarget<?> target, Datastore.WriteOption... options)` Create a `BulkDelete` clause for bulk DELETE operations.
    `BulkInsert` | Datastore.`bulkInsert(DataTarget<?> target, PropertySet<?> propertySet, Datastore.WriteOption... options)` Create a `BulkInsert` clause for bulk INSERT operations.
    `BulkUpdate` | Datastore.`bulkUpdate(DataTarget<?> target, Datastore.WriteOption... options)` Create a `BulkUpdate` clause for bulk UPDATE operations.
    `Datastore.OperationResult` | Datastore.`delete(DataTarget<?> target, PropertyBox propertyBox, Datastore.WriteOption... options)` Remove a persistent element from datastore, using given `target` to denote persistent entity to delete and given `PropertyBox` to provide key property values
    `Datastore.OperationResult` | Datastore.`insert(DataTarget<?> target, PropertyBox propertyBox, Datastore.WriteOption... options)` Insert a `PropertyBox` using given `target` to denote persistent entity of datastore.
    `PropertyBox` | Datastore.`refresh(DataTarget<?> target, PropertyBox propertyBox)` Refresh a `PropertyBox`, updating all its model properties to current value in datastore and using given `target` to denote persistent entity of datastore
    `Datastore.OperationResult` | Datastore.`save(DataTarget<?> target, PropertyBox propertyBox, Datastore.WriteOption... options)` Save a `PropertyBox` using given `target` to denote persistent entity of datastore: insert data if not exists, update it otherwise.
    `C` | DataTarget.DataTargetSupport.`target(DataTarget<?> target)` Set the data target.
    `Datastore.OperationResult` | Datastore.`update(DataTarget<?> target, PropertyBox propertyBox, Datastore.WriteOption... options)` Update a `PropertyBox` using given `target` to denote persistent entity of datastore.

    Method parameters in com.holonplatform.core.datastore with type arguments of type DataTarget
    Modifier and Type | Method and Description
    --- | ---
    `static <T extends DataTarget> ExpressionResolver<T,DataTarget>` | DataTarget.DataTargetResolver.`create(Class<? extends T> type, Expression.ExpressionResolverFunction<T,DataTarget> function)` Create an `ExpressionResolver` to resolve a custom `DataTarget` class into a standard `DataTarget` using the given resolver function.

  - ### Uses of DataTarget in com.holonplatform.core.datastore.relational

    Subinterfaces of DataTarget in com.holonplatform.core.datastore.relational
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `RelationalTarget<T>` A `DataTarget` which can be use with relational `Datastore`s.

    Methods in com.holonplatform.core.datastore.relational with parameters of type DataTarget
    Modifier and Type | Method and Description
    --- | ---
    `default Join.JoinBuilder<T>` | RelationalTarget.`innerJoin(DataTarget<?> target)` Add a `Join.JoinType.INNER` join clause using given `target`.
    `Join.JoinBuilder<T>` | RelationalTarget.`join(DataTarget<?> target, Join.JoinType type)` Add a join clause using given `target` as join destination.
    `default Join.JoinBuilder<T>` | RelationalTarget.`leftJoin(DataTarget<?> target)` Add a `Join.JoinType.LEFT` join clause using given `target`.
    `static <T> RelationalTarget<T>` | RelationalTarget.`of(DataTarget<T> target)` Create a new `RelationalTarget` using given `target` as root.
    `default Join.JoinBuilder<T>` | RelationalTarget.`rightJoin(DataTarget<?> target)` Add a `Join.JoinType.RIGHT` join clause using given `target`.

  - ### Uses of DataTarget in com.holonplatform.core.query

    Methods in com.holonplatform.core.query that return types with arguments of type DataTarget
    Modifier and Type | Method and Description
    --- | ---
    `Optional<DataTarget<?>>` | QueryConfiguration.`getTarget()` Get the data target.

Copyright © 2017 The Holon Platform. All rights reserved.