T - result typeC - the concrete subtypepublic abstract class AbstractPostgreSQLQuery<T,C extends AbstractPostgreSQLQuery<T,C>> extends AbstractSQLQuery<T,C>
PostgreSQLQuery provides PostgreSQL related extensions to SQLQuerySQLQuery,
Serialized Formlisteners, PARENT_CONTEXT, useLiteralsconfiguration, firstUnionSubQuery, union, unionAllMDC_PARAMETERS, MDC_QUERY, queryMixin| Constructor and Description |
|---|
AbstractPostgreSQLQuery(java.sql.Connection conn,
Configuration configuration,
QueryMetadata metadata) |
AbstractPostgreSQLQuery(java.util.function.Supplier<java.sql.Connection> connProvider,
Configuration configuration,
QueryMetadata metadata) |
| Modifier and Type | Method and Description |
|---|---|
C |
distinctOn(Expression<?>... exprs)
adds a DISTINCT ON clause
|
C |
forShare()
FOR SHARE causes the rows retrieved by the SELECT statement to be locked as though for update.
|
C |
noWait()
With NOWAIT, the statement reports an error, rather than waiting, if a selected row cannot
be locked immediately.
|
C |
of(RelationalPath<?>... paths)
FOR UPDATE / FOR SHARE OF tables
|
addListener, as, as, clone, clone, clone, createSerializer, endContext, fetch, fetchCount, fetchResults, forShare, forUpdate, getConfiguration, getResults, getResults, iterate, logQuery, onException, setParameters, setStatementOptions, setUseLiterals, startContextaccept, 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, withRecursivecontains, contains, eq, eq, exists, getMetadata, getType, goe, goe, gt, gt, hashCode, in, in, isNotNull, isNull, loe, loe, lt, lt, ne, ne, notExistsequals, fetchFirst, transform, uniqueResultdistinct, groupBy, groupBy, having, having, limit, offset, orderBy, orderBy, restrict, set, where, wherefinalize, getClass, notify, notifyAll, wait, wait, waitdistinct, limit, offset, orderBy, restrict, setwhereselect, select, transformfetchFirst, streampublic AbstractPostgreSQLQuery(java.sql.Connection conn,
Configuration configuration,
QueryMetadata metadata)
public AbstractPostgreSQLQuery(java.util.function.Supplier<java.sql.Connection> connProvider,
Configuration configuration,
QueryMetadata metadata)
public C forShare()
forShare in class AbstractSQLQuery<T,C extends AbstractPostgreSQLQuery<T,C>>public C noWait()
public C of(RelationalPath<?>... paths)
paths - tablespublic C distinctOn(Expression<?>... exprs)
exprs - Copyright © 2007–2021 Querydsl. All rights reserved.