Class JdbcFederationExpressionParser
- java.lang.Object
-
- com.amazonaws.athena.connectors.jdbc.manager.FederationExpressionParser
-
- com.amazonaws.athena.connectors.jdbc.manager.JdbcFederationExpressionParser
-
- Direct Known Subclasses:
DataLakeGen2FederationExpressionParser
,Db2FederationExpressionParser
,HiveFederationExpressionParser
,HiveFederationExpressionParser
,ImpalaFederationExpressionParser
,MySqlFederationExpressionParser
,OracleFederationExpressionParser
,PostgreSqlFederationExpressionParser
,SaphanaFederationExpressionParser
,SnowflakeFederationExpressionParser
,SqlServerFederationExpressionParser
,SynapseFederationExpressionParser
,TeradataFederationExpressionParser
public abstract class JdbcFederationExpressionParser extends FederationExpressionParser
-
-
Constructor Summary
Constructors Constructor Description JdbcFederationExpressionParser(String quoteChar)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description String
mapFunctionToDataSourceSyntax(FunctionName functionName, org.apache.arrow.vector.types.pojo.ArrowType type, List<String> arguments)
Each datasource has different syntax for various operations, quotes, etc.String
parseVariableExpression(VariableExpression variableExpression)
JDBC Requires wrapping column names in a specific quote charabstract String
writeArrayConstructorClause(org.apache.arrow.vector.types.pojo.ArrowType type, List<String> arguments)
-
Methods inherited from class com.amazonaws.athena.connectors.jdbc.manager.FederationExpressionParser
parseComplexExpressions, parseConstantExpression, parseFunctionCallExpression
-
-
-
-
Constructor Detail
-
JdbcFederationExpressionParser
public JdbcFederationExpressionParser(String quoteChar)
-
-
Method Detail
-
writeArrayConstructorClause
public abstract String writeArrayConstructorClause(org.apache.arrow.vector.types.pojo.ArrowType type, List<String> arguments)
-
parseVariableExpression
public String parseVariableExpression(VariableExpression variableExpression)
JDBC Requires wrapping column names in a specific quote char- Overrides:
parseVariableExpression
in classFederationExpressionParser
-
mapFunctionToDataSourceSyntax
public String mapFunctionToDataSourceSyntax(FunctionName functionName, org.apache.arrow.vector.types.pojo.ArrowType type, List<String> arguments)
Description copied from class:FederationExpressionParser
Each datasource has different syntax for various operations, quotes, etc. This is the only method a subclass to implement, and otherwise will just invoke parseComplexExpressions.- Specified by:
mapFunctionToDataSourceSyntax
in classFederationExpressionParser
-
-