Class DataLakeGen2QueryStringBuilder
- java.lang.Object
-
- com.amazonaws.athena.connectors.jdbc.manager.JdbcSplitQueryBuilder
-
- com.amazonaws.athena.connectors.datalakegen2.DataLakeGen2QueryStringBuilder
-
public class DataLakeGen2QueryStringBuilder extends JdbcSplitQueryBuilder
-
-
Field Summary
-
Fields inherited from class com.amazonaws.athena.connectors.jdbc.manager.JdbcSplitQueryBuilder
emptyString
-
-
Constructor Summary
Constructors Constructor Description DataLakeGen2QueryStringBuilder(String quoteCharacters, 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)
As Gen2 does not support partitioning returning empty list-
Methods inherited from class com.amazonaws.athena.connectors.jdbc.manager.JdbcSplitQueryBuilder
appendLimitOffset, buildSql, extractOrderByClause, prepareStatementWithSql, quote, toPredicate
-
-
-
-
Constructor Detail
-
DataLakeGen2QueryStringBuilder
public DataLakeGen2QueryStringBuilder(String quoteCharacters, 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)
As Gen2 does not support partitioning returning empty list- Specified by:
getPartitionWhereClauses
in classJdbcSplitQueryBuilder
- Parameters:
split
-- Returns:
-
appendLimitOffset
protected String appendLimitOffset(Split split, Constraints constraints)
- Overrides:
appendLimitOffset
in classJdbcSplitQueryBuilder
-
-