public class HsqldbQueryRewriter extends DefaultQueryRewriter
logger
Constructor and Description |
---|
HsqldbQueryRewriter(JdbcDataContext dataContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
isFirstRowSupported()
Gets whether this query rewriter is able to write the "First row" query
property to the query string.
|
boolean |
isMaxRowsSupported()
Gets whether this query rewriter is able to write the "Max rows" query
property to the query string.
|
String |
rewriteColumnType(ColumnType columnType,
Integer columnSize)
Rewrites the name of a column type, as it is written in CREATE TABLE
statements.
|
String |
rewriteFilterItem(FilterItem item) |
protected String |
rewriteSelectClause(Query query,
SelectClause selectClause) |
beforeRewrite, escapeQuotes, isScalarFunctionSupported
getColumnType, getDataContext, isSchemaIncludedInColumnPaths, isTransactional, rewriteColumnTypeInternal, rewriteFromClause, rewriteFromItem, rewriteFromItem, rewriteGroupByClause, rewriteGroupByItem, rewriteHavingClause, rewriteOrderByClause, rewriteOrderByItem, rewriteQuery, rewriteSelectItem, rewriteWhereClause
public HsqldbQueryRewriter(JdbcDataContext dataContext)
public String rewriteColumnType(ColumnType columnType, Integer columnSize)
IQueryRewriter
rewriteColumnType
in interface IQueryRewriter
rewriteColumnType
in class DefaultQueryRewriter
columnType
- the (non-null) ColumnType
to rewritecolumnSize
- the (possibly null) column size that may or may not have been
specifiedpublic boolean isFirstRowSupported()
IQueryRewriter
isFirstRowSupported
in interface IQueryRewriter
isFirstRowSupported
in class DefaultQueryRewriter
public boolean isMaxRowsSupported()
IQueryRewriter
isMaxRowsSupported
in interface IQueryRewriter
isMaxRowsSupported
in class DefaultQueryRewriter
protected String rewriteSelectClause(Query query, SelectClause selectClause)
rewriteSelectClause
in class AbstractQueryRewriter
public String rewriteFilterItem(FilterItem item)
rewriteFilterItem
in interface IQueryRewriter
rewriteFilterItem
in class DefaultQueryRewriter
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.