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, rewriteQuerybeforeRewrite, isAggregateFunctionSupported, isPrimaryKeySupported, isScalarFunctionSupported, needsQuoting, rewriteFilterItem, rewriteFilterItemWithOperandLiteral, rewriteTimestampgetColumnType, getDataContext, getResultSetValue, isSchemaIncludedInColumnPaths, isSupportedVersion, isTransactional, rewriteColumnTypeInternal, rewriteFromClause, rewriteFromItem, rewriteFromItem, rewriteGroupByClause, rewriteGroupByItem, rewriteHavingClause, rewriteOrderByClause, rewriteOrderByItem, rewriteSelectClause, rewriteSelectItem, rewriteWhereClause, setStatementParameter, toTime, toTimestamppublic MysqlQueryRewriter(JdbcDataContext dataContext)
public String escapeQuotes(String filterItemOperand)
IQueryRewriterescapeQuotes in interface IQueryRewriterescapeQuotes in class DefaultQueryRewriterpublic String rewriteColumnType(ColumnType columnType, Integer columnSize)
IQueryRewriterrewriteColumnType in interface IQueryRewriterrewriteColumnType in class DefaultQueryRewritercolumnType - the (non-null) ColumnType to rewritecolumnSize - the (possibly null) column size that may or may not have been
specifiedCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.