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, rewriteTimestampgetColumnType, getDataContext, isSchemaIncludedInColumnPaths, rewriteColumnTypeInternal, rewriteFromClause, rewriteFromItem, rewriteFromItem, rewriteGroupByClause, rewriteGroupByItem, rewriteHavingClause, rewriteOrderByClause, rewriteOrderByItem, rewriteQuery, rewriteSelectClause, rewriteSelectItem, rewriteWhereClauseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitescapeQuotes, getColumnType, isAggregateFunctionSupported, isFirstRowSupported, isMaxRowsSupported, isScalarFunctionSupported, rewriteFilterItem, rewriteFromItem, rewriteQuerypublic HiveQueryRewriter(JdbcDataContext dataContext)
public 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 boolean isTransactional()
IQueryRewriterisTransactional in interface IQueryRewriterisTransactional in class AbstractQueryRewriterCopyright © 2007–2016 The Apache Software Foundation. All rights reserved.