com.mysema.query.sql
Interface SQLQuery

All Superinterfaces:
FilteredClause<SQLQuery>, Projectable, Query<SQLQuery>, SQLCommonQuery<SQLQuery>
All Known Implementing Classes:
SQLQueryImpl

public interface SQLQuery
extends SQLCommonQuery<SQLQuery>, Projectable

Query interface for SQL queries

Author:
tiwe

Method Summary
 SQLQuery clone(Connection conn)
          Clone the state of the Query for the given Connection
 ResultSet getResults(Expression<?>... args)
          Get the results as an JDBC result set
<RT> Union<RT>
union(ListSubQuery<RT>... sq)
          Creates an union expression for the given subqueries
<RT> Union<RT>
union(SubQueryExpression<RT>... sq)
          Creates an union expression for the given subqueries
<RT> Union<RT>
unionAll(ListSubQuery<RT>... sq)
          Creates an union expression for the given subqueries
<RT> Union<RT>
unionAll(SubQueryExpression<RT>... sq)
          Creates an union expression for the given subqueries
 
Methods inherited from interface com.mysema.query.sql.SQLCommonQuery
addFlag, addFlag, addFlag, addJoinFlag, addJoinFlag, 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.Query
distinct, groupBy, having, limit, offset, orderBy, restrict, set
 
Methods inherited from interface com.mysema.query.FilteredClause
where
 
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, singleResult, singleResult, singleResult, uniqueResult, uniqueResult, uniqueResult
 

Method Detail

union

<RT> Union<RT> union(ListSubQuery<RT>... sq)
Creates an union expression for the given subqueries

Type Parameters:
RT -
Parameters:
sq -
Returns:

union

<RT> Union<RT> union(SubQueryExpression<RT>... sq)
Creates an union expression for the given subqueries

Type Parameters:
RT -
Parameters:
sq -
Returns:

unionAll

<RT> Union<RT> unionAll(ListSubQuery<RT>... sq)
Creates an union expression for the given subqueries

Type Parameters:
RT -
Parameters:
sq -
Returns:

unionAll

<RT> Union<RT> unionAll(SubQueryExpression<RT>... sq)
Creates an union expression for the given subqueries

Type Parameters:
RT -
Parameters:
sq -
Returns:

clone

SQLQuery clone(Connection conn)
Clone the state of the Query for the given Connection

Parameters:
conn -
Returns:

getResults

ResultSet getResults(Expression<?>... args)
Get the results as an JDBC result set

Parameters:
args -
Returns:


Copyright © 2007-2011 Mysema Ltd. All Rights Reserved.