public class SQLServerQueryFactory extends AbstractSQLQueryFactory<SQLServerQuery<?>>
configuration, connection| Constructor and Description |
|---|
SQLServerQueryFactory(Configuration configuration,
java.util.function.Supplier<java.sql.Connection> connection) |
SQLServerQueryFactory(SQLTemplates templates,
java.util.function.Supplier<java.sql.Connection> connection) |
SQLServerQueryFactory(java.util.function.Supplier<java.sql.Connection> connection) |
| Modifier and Type | Method and Description |
|---|---|
SQLServerQuery<?> |
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<java.lang.Integer> |
selectOne()
Create a new SQL query with one as the projection
|
SQLServerQuery<java.lang.Integer> |
selectZero()
Create a new SQL query with zero as the projection
|
delete, from, from, from, getConfiguration, getConnection, insert, merge, updatepublic SQLServerQueryFactory(Configuration configuration, java.util.function.Supplier<java.sql.Connection> connection)
public SQLServerQueryFactory(java.util.function.Supplier<java.sql.Connection> connection)
public SQLServerQueryFactory(SQLTemplates templates, java.util.function.Supplier<java.sql.Connection> connection)
public SQLServerQuery<?> query()
public <T> SQLServerQuery<T> select(Expression<T> expr)
AbstractSQLQueryFactoryselect in class AbstractSQLQueryFactory<SQLServerQuery<?>>T - type of the projectionexpr - projectionpublic SQLServerQuery<Tuple> select(Expression<?>... exprs)
AbstractSQLQueryFactoryselect in class AbstractSQLQueryFactory<SQLServerQuery<?>>exprs - projectionpublic <T> SQLServerQuery<T> selectDistinct(Expression<T> expr)
AbstractSQLQueryFactoryselectDistinct in class AbstractSQLQueryFactory<SQLServerQuery<?>>T - type of the projectionexpr - distinct projectionpublic SQLServerQuery<Tuple> selectDistinct(Expression<?>... exprs)
AbstractSQLQueryFactoryselectDistinct in class AbstractSQLQueryFactory<SQLServerQuery<?>>exprs - distinct projectionpublic SQLServerQuery<java.lang.Integer> selectZero()
AbstractSQLQueryFactoryselectZero in class AbstractSQLQueryFactory<SQLServerQuery<?>>public SQLServerQuery<java.lang.Integer> selectOne()
AbstractSQLQueryFactoryselectOne in class AbstractSQLQueryFactory<SQLServerQuery<?>>public <T> SQLServerQuery<T> selectFrom(RelationalPath<T> expr)
AbstractSQLQueryFactoryselectFrom in class AbstractSQLQueryFactory<SQLServerQuery<?>>T - type of the projectionexpr - query source and projectionCopyright © 2007–2021 Querydsl. All rights reserved.