public class MysqlQueryRewriter extends LimitOffsetQueryRewriter implements IQueryRewriter
logger
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, isScalarFunctionSupported, rewriteFilterItem
getColumnType, getDataContext, isSchemaIncludedInColumnPaths, isTransactional, rewriteColumnTypeInternal, rewriteFromClause, rewriteFromItem, rewriteFromItem, rewriteGroupByClause, rewriteGroupByItem, rewriteHavingClause, rewriteOrderByClause, rewriteOrderByItem, rewriteSelectClause, rewriteSelectItem, rewriteWhereClause
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getColumnType, isFirstRowSupported, isMaxRowsSupported, isScalarFunctionSupported, isTransactional, rewriteFilterItem, rewriteFromItem, rewriteQuery
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–2015 The Apache Software Foundation. All rights reserved.