Class OracleQueryStringBuilder
- java.lang.Object
-
- com.amazonaws.athena.connectors.jdbc.manager.JdbcSplitQueryBuilder
-
- com.amazonaws.athena.connectors.oracle.OracleQueryStringBuilder
-
public class OracleQueryStringBuilder extends JdbcSplitQueryBuilder
ExtendsJdbcSplitQueryBuilder
and implements ORACLE specific SQL clauses for split. Oracle provides named partitions which can be used in a FROM clause.
-
-
Field Summary
-
Fields inherited from class com.amazonaws.athena.connectors.jdbc.manager.JdbcSplitQueryBuilder
emptyString
-
-
Constructor Summary
Constructors Constructor Description OracleQueryStringBuilder(String quoteCharacter, FederationExpressionParser federationExpressionParser)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
appendLimitOffset(Split split, Constraints constraints)
protected String
getFromClauseWithSplit(String catalog, String schema, String table, Split split)
protected List<String>
getPartitionWhereClauses(Split split)
-
Methods inherited from class com.amazonaws.athena.connectors.jdbc.manager.JdbcSplitQueryBuilder
appendLimitOffset, buildSql, extractOrderByClause, prepareStatementWithSql, quote, toPredicate
-
-
-
-
Constructor Detail
-
OracleQueryStringBuilder
public OracleQueryStringBuilder(String quoteCharacter, FederationExpressionParser federationExpressionParser)
-
-
Method Detail
-
getFromClauseWithSplit
protected String getFromClauseWithSplit(String catalog, String schema, String table, Split split)
- Specified by:
getFromClauseWithSplit
in classJdbcSplitQueryBuilder
-
getPartitionWhereClauses
protected List<String> getPartitionWhereClauses(Split split)
- Specified by:
getPartitionWhereClauses
in classJdbcSplitQueryBuilder
-
appendLimitOffset
protected String appendLimitOffset(Split split, Constraints constraints)
- Overrides:
appendLimitOffset
in classJdbcSplitQueryBuilder
-
-