public class Hive2QueryRewriter extends LimitOffsetQueryRewriter
Constructor and Description |
---|
Hive2QueryRewriter(JdbcDataContext dataContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
isPrimaryKeySupported()
Determines if the JDBC data source supports primary keys or not.
|
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.
|
isFirstRowSupported, isMaxRowsSupported, rewriteQuery
beforeRewrite, escapeQuotes, isAggregateFunctionSupported, isScalarFunctionSupported, needsQuoting, rewriteFilterItem, rewriteFilterItemWithOperandLiteral, rewriteTimestamp
getColumnType, getDataContext, getResultSetValue, isSchemaIncludedInColumnPaths, isSupportedVersion, rewriteColumnTypeInternal, rewriteFromClause, rewriteFromItem, rewriteFromItem, rewriteGroupByClause, rewriteGroupByItem, rewriteHavingClause, rewriteOrderByClause, rewriteOrderByItem, rewriteSelectClause, rewriteSelectItem, rewriteWhereClause, setStatementParameter, toTime, toTimestamp
public Hive2QueryRewriter(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
public boolean isPrimaryKeySupported()
IQueryRewriter
isPrimaryKeySupported
in interface IQueryRewriter
isPrimaryKeySupported
in class DefaultQueryRewriter
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.