public class TeradataQueryFactory extends AbstractSQLQueryFactory<TeradataQuery<?>>
configuration, connection
Constructor and Description |
---|
TeradataQueryFactory(Configuration configuration,
javax.inject.Provider<Connection> connection) |
TeradataQueryFactory(javax.inject.Provider<Connection> connection) |
TeradataQueryFactory(SQLTemplates templates,
javax.inject.Provider<Connection> connection) |
Modifier and Type | Method and Description |
---|---|
TeradataQuery<?> |
query()
Create a new Query
|
TeradataQuery<Tuple> |
select(Expression<?>... exprs)
Create a new SQL query with the given projection
|
<T> TeradataQuery<T> |
select(Expression<T> expr)
Create a new SQL query with the given projection
|
TeradataQuery<Tuple> |
selectDistinct(Expression<?>... exprs)
Create a new SQL query with the given projection
|
<T> TeradataQuery<T> |
selectDistinct(Expression<T> expr)
Create a new SQL query with the given projection
|
<T> TeradataQuery<T> |
selectFrom(RelationalPath<T> expr)
Create a new SQL query with the given projection and source
|
TeradataQuery<Integer> |
selectOne()
Create a new SQL query with one as the projection
|
TeradataQuery<Integer> |
selectZero()
Create a new SQL query with zero as the projection
|
delete, from, from, from, getConfiguration, getConnection, insert, merge, update
public TeradataQueryFactory(Configuration configuration, javax.inject.Provider<Connection> connection)
public TeradataQueryFactory(javax.inject.Provider<Connection> connection)
public TeradataQueryFactory(SQLTemplates templates, javax.inject.Provider<Connection> connection)
public TeradataQuery<?> query()
QueryFactory
public <T> TeradataQuery<T> select(Expression<T> expr)
AbstractSQLQueryFactory
select
in class AbstractSQLQueryFactory<TeradataQuery<?>>
T
- type of the projectionexpr
- projectionpublic TeradataQuery<Tuple> select(Expression<?>... exprs)
AbstractSQLQueryFactory
select
in class AbstractSQLQueryFactory<TeradataQuery<?>>
exprs
- projectionpublic <T> TeradataQuery<T> selectDistinct(Expression<T> expr)
AbstractSQLQueryFactory
selectDistinct
in class AbstractSQLQueryFactory<TeradataQuery<?>>
T
- type of the projectionexpr
- distinct projectionpublic TeradataQuery<Tuple> selectDistinct(Expression<?>... exprs)
AbstractSQLQueryFactory
selectDistinct
in class AbstractSQLQueryFactory<TeradataQuery<?>>
exprs
- distinct projectionpublic TeradataQuery<Integer> selectZero()
AbstractSQLQueryFactory
selectZero
in class AbstractSQLQueryFactory<TeradataQuery<?>>
public TeradataQuery<Integer> selectOne()
AbstractSQLQueryFactory
selectOne
in class AbstractSQLQueryFactory<TeradataQuery<?>>
public <T> TeradataQuery<T> selectFrom(RelationalPath<T> expr)
AbstractSQLQueryFactory
selectFrom
in class AbstractSQLQueryFactory<TeradataQuery<?>>
T
- type of the projectionexpr
- query source and projectionCopyright © 2007–2016 Querydsl. All rights reserved.