com.mysema.query.sql
Class SQLQueryImpl
java.lang.Object
com.mysema.query.support.QueryBase<Q>
com.mysema.query.support.ProjectableQuery<Q>
com.mysema.query.sql.AbstractSQLQuery<SQLQueryImpl>
com.mysema.query.sql.SQLQueryImpl
- All Implemented Interfaces:
- FilteredClause<SQLQuery>, Projectable, Query<SQLQuery>, SQLCommonQuery<SQLQuery>, SQLQuery
public class SQLQueryImpl
- extends AbstractSQLQuery<SQLQueryImpl>
- implements SQLQuery
SQLQueryImpl is a JDBC based implementation of the Querydsl SQLQuery interface
- Version:
- $Id$
- Author:
- tiwe
Method Summary |
SQLQueryImpl |
clone(Connection conn)
Clone the state of this query to a new SQLQueryImpl instance with the given Connection |
Methods inherited from class com.mysema.query.sql.AbstractSQLQuery |
addFlag, addFlag, addFlag, addJoinFlag, addJoinFlag, buildQueryString, count, createSerializer, exists, from, from, fullJoin, fullJoin, fullJoin, getConfiguration, getMetadata, getResults, innerJoin, innerJoin, innerJoin, iterate, iterate, join, join, join, leftJoin, leftJoin, leftJoin, list, list, listResults, on, rightJoin, rightJoin, rightJoin, setParameters, toString, union, union, uniqueResult |
Methods inherited from class com.mysema.query.support.ProjectableQuery |
countDistinct, iterate, iterateDistinct, iterateDistinct, iterateDistinct, list, listDistinct, listDistinct, listDistinct, listDistinctResults, map, notExists, uniqueResult, uniqueResult |
Methods inherited from interface com.mysema.query.sql.SQLCommonQuery |
from, from, fullJoin, fullJoin, fullJoin, innerJoin, innerJoin, innerJoin, join, join, join, leftJoin, leftJoin, leftJoin, on, rightJoin, rightJoin, rightJoin |
Methods inherited from interface com.mysema.query.Projectable |
count, countDistinct, exists, iterate, iterate, iterate, iterateDistinct, iterateDistinct, iterateDistinct, list, list, list, listDistinct, listDistinct, listDistinct, listDistinctResults, listResults, map, notExists, uniqueResult, uniqueResult, uniqueResult |
SQLQueryImpl
public SQLQueryImpl(SQLTemplates templates)
- Create a detached SQLQueryImpl instance
The query can be attached via the clone method
- Parameters:
connection
- Connection to usetemplates
- SQLTemplates to use
SQLQueryImpl
public SQLQueryImpl(Connection conn,
SQLTemplates templates)
- Create a new SQLQueryImpl instance
- Parameters:
conn
- Connection to usetemplates
- SQLTemplates to use
SQLQueryImpl
public SQLQueryImpl(Connection conn,
Configuration configuration)
- Create a new SQLQueryImpl instance
- Parameters:
conn
- Connection to useconfiguration
-
SQLQueryImpl
public SQLQueryImpl(Connection conn,
Configuration configuration,
QueryMetadata metadata)
- Create a new SQLQueryImpl instance
- Parameters:
conn
- templates
- metadata
-
clone
public SQLQueryImpl clone(Connection conn)
- Clone the state of this query to a new SQLQueryImpl instance with the given Connection
- Specified by:
clone
in interface SQLQuery
- Parameters:
conn
-
- Returns:
Copyright © 2007-2011 Mysema Ltd. All Rights Reserved.