public class OracleQueryRewriter extends OffsetFetchQueryRewriter
| Modifier and Type | Field and Description |
|---|---|
static int |
FIRST_FETCH_SUPPORTING_VERSION |
| Constructor and Description |
|---|
OracleQueryRewriter(JdbcDataContext dataContext) |
| Modifier and Type | Method and Description |
|---|---|
ColumnType |
getColumnType(int jdbcType,
String nativeType,
Integer columnSize)
Gets the column type for a specific JDBC type (as defined in
Types), native type name and column size. |
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) |
isFirstRowSupported, isMaxRowsSupported, rewriteQuerybeforeRewrite, escapeQuotes, isAggregateFunctionSupported, isPrimaryKeySupported, isScalarFunctionSupported, needsQuoting, rewriteFilterItemWithOperandLiteral, rewriteTimestampgetDataContext, getResultSetValue, isSchemaIncludedInColumnPaths, isSupportedVersion, isTransactional, rewriteColumnTypeInternal, rewriteFromClause, rewriteFromItem, rewriteFromItem, rewriteGroupByClause, rewriteGroupByItem, rewriteHavingClause, rewriteOrderByClause, rewriteOrderByItem, rewriteSelectClause, rewriteSelectItem, rewriteWhereClause, setStatementParameter, toTime, toTimestamppublic static final int FIRST_FETCH_SUPPORTING_VERSION
public OracleQueryRewriter(JdbcDataContext dataContext)
public ColumnType getColumnType(int jdbcType, String nativeType, Integer columnSize)
IQueryRewriterTypes), native type name and column size.getColumnType in interface IQueryRewritergetColumnType in class AbstractQueryRewriterpublic 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
specifiedpublic String rewriteFilterItem(FilterItem item)
rewriteFilterItem in interface IQueryRewriterrewriteFilterItem in class DefaultQueryRewriterCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.