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)
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, rewriteFilterItem
getDataContext, isSchemaIncludedInColumnPaths, rewriteFromClause, rewriteFromItem, rewriteGroupByClause, rewriteGroupByItem, rewriteHavingClause, rewriteOrderByClause, rewriteOrderByItem, rewriteSelectClause, rewriteSelectItem, rewriteWhereClause
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
escapeQuotes, isFirstRowSupported, isMaxRowsSupported, 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)
IQueryRewriter
rewriteColumnType
in interface IQueryRewriter
rewriteColumnType
in class AbstractQueryRewriter
protected String rewriteFromItem(Query query, FromItem item)
rewriteFromItem
in class AbstractQueryRewriter
Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.