## Uses of Interface
com.holonplatform.datastore.jdbc.composer.SQLExecutionContext

- Packages that use SQLExecutionContext
  Package | Description
  --- | ---
  com.holonplatform.datastore.jdbc.composer |
  com.holonplatform.datastore.jdbc.composer.internal |

- - ### Uses of SQLExecutionContext in com.holonplatform.datastore.jdbc.composer

    Methods in com.holonplatform.datastore.jdbc.composer that return SQLExecutionContext
    Modifier and Type | Method and Description
    --- | ---
    `static SQLExecutionContext` | SQLExecutionContext.`create(SQLContext context)` Create a new `SQLExecutionContext` using given `SQLContext`.
    `static SQLExecutionContext` | SQLExecutionContext.`create(SQLContext context, Connection connection)` Create a new `SQLExecutionContext` using given `SQLContext` and providing th current `Connection`.

    Methods in com.holonplatform.datastore.jdbc.composer with parameters of type SQLExecutionContext
    Modifier and Type | Method and Description
    --- | ---
    `R` | SQLResultConverter.`convert(SQLExecutionContext context, SQLResult result)` Convert a `SQLResult` into expected result type.
    `<T> T` | SQLValueDeserializer.`deserialize(SQLExecutionContext context, com.holonplatform.core.TypedExpression<T> expression, Object value)` Deserialize the `value` associated to given `expression`, to obtain a value type which matches the expression type.
    `default <T> T` | SQLResult.`getValue(SQLExecutionContext context, int index)` Get the result value at given `index` using current `SQLValueDeserializer` to obtain the value in the expected type.
    `default <T> T` | SQLResult.`getValue(SQLExecutionContext context, String name)` Get the result value with given `name` using current `SQLValueDeserializer` to obtain the value in the expected type.
    `default <T> T` | SQLResult.`getValue(SQLExecutionContext context, com.holonplatform.core.TypedExpression<T> expression, int index)` Get the result value at given `index`, using given `expression` to provide the expected value type and any other value deserialization strategy element, such as a converter, which can be used by current `SQLValueDeserializer`.
    `default <T> T` | SQLResult.`getValue(SQLExecutionContext context, com.holonplatform.core.TypedExpression<T> expression, String name)` Get the result value with given `name`, using given `expression` to provide the expected value type and any other value deserialization strategy element, such as a converter, which can be used by current `SQLValueDeserializer`.
    `Object` | SQLValueDeserializer.ValueProcessor.`processValue(SQLExecutionContext context, com.holonplatform.core.TypedExpression<?> expression, Object value)` Process a value to be deserialized.

    Method parameters in com.holonplatform.datastore.jdbc.composer with type arguments of type SQLExecutionContext
    Modifier and Type | Method and Description
    --- | ---
    `static <R> SQLResultConverter<R>` | SQLResultConverter.`create(Class<? extends R> conversionType, BiFunction<SQLExecutionContext,SQLResult,R> conversionFunction)` Create a new `SQLResultConverter` for given `conversionType`, using provided `BiFunction` as result conversion strategy.

  - ### Uses of SQLExecutionContext in com.holonplatform.datastore.jdbc.composer.internal

    Classes in com.holonplatform.datastore.jdbc.composer.internal that implement SQLExecutionContext
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultSQLExecutionContext` Default `SQLExecutionContext`.

    Methods in com.holonplatform.datastore.jdbc.composer.internal with parameters of type SQLExecutionContext
    Modifier and Type | Method and Description
    --- | ---
    `R` | CallbackSQLResultConverter.`convert(SQLExecutionContext context, SQLResult result)`
    `<T> T` | DefaultSQLValueDeserializer.`deserialize(SQLExecutionContext context, com.holonplatform.core.TypedExpression<T> expression, Object valueToDeserialize)`

    Constructor parameters in com.holonplatform.datastore.jdbc.composer.internal with type arguments of type SQLExecutionContext
    Constructor and Description
    `CallbackSQLResultConverter(Class<? extends R> conversionType, BiFunction<SQLExecutionContext,SQLResult,R> conversionFunction)` Constructor.

Copyright © 2019 The Holon Platform. All rights reserved.