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, rewriteQuery
beforeRewrite, escapeQuotes, isScalarFunctionSupported, rewriteFilterItem
getDataContext, isSchemaIncludedInColumnPaths, isTransactional, rewriteColumnTypeInternal, rewriteFromClause, rewriteFromItem, rewriteGroupByClause, rewriteGroupByItem, rewriteHavingClause, rewriteOrderByClause, rewriteOrderByItem, rewriteSelectClause, rewriteSelectItem, rewriteWhereClause
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
escapeQuotes, isFirstRowSupported, isMaxRowsSupported, isScalarFunctionSupported, isTransactional, rewriteFilterItem, rewriteFromItem, rewriteQuery
public PostgresqlQueryRewriter(JdbcDataContext dataContext)
public ColumnType getColumnType(int jdbcType, String nativeType, Integer columnSize)
IQueryRewriter
Types
), native type name and column size.getColumnType
in interface IQueryRewriter
getColumnType
in class AbstractQueryRewriter
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
specifiedprotected String rewriteFromItem(Query query, FromItem item)
rewriteFromItem
in class AbstractQueryRewriter
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.