T
- result typepublic class SQLServerQuery<T> extends AbstractSQLQuery<T,SQLServerQuery<T>>
SQLServerQuery
provides SQL Server related extensions to SQLQuerylisteners, PARENT_CONTEXT, useLiterals
configuration, firstUnionSubQuery, union, unionAll
MDC_PARAMETERS, MDC_QUERY, queryMixin
Modifier | Constructor and Description |
---|---|
|
SQLServerQuery(Connection conn) |
|
SQLServerQuery(Connection conn,
Configuration configuration) |
|
SQLServerQuery(Connection conn,
Configuration configuration,
QueryMetadata metadata) |
|
SQLServerQuery(Connection conn,
SQLTemplates templates) |
protected |
SQLServerQuery(Connection conn,
SQLTemplates templates,
QueryMetadata metadata) |
|
SQLServerQuery(javax.inject.Provider<Connection> connProvider,
Configuration configuration) |
|
SQLServerQuery(javax.inject.Provider<Connection> connProvider,
Configuration configuration,
QueryMetadata metadata) |
Modifier and Type | Method and Description |
---|---|
SQLServerQuery<T> |
clone(Connection conn) |
SQLServerQuery<Tuple> |
select(Expression<?>... exprs)
Change the projection of this query
|
<U> SQLServerQuery<U> |
select(Expression<U> expr)
Change the projection of this query
|
SQLServerQuery<T> |
tableHints(SQLServerTableHints... tableHints)
Set the table hints
|
addListener, as, as, cleanupMDC, clone, clone, createSerializer, endContext, fetch, fetchCount, fetchResults, forShare, 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, 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 SQLServerQuery(Connection conn)
public SQLServerQuery(Connection conn, SQLTemplates templates)
protected SQLServerQuery(Connection conn, SQLTemplates templates, QueryMetadata metadata)
public SQLServerQuery(Connection conn, Configuration configuration, QueryMetadata metadata)
public SQLServerQuery(Connection conn, Configuration configuration)
public SQLServerQuery(javax.inject.Provider<Connection> connProvider, Configuration configuration, QueryMetadata metadata)
public SQLServerQuery(javax.inject.Provider<Connection> connProvider, Configuration configuration)
public SQLServerQuery<T> tableHints(SQLServerTableHints... tableHints)
tableHints
- table hintspublic SQLServerQuery<T> clone(Connection conn)
clone
in class AbstractSQLQuery<T,SQLServerQuery<T>>
public <U> SQLServerQuery<U> select(Expression<U> expr)
FetchableQuery
expr
- new projectionpublic SQLServerQuery<Tuple> select(Expression<?>... exprs)
FetchableQuery
exprs
- new projectionCopyright © 2007–2016 Querydsl. All rights reserved.