Class VerticaExportQueryBuilder
- java.lang.Object
-
- com.amazonaws.athena.connectors.vertica.query.VerticaExportQueryBuilder
-
public class VerticaExportQueryBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description VerticaExportQueryBuilder(org.stringtemplate.v4.ST template)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
build()
String
buildSetAwsRegionSql(String awsRegion)
protected String
castTimestamp(String name)
VerticaExportQueryBuilder
fromTable(String schemaName, String tableName)
String
getColNames()
String
getConstraintValues()
String
getPreparedStatementSQL()
String
getQueryID()
String
getS3ExportBucket()
String
getTable()
VerticaExportQueryBuilder
withColumns(ResultSet definition, org.apache.arrow.vector.types.pojo.Schema tableSchema)
VerticaExportQueryBuilder
withConstraints(Constraints constraints, org.apache.arrow.vector.types.pojo.Schema tableSchema)
VerticaExportQueryBuilder
withPreparedStatementSQL(String preparedStatementSQL)
VerticaExportQueryBuilder
withQueryID(String queryID)
VerticaExportQueryBuilder
withS3ExportBucket(String s3ExportBucket)
-
-
-
Method Detail
-
getTable
public String getTable()
-
fromTable
public VerticaExportQueryBuilder fromTable(String schemaName, String tableName)
-
getColNames
public String getColNames()
-
withPreparedStatementSQL
public VerticaExportQueryBuilder withPreparedStatementSQL(String preparedStatementSQL)
-
getPreparedStatementSQL
public String getPreparedStatementSQL()
-
withColumns
public VerticaExportQueryBuilder withColumns(ResultSet definition, org.apache.arrow.vector.types.pojo.Schema tableSchema) throws SQLException
- Throws:
SQLException
-
getConstraintValues
public String getConstraintValues()
-
withConstraints
public VerticaExportQueryBuilder withConstraints(Constraints constraints, org.apache.arrow.vector.types.pojo.Schema tableSchema)
-
getS3ExportBucket
public String getS3ExportBucket()
-
withS3ExportBucket
public VerticaExportQueryBuilder withS3ExportBucket(String s3ExportBucket)
-
getQueryID
public String getQueryID()
-
withQueryID
public VerticaExportQueryBuilder withQueryID(String queryID)
-
build
public String build()
-
-