Class SynapseQueryStringBuilder
- java.lang.Object
-
- com.amazonaws.athena.connectors.jdbc.manager.JdbcSplitQueryBuilder
-
- com.amazonaws.athena.connectors.synapse.SynapseQueryStringBuilder
-
public class SynapseQueryStringBuilder extends JdbcSplitQueryBuilder
-
-
Field Summary
-
Fields inherited from class com.amazonaws.athena.connectors.jdbc.manager.JdbcSplitQueryBuilder
emptyString
-
-
Constructor Summary
Constructors Constructor Description SynapseQueryStringBuilder(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)
In case of partitioned table, custom query will be formed to get specific partition otherwise empty list will be returned-
Methods inherited from class com.amazonaws.athena.connectors.jdbc.manager.JdbcSplitQueryBuilder
appendLimitOffset, buildSql, extractOrderByClause, prepareStatementWithSql, quote, toPredicate
-
-
-
-
Constructor Detail
-
SynapseQueryStringBuilder
public SynapseQueryStringBuilder(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)
In case of partitioned table, custom query will be formed to get specific partition otherwise empty list will be returned- Specified by:
getPartitionWhereClauses
in classJdbcSplitQueryBuilder
- Parameters:
split
-- Returns:
-
appendLimitOffset
protected String appendLimitOffset(Split split, Constraints constraints)
- Overrides:
appendLimitOffset
in classJdbcSplitQueryBuilder
-
-