T
- the result typepublic class MySQLQuery<T> extends AbstractMySQLQuery<T,MySQLQuery<T>>
MySQLQuery
provides MySQL related extensions to SQLQuery.
If you need to subtype this, use the base class instead.HIGH_PRIORITY, JOINER, LOCK_IN_SHARE_MODE, SQL_BIG_RESULT, SQL_BUFFER_RESULT, SQL_CACHE, SQL_CALC_FOUND_ROWS, SQL_NO_CACHE, SQL_SMALL_RESULT, STRAIGHT_JOIN, WITH_ROLLUP
listeners, PARENT_CONTEXT, useLiterals
configuration, firstUnionSubQuery, union, unionAll
MDC_PARAMETERS, MDC_QUERY, queryMixin
Constructor and Description |
---|
MySQLQuery(Connection conn) |
MySQLQuery(Connection conn,
Configuration configuration) |
MySQLQuery(Connection conn,
Configuration configuration,
QueryMetadata metadata) |
MySQLQuery(Connection conn,
SQLTemplates templates) |
MySQLQuery(javax.inject.Provider<Connection> connProvider,
Configuration configuration) |
MySQLQuery(javax.inject.Provider<Connection> connProvider,
Configuration configuration,
QueryMetadata metadata) |
Modifier and Type | Method and Description |
---|---|
MySQLQuery<T> |
clone(Connection conn) |
MySQLQuery<Tuple> |
select(Expression<?>... exprs)
Change the projection of this query
|
<U> MySQLQuery<U> |
select(Expression<U> expr)
Change the projection of this query
|
bigResult, bufferResult, cache, calcFoundRows, forceIndex, highPriority, ignoreIndex, into, intoDumpfile, intoOutfile, lockInShareMode, noCache, smallResult, straightJoin, useIndex, withRollup
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, 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 MySQLQuery(Connection conn)
public MySQLQuery(Connection conn, SQLTemplates templates)
public MySQLQuery(Connection conn, Configuration configuration)
public MySQLQuery(Connection conn, Configuration configuration, QueryMetadata metadata)
public MySQLQuery(javax.inject.Provider<Connection> connProvider, Configuration configuration, QueryMetadata metadata)
public MySQLQuery(javax.inject.Provider<Connection> connProvider, Configuration configuration)
public MySQLQuery<T> clone(Connection conn)
clone
in class AbstractSQLQuery<T,MySQLQuery<T>>
public <U> MySQLQuery<U> select(Expression<U> expr)
FetchableQuery
expr
- new projectionpublic MySQLQuery<Tuple> select(Expression<?>... exprs)
FetchableQuery
exprs
- new projectionCopyright © 2007–2018 Querydsl. All rights reserved.