Package com.querydsl.sql.postgresql
Class AbstractPostgreSQLQuery<T,C extends AbstractPostgreSQLQuery<T,C>>
java.lang.Object
com.querydsl.core.support.QueryBase<Q>
com.querydsl.core.support.FetchableQueryBase<T,Q>
com.querydsl.core.support.FetchableSubQueryBase<T,Q>
com.querydsl.sql.ProjectableSQLQuery<T,Q>
com.querydsl.sql.AbstractSQLQuery<T,C>
com.querydsl.sql.postgresql.AbstractPostgreSQLQuery<T,C>
- Type Parameters:
T- result typeC- the concrete subtype
- All Implemented Interfaces:
Fetchable<T>,FetchableQuery<T,,C> FilteredClause<C>,Query<C>,SimpleQuery<C>,ExtendedSubQuery<T>,Expression<T>,SubQueryExpression<T>,SQLCommonQuery<C>,Serializable
- Direct Known Subclasses:
PostgreSQLQuery
public abstract class AbstractPostgreSQLQuery<T,C extends AbstractPostgreSQLQuery<T,C>>
extends AbstractSQLQuery<T,C>
PostgreSQLQuery provides PostgreSQL related extensions to SQLQuery- Author:
- tiwe
- See Also:
-
Field Summary
Fields inherited from class com.querydsl.sql.AbstractSQLQuery
listeners, PARENT_CONTEXT, useLiteralsFields inherited from class com.querydsl.sql.ProjectableSQLQuery
configuration, firstUnionSubQuery, union, unionAllFields inherited from class com.querydsl.core.support.QueryBase
MDC_PARAMETERS, MDC_QUERY, queryMixin -
Constructor Summary
ConstructorsConstructorDescriptionAbstractPostgreSQLQuery(Connection conn, Configuration configuration, QueryMetadata metadata) AbstractPostgreSQLQuery(Supplier<Connection> connProvider, Configuration configuration, QueryMetadata metadata) -
Method Summary
Modifier and TypeMethodDescriptiondistinctOn(Expression<?>... exprs) adds a DISTINCT ON clauseforShare()FOR SHARE causes the rows retrieved by the SELECT statement to be locked as though for update.noWait()With NOWAIT, the statement reports an error, rather than waiting, if a selected row cannot be locked immediately.of(RelationalPath<?>... paths) FOR UPDATE / FOR SHARE OF tablesMethods inherited from class com.querydsl.sql.AbstractSQLQuery
addListener, as, as, clone, clone, clone, createSerializer, endContext, fetch, fetchCount, fetchResults, forShare, forUpdate, getConfiguration, getResults, getResults, iterate, logQuery, onException, setParameters, setStatementOptions, setUseLiterals, startContextMethods inherited from class com.querydsl.sql.ProjectableSQLQuery
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, withRecursiveMethods inherited from class com.querydsl.core.support.FetchableSubQueryBase
contains, contains, eq, eq, exists, getMetadata, getType, goe, goe, gt, gt, hashCode, in, in, isNotNull, isNull, loe, loe, lt, lt, ne, ne, notExistsMethods inherited from class com.querydsl.core.support.FetchableQueryBase
equals, fetchFirst, transform, uniqueResultMethods inherited from class com.querydsl.core.support.QueryBase
distinct, groupBy, groupBy, having, having, limit, offset, orderBy, orderBy, restrict, set, where, whereMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.querydsl.core.Fetchable
fetchFirst, streamMethods inherited from interface com.querydsl.core.FetchableQuery
select, select, transformMethods inherited from interface com.querydsl.core.FilteredClause
where
-
Constructor Details
-
AbstractPostgreSQLQuery
public AbstractPostgreSQLQuery(Connection conn, Configuration configuration, QueryMetadata metadata) -
AbstractPostgreSQLQuery
public AbstractPostgreSQLQuery(Supplier<Connection> connProvider, Configuration configuration, QueryMetadata metadata)
-
-
Method Details
-
noWait
With NOWAIT, the statement reports an error, rather than waiting, if a selected row cannot be locked immediately.- Returns:
- the current object
-
of
FOR UPDATE / FOR SHARE OF tables- Parameters:
paths- tables- Returns:
- the current object
-
distinctOn
adds a DISTINCT ON clause- Parameters:
exprs-- Returns: