Class MSSQLGenerator
- java.lang.Object
-
- com.vaadin.v7.data.util.sqlcontainer.query.generator.DefaultSQLGenerator
-
- com.vaadin.v7.data.util.sqlcontainer.query.generator.MSSQLGenerator
-
- All Implemented Interfaces:
SQLGenerator,Serializable
@Deprecated public class MSSQLGenerator extends DefaultSQLGenerator
Deprecated.As of 8.0, no replacement available.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MSSQLGenerator()Deprecated.MSSQLGenerator(String quoteStart, String quoteEnd)Deprecated.Construct a MSSQLGenerator with the specified identifiers for start and end of quoted strings.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StatementHelpergenerateSelectQuery(String tableName, List<Container.Filter> filters, List<OrderBy> orderBys, int offset, int pagelength, String toSelect)Deprecated.Generates a SELECT query with the provided parameters.-
Methods inherited from class com.vaadin.v7.data.util.sqlcontainer.query.generator.DefaultSQLGenerator
generateColumnToValueMap, generateDeleteQuery, generateInsertQuery, generateLimits, generateOrderBy, generateRowIdentifiers, generateUpdateQuery, getStatementHelper
-
-
-
-
Constructor Detail
-
MSSQLGenerator
public MSSQLGenerator()
Deprecated.
-
MSSQLGenerator
public MSSQLGenerator(String quoteStart, String quoteEnd)
Deprecated.Construct a MSSQLGenerator with the specified identifiers for start and end of quoted strings. The identifiers may be different depending on the database engine and it's settings.- Parameters:
quoteStart- the identifier (character) denoting the start of a quoted stringquoteEnd- the identifier (character) denoting the end of a quoted string
-
-
Method Detail
-
generateSelectQuery
public StatementHelper generateSelectQuery(String tableName, List<Container.Filter> filters, List<OrderBy> orderBys, int offset, int pagelength, String toSelect)
Deprecated.Description copied from interface:SQLGeneratorGenerates a SELECT query with the provided parameters. Uses default filtering mode (INCLUSIVE).- Specified by:
generateSelectQueryin interfaceSQLGenerator- Overrides:
generateSelectQueryin classDefaultSQLGenerator- Parameters:
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(*)"- Returns:
- StatementHelper instance containing the query string for a PreparedStatement and the values required for the parameters
-
-