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