public class MSSQLGenerator extends DefaultSQLGenerator
Constructor and Description |
---|
MSSQLGenerator() |
MSSQLGenerator(String quoteStart,
String quoteEnd)
Construct a MSSQLGenerator with the specified identifiers for start and
end of quoted strings.
|
Modifier and Type | Method and Description |
---|---|
StatementHelper |
generateSelectQuery(String tableName,
List<Container.Filter> filters,
List<OrderBy> orderBys,
int offset,
int pagelength,
String toSelect)
Generates a SELECT query with the provided parameters.
|
generateColumnToValueMap, generateDeleteQuery, generateInsertQuery, generateLimits, generateOrderBy, generateRowIdentifiers, generateUpdateQuery, getStatementHelper
public MSSQLGenerator()
public MSSQLGenerator(String quoteStart, String quoteEnd)
quoteStart
- the identifier (character) denoting the start of a quoted
stringquoteEnd
- the identifier (character) denoting the end of a quoted stringpublic StatementHelper generateSelectQuery(String tableName, List<Container.Filter> filters, List<OrderBy> orderBys, int offset, int pagelength, String toSelect)
SQLGenerator
generateSelectQuery
in interface SQLGenerator
generateSelectQuery
in class DefaultSQLGenerator
tableName
- Name of the table queriedfilters
- The filters, converted into a WHERE clauseorderBys
- The the ordering conditions, converted into an ORDER BY clauseoffset
- The offset of the first row to be includedpagelength
- The number of rows to be returned when the query executestoSelect
- String containing what to select, e.g. "*", "COUNT(*)"Copyright © 2022 Vaadin Ltd. All rights reserved.