Uses of Class
org.apache.juneau.beanquery.sql.SqlBeanQueryContext.Builder
Packages that use SqlBeanQueryContext.Builder
-
Uses of SqlBeanQueryContext.Builder in org.apache.juneau.beanquery.sql
Methods in org.apache.juneau.beanquery.sql that return SqlBeanQueryContext.BuilderModifier and TypeMethodDescriptionMaps a declared column to a different raw SQL column name (otherwise the column name is used).SqlBeanQueryContext.Builder.connectionReleaser(Consumer<Connection> value) Sets how a session gives back a connection it got from the supplier.SqlBeanQueryContext.Builder.connectionSupplier(Supplier<Connection> value) Sets where sessions get a connection when none is passed toSqlBeanQuerySession.Builder.connection(Connection).SqlBeanQueryContext.copy()static <T> SqlBeanQueryContext.Builder<T>Returns a new builder.SqlBeanQueryContext.Builder.dataSource(DataSource value) Shorthand forconnectionSupplier(ds::getConnection), with aSQLExceptionwrapped as aBeanQueryExecutionException.SqlBeanQueryContext.Builder.dialect(SqlDialect value) Sets the SQL dialect.SqlBeanQueryContext.Builder.fetchSize(int value) Sets the JDBC fetch size for every statement.SqlBeanQueryContext.Builder.guard(SqlFragment value) Sets a server-only SQL predicate AND-ed into every statement.SqlBeanQueryContext.Builder.queryTimeout(Duration value) Sets the JDBC query timeout for every statement, rounded up to whole seconds.SqlBeanQueryContext.Builder.rowMapper(SqlRowMapper<T> value) Sets the table (or view) to query.