Package org.hibernate.sql.exec.spi
Interface JdbcSelectExecutor
-
- All Known Implementing Classes:
JdbcSelectExecutorStandardImpl
@Incubating public interface JdbcSelectExecutor
An executor for JdbcSelect operations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
JdbcSelectExecutor.StatementCreator
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default <T,R>
TexecuteQuery(JdbcOperationQuerySelect jdbcSelect, JdbcParameterBindings jdbcParameterBindings, ExecutionContext executionContext, RowTransformer<R> rowTransformer, Class<R> domainResultType, int resultCountEstimate, JdbcSelectExecutor.StatementCreator statementCreator, ResultsConsumer<T,R> resultsConsumer)
default <T,R>
TexecuteQuery(JdbcOperationQuerySelect jdbcSelect, JdbcParameterBindings jdbcParameterBindings, ExecutionContext executionContext, RowTransformer<R> rowTransformer, Class<R> domainResultType, int resultCountEstimate, ResultsConsumer<T,R> resultsConsumer)
default <T,R>
TexecuteQuery(JdbcOperationQuerySelect jdbcSelect, JdbcParameterBindings jdbcParameterBindings, ExecutionContext executionContext, RowTransformer<R> rowTransformer, Class<R> domainResultType, Function<String,PreparedStatement> statementCreator, ResultsConsumer<T,R> resultsConsumer)
Deprecated, for removal: This API element is subject to removal in a future version.<T,R>
TexecuteQuery(JdbcOperationQuerySelect jdbcSelect, JdbcParameterBindings jdbcParameterBindings, ExecutionContext executionContext, RowTransformer<R> rowTransformer, Class<R> domainResultType, JdbcSelectExecutor.StatementCreator statementCreator, ResultsConsumer<T,R> resultsConsumer)
default <R> List<R>
list(JdbcOperationQuerySelect jdbcSelect, JdbcParameterBindings jdbcParameterBindings, ExecutionContext executionContext, RowTransformer<R> rowTransformer, Class<R> requestedJavaType, ListResultsConsumer.UniqueSemantic uniqueSemantic)
default <R> List<R>
list(JdbcOperationQuerySelect jdbcSelect, JdbcParameterBindings jdbcParameterBindings, ExecutionContext executionContext, RowTransformer<R> rowTransformer, Class<R> requestedJavaType, ListResultsConsumer.UniqueSemantic uniqueSemantic, int resultCountEstimate)
default <R> List<R>
list(JdbcOperationQuerySelect jdbcSelect, JdbcParameterBindings jdbcParameterBindings, ExecutionContext executionContext, RowTransformer<R> rowTransformer, ListResultsConsumer.UniqueSemantic uniqueSemantic)
default <R> ScrollableResultsImplementor<R>
scroll(JdbcOperationQuerySelect jdbcSelect, ScrollMode scrollMode, JdbcParameterBindings jdbcParameterBindings, ExecutionContext executionContext, RowTransformer<R> rowTransformer)
default <R> ScrollableResultsImplementor<R>
scroll(JdbcOperationQuerySelect jdbcSelect, ScrollMode scrollMode, JdbcParameterBindings jdbcParameterBindings, ExecutionContext executionContext, RowTransformer<R> rowTransformer, int resultCountEstimate)
-
-
-
Method Detail
-
executeQuery
@Deprecated(forRemoval=true, since="6.6") default <T,R> T executeQuery(JdbcOperationQuerySelect jdbcSelect, JdbcParameterBindings jdbcParameterBindings, ExecutionContext executionContext, RowTransformer<R> rowTransformer, Class<R> domainResultType, Function<String,PreparedStatement> statementCreator, ResultsConsumer<T,R> resultsConsumer)
Deprecated, for removal: This API element is subject to removal in a future version.- Since:
- 6.4
-
executeQuery
<T,R> T executeQuery(JdbcOperationQuerySelect jdbcSelect, JdbcParameterBindings jdbcParameterBindings, ExecutionContext executionContext, RowTransformer<R> rowTransformer, Class<R> domainResultType, JdbcSelectExecutor.StatementCreator statementCreator, ResultsConsumer<T,R> resultsConsumer)
- Since:
- 6.6
-
executeQuery
default <T,R> T executeQuery(JdbcOperationQuerySelect jdbcSelect, JdbcParameterBindings jdbcParameterBindings, ExecutionContext executionContext, RowTransformer<R> rowTransformer, Class<R> domainResultType, int resultCountEstimate, ResultsConsumer<T,R> resultsConsumer)
- Since:
- 6.6
-
executeQuery
default <T,R> T executeQuery(JdbcOperationQuerySelect jdbcSelect, JdbcParameterBindings jdbcParameterBindings, ExecutionContext executionContext, RowTransformer<R> rowTransformer, Class<R> domainResultType, int resultCountEstimate, JdbcSelectExecutor.StatementCreator statementCreator, ResultsConsumer<T,R> resultsConsumer)
- Since:
- 6.6
-
list
default <R> List<R> list(JdbcOperationQuerySelect jdbcSelect, JdbcParameterBindings jdbcParameterBindings, ExecutionContext executionContext, RowTransformer<R> rowTransformer, ListResultsConsumer.UniqueSemantic uniqueSemantic)
-
list
default <R> List<R> list(JdbcOperationQuerySelect jdbcSelect, JdbcParameterBindings jdbcParameterBindings, ExecutionContext executionContext, RowTransformer<R> rowTransformer, Class<R> requestedJavaType, ListResultsConsumer.UniqueSemantic uniqueSemantic)
-
list
default <R> List<R> list(JdbcOperationQuerySelect jdbcSelect, JdbcParameterBindings jdbcParameterBindings, ExecutionContext executionContext, RowTransformer<R> rowTransformer, Class<R> requestedJavaType, ListResultsConsumer.UniqueSemantic uniqueSemantic, int resultCountEstimate)
- Since:
- 6.6
-
scroll
default <R> ScrollableResultsImplementor<R> scroll(JdbcOperationQuerySelect jdbcSelect, ScrollMode scrollMode, JdbcParameterBindings jdbcParameterBindings, ExecutionContext executionContext, RowTransformer<R> rowTransformer)
-
scroll
default <R> ScrollableResultsImplementor<R> scroll(JdbcOperationQuerySelect jdbcSelect, ScrollMode scrollMode, JdbcParameterBindings jdbcParameterBindings, ExecutionContext executionContext, RowTransformer<R> rowTransformer, int resultCountEstimate)
- Since:
- 6.6
-
-