com.mysema.query.sql
Class SQLQueryImpl
java.lang.Object
com.mysema.query.QueryBase<SubType>
com.mysema.query.support.ProjectableQuery<SubType>
com.mysema.query.sql.AbstractSQLQuery<SQLQueryImpl>
com.mysema.query.sql.SQLQueryImpl
- All Implemented Interfaces:
- Projectable, Query<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 |
buildQueryString, count, createSerializer, from, fullJoin, getMetadata, getTemplates, innerJoin, iterate, iterate, join, leftJoin, list, list, listResults, on, toString, union, union, uniqueResult |
Methods inherited from class com.mysema.query.support.ProjectableQuery |
countDistinct, iterate, iterateDistinct, iterateDistinct, iterateDistinct, list, listDistinct, listDistinct, listDistinct, listDistinctResults, map, uniqueResult, uniqueResult |
Methods inherited from interface com.mysema.query.Projectable |
count, countDistinct, iterate, iterate, iterate, iterateDistinct, iterateDistinct, iterateDistinct, list, list, list, listDistinct, listDistinct, listDistinct, listDistinctResults, listResults, map, uniqueResult, uniqueResult, uniqueResult |
SQLQueryImpl
public SQLQueryImpl(SQLTemplates templates)
- Create a detached SQLQueryImpl instance
The query can be attached via the clone method
- Parameters:
conn
- 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
protected SQLQueryImpl(Connection conn,
SQLTemplates templates,
QueryMetadata metadata)
- 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-2010 Mysema Ltd. All Rights Reserved.