public class MysqlQueryRewriter extends LimitOffsetQueryRewriter
Constructor and Description |
---|
MysqlQueryRewriter(JdbcDataContext dataContext) |
Modifier and Type | Method and Description |
---|---|
String |
escapeQuotes(String filterItemOperand)
Escapes the quotes within a String literal of a query item.
|
String |
rewriteColumnType(ColumnType columnType,
Integer columnSize)
Rewrites the name of a column type, as it is written in CREATE TABLE
statements.
|
isFirstRowSupported, isMaxRowsSupported, rewriteQuery
beforeRewrite, isAggregateFunctionSupported, isScalarFunctionSupported, needsQuoting, rewriteFilterItem, rewriteFilterItemWithOperandLiteral, rewriteTimestamp
getColumnType, getDataContext, getResultSetValue, isSchemaIncludedInColumnPaths, isSupportedVersion, isTransactional, rewriteColumnTypeInternal, rewriteFromClause, rewriteFromItem, rewriteFromItem, rewriteGroupByClause, rewriteGroupByItem, rewriteHavingClause, rewriteOrderByClause, rewriteOrderByItem, rewriteSelectClause, rewriteSelectItem, rewriteWhereClause, setStatementParameter, toTime, toTimestamp
public MysqlQueryRewriter(JdbcDataContext dataContext)
public String escapeQuotes(String filterItemOperand)
IQueryRewriter
escapeQuotes
in interface IQueryRewriter
escapeQuotes
in class DefaultQueryRewriter
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
specifiedCopyright © 2007–2017 The Apache Software Foundation. All rights reserved.