T
- the result typepublic class PostgreSQLQuery<T> extends AbstractPostgreSQLQuery<T,PostgreSQLQuery<T>>
PostgreSQLQuery
provides Postgres related extensions to SQLQuery.
If you need to subtype this, use the base class instead.listeners, PARENT_CONTEXT, useLiterals
configuration, firstUnionSubQuery, union, unionAll
MDC_PARAMETERS, MDC_QUERY, queryMixin
Constructor and Description |
---|
PostgreSQLQuery(Connection conn) |
PostgreSQLQuery(Connection conn,
Configuration configuration) |
PostgreSQLQuery(Connection conn,
Configuration configuration,
QueryMetadata metadata) |
PostgreSQLQuery(Connection conn,
SQLTemplates templates) |
PostgreSQLQuery(javax.inject.Provider<Connection> connProvider,
Configuration configuration) |
PostgreSQLQuery(javax.inject.Provider<Connection> connProvider,
Configuration configuration,
QueryMetadata metadata) |
Modifier and Type | Method and Description |
---|---|
PostgreSQLQuery<T> |
clone(Connection conn) |
PostgreSQLQuery<Tuple> |
select(Expression<?>... exprs)
Change the projection of this query
|
<U> PostgreSQLQuery<U> |
select(Expression<U> expr)
Change the projection of this query
|
distinctOn, forShare, noWait, of
addListener, as, as, cleanupMDC, clone, clone, createSerializer, endContext, fetch, fetchCount, fetchResults, forShare, forUpdate, getConfiguration, getResults, getResults, iterate, logQuery, onException, setParameters, setStatementOptions, setUseLiterals, startContext
accept, addFlag, addFlag, addFlag, addFlag, addJoinFlag, addJoinFlag, fetchOne, from, from, from, fullJoin, fullJoin, fullJoin, fullJoin, fullJoin, getSQL, getSQL, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, join, join, join, join, join, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, on, on, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, serialize, toString, union, union, union, unionAll, unionAll, unionAll, with, with, with, withRecursive, withRecursive, withRecursive
contains, contains, eq, eq, exists, getMetadata, getType, goe, goe, gt, gt, hashCode, in, in, isNotNull, isNull, loe, loe, lt, lt, ne, ne, notExists
equals, fetchFirst, transform, uniqueResult
distinct, groupBy, groupBy, having, having, limit, offset, orderBy, orderBy, restrict, set, where, where
finalize, getClass, notify, notifyAll, wait, wait, wait
distinct, limit, offset, orderBy, restrict, set
where
transform
fetchFirst
public PostgreSQLQuery(Connection conn)
public PostgreSQLQuery(Connection conn, SQLTemplates templates)
public PostgreSQLQuery(Connection conn, Configuration configuration)
public PostgreSQLQuery(Connection conn, Configuration configuration, QueryMetadata metadata)
public PostgreSQLQuery(javax.inject.Provider<Connection> connProvider, Configuration configuration, QueryMetadata metadata)
public PostgreSQLQuery(javax.inject.Provider<Connection> connProvider, Configuration configuration)
public PostgreSQLQuery<T> clone(Connection conn)
clone
in class AbstractSQLQuery<T,PostgreSQLQuery<T>>
public <U> PostgreSQLQuery<U> select(Expression<U> expr)
FetchableQuery
expr
- new projectionpublic PostgreSQLQuery<Tuple> select(Expression<?>... exprs)
FetchableQuery
exprs
- new projectionCopyright © 2007–2020 Querydsl. All rights reserved.