public class PostgreSQLQueryFactory extends AbstractSQLQueryFactory<PostgreSQLQuery<?>>
configuration, connection| Constructor and Description |
|---|
PostgreSQLQueryFactory(Configuration configuration,
java.util.function.Supplier<java.sql.Connection> connection) |
PostgreSQLQueryFactory(SQLTemplates templates,
java.util.function.Supplier<java.sql.Connection> connection) |
PostgreSQLQueryFactory(java.util.function.Supplier<java.sql.Connection> connection) |
| Modifier and Type | Method and Description |
|---|---|
PostgreSQLQuery<?> |
query() |
PostgreSQLQuery<Tuple> |
select(Expression<?>... exprs)
Create a new SQL query with the given projection
|
<T> PostgreSQLQuery<T> |
select(Expression<T> expr)
Create a new SQL query with the given projection
|
PostgreSQLQuery<Tuple> |
selectDistinct(Expression<?>... exprs)
Create a new SQL query with the given projection
|
<T> PostgreSQLQuery<T> |
selectDistinct(Expression<T> expr)
Create a new SQL query with the given projection
|
<T> PostgreSQLQuery<T> |
selectFrom(RelationalPath<T> expr)
Create a new SQL query with the given projection and source
|
PostgreSQLQuery<java.lang.Integer> |
selectOne()
Create a new SQL query with one as the projection
|
PostgreSQLQuery<java.lang.Integer> |
selectZero()
Create a new SQL query with zero as the projection
|
delete, from, from, from, getConfiguration, getConnection, insert, merge, updatepublic PostgreSQLQueryFactory(Configuration configuration, java.util.function.Supplier<java.sql.Connection> connection)
public PostgreSQLQueryFactory(java.util.function.Supplier<java.sql.Connection> connection)
public PostgreSQLQueryFactory(SQLTemplates templates, java.util.function.Supplier<java.sql.Connection> connection)
public PostgreSQLQuery<?> query()
public <T> PostgreSQLQuery<T> select(Expression<T> expr)
AbstractSQLQueryFactoryselect in class AbstractSQLQueryFactory<PostgreSQLQuery<?>>T - type of the projectionexpr - projectionpublic PostgreSQLQuery<Tuple> select(Expression<?>... exprs)
AbstractSQLQueryFactoryselect in class AbstractSQLQueryFactory<PostgreSQLQuery<?>>exprs - projectionpublic <T> PostgreSQLQuery<T> selectDistinct(Expression<T> expr)
AbstractSQLQueryFactoryselectDistinct in class AbstractSQLQueryFactory<PostgreSQLQuery<?>>T - type of the projectionexpr - distinct projectionpublic PostgreSQLQuery<Tuple> selectDistinct(Expression<?>... exprs)
AbstractSQLQueryFactoryselectDistinct in class AbstractSQLQueryFactory<PostgreSQLQuery<?>>exprs - distinct projectionpublic PostgreSQLQuery<java.lang.Integer> selectZero()
AbstractSQLQueryFactoryselectZero in class AbstractSQLQueryFactory<PostgreSQLQuery<?>>public PostgreSQLQuery<java.lang.Integer> selectOne()
AbstractSQLQueryFactoryselectOne in class AbstractSQLQueryFactory<PostgreSQLQuery<?>>public <T> PostgreSQLQuery<T> selectFrom(RelationalPath<T> expr)
AbstractSQLQueryFactoryselectFrom in class AbstractSQLQueryFactory<PostgreSQLQuery<?>>T - type of the projectionexpr - query source and projectionCopyright © 2007–2021 Querydsl. All rights reserved.