public class PostgresqlQueryRewriter extends LimitOffsetQueryRewriter implements IQueryRewriter
logger| Constructor and Description |
|---|
PostgresqlQueryRewriter(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.
|
protected String |
rewriteFromItem(Query query,
FromItem item) |
isFirstRowSupported, isMaxRowsSupported, rewriteQuerybeforeRewrite, escapeQuotes, isAggregateFunctionSupported, isScalarFunctionSupported, rewriteFilterItem, rewriteFilterItemWithOperandLiteral, rewriteTimestampgetDataContext, isSchemaIncludedInColumnPaths, isTransactional, rewriteColumnTypeInternal, rewriteFromClause, rewriteFromItem, rewriteGroupByClause, rewriteGroupByItem, rewriteHavingClause, rewriteOrderByClause, rewriteOrderByItem, rewriteSelectClause, rewriteSelectItem, rewriteWhereClauseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitescapeQuotes, isAggregateFunctionSupported, isFirstRowSupported, isMaxRowsSupported, isScalarFunctionSupported, isTransactional, rewriteFilterItem, rewriteFromItem, rewriteQuerypublic PostgresqlQueryRewriter(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
specifiedprotected String rewriteFromItem(Query query, FromItem item)
rewriteFromItem in class AbstractQueryRewriterCopyright © 2007–2016 The Apache Software Foundation. All rights reserved.