Class Db2As400QueryStringBuilder
- java.lang.Object
-
- com.amazonaws.athena.connectors.jdbc.manager.JdbcSplitQueryBuilder
-
- com.amazonaws.athena.connectors.db2as400.Db2As400QueryStringBuilder
-
public class Db2As400QueryStringBuilder extends JdbcSplitQueryBuilder
-
-
Field Summary
-
Fields inherited from class com.amazonaws.athena.connectors.jdbc.manager.JdbcSplitQueryBuilder
emptyString
-
-
Constructor Summary
Constructors Constructor Description Db2As400QueryStringBuilder(String quoteCharacters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getFromClauseWithSplit(String catalog, String schema, String table, Split split)
Formatting SQL query statement.protected List<String>
getPartitionWhereClauses(Split split)
Creates partition framing clause by taking information from split property.-
Methods inherited from class com.amazonaws.athena.connectors.jdbc.manager.JdbcSplitQueryBuilder
appendLimitOffset, appendLimitOffset, buildSql, extractOrderByClause, prepareStatementWithSql, quote, toPredicate
-
-
-
-
Constructor Detail
-
Db2As400QueryStringBuilder
public Db2As400QueryStringBuilder(String quoteCharacters)
-
-
Method Detail
-
getFromClauseWithSplit
protected String getFromClauseWithSplit(String catalog, String schema, String table, Split split)
Formatting SQL query statement. Adding period (.) after catalog and schema name and FROM before table name.- Specified by:
getFromClauseWithSplit
in classJdbcSplitQueryBuilder
- Parameters:
catalog
-schema
-table
-split
-- Returns:
-
getPartitionWhereClauses
protected List<String> getPartitionWhereClauses(Split split)
Creates partition framing clause by taking information from split property.- Specified by:
getPartitionWhereClauses
in classJdbcSplitQueryBuilder
- Parameters:
split
-- Returns:
-
-