public class HiveQueryRewriter extends DefaultQueryRewriter implements IQueryRewriter
logger
Constructor and Description |
---|
HiveQueryRewriter(JdbcDataContext dataContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
isTransactional()
Determines if the JDBC data source supports transactions or not.
|
String |
rewriteColumnType(ColumnType columnType,
Integer columnSize)
Rewrites the name of a column type, as it is written in CREATE TABLE
statements.
|
beforeRewrite, escapeQuotes, isAggregateFunctionSupported, isFirstRowSupported, isMaxRowsSupported, isScalarFunctionSupported, rewriteFilterItem, rewriteFilterItemWithOperandLiteral, rewriteTimestamp
getColumnType, getDataContext, isSchemaIncludedInColumnPaths, rewriteColumnTypeInternal, rewriteFromClause, rewriteFromItem, rewriteFromItem, rewriteGroupByClause, rewriteGroupByItem, rewriteHavingClause, rewriteOrderByClause, rewriteOrderByItem, rewriteQuery, rewriteSelectClause, rewriteSelectItem, rewriteWhereClause
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
escapeQuotes, getColumnType, isAggregateFunctionSupported, isFirstRowSupported, isMaxRowsSupported, isScalarFunctionSupported, rewriteFilterItem, rewriteFromItem, rewriteQuery
public HiveQueryRewriter(JdbcDataContext dataContext)
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
specifiedpublic boolean isTransactional()
IQueryRewriter
isTransactional
in interface IQueryRewriter
isTransactional
in class AbstractQueryRewriter
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.