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 Stringbuild()StringbuildSetAwsRegionSql(String awsRegion)protected StringcastTimestamp(String name)VerticaExportQueryBuilderfromTable(String schemaName, String tableName)StringgetColNames()StringgetConstraintValues()StringgetPreparedStatementSQL()StringgetQueryID()StringgetS3ExportBucket()StringgetTable()VerticaExportQueryBuilderwithColumns(ResultSet definition, org.apache.arrow.vector.types.pojo.Schema tableSchema)VerticaExportQueryBuilderwithConstraints(Constraints constraints, org.apache.arrow.vector.types.pojo.Schema tableSchema)VerticaExportQueryBuilderwithPreparedStatementSQL(String preparedStatementSQL)VerticaExportQueryBuilderwithQueryID(String queryID)VerticaExportQueryBuilderwithS3ExportBucket(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()
-
-