Uses of Class
com.amazonaws.athena.connector.lambda.domain.predicate.Constraints
-
-
Uses of Constraints in com.amazonaws.athena.connector.lambda.data.writers
Methods in com.amazonaws.athena.connector.lambda.data.writers with parameters of type Constraints Modifier and Type Method Description static GeneratedRowWriter.RowWriterBuilder
GeneratedRowWriter. newBuilder(Constraints constraints)
-
Uses of Constraints in com.amazonaws.athena.connector.lambda.domain.predicate
Constructors in com.amazonaws.athena.connector.lambda.domain.predicate with parameters of type Constraints Constructor Description ConstraintEvaluator(BlockAllocator allocator, org.apache.arrow.vector.types.pojo.Schema schema, Constraints constraints)
-
Uses of Constraints in com.amazonaws.athena.connector.lambda.metadata
Methods in com.amazonaws.athena.connector.lambda.metadata that return Constraints Modifier and Type Method Description Constraints
GetSplitsRequest. getConstraints()
Returns the constraints that can be applied to split generation.Constraints
GetTableLayoutRequest. getConstraints()
Returns the constraints that can be applied to table layout generation.Constructors in com.amazonaws.athena.connector.lambda.metadata with parameters of type Constraints Constructor Description GetSplitsRequest(FederatedIdentity identity, String queryId, String catalogName, TableName tableName, Block partitions, List<String> partitionCols, Constraints constraints, String continuationToken)
Constructs a new GetSplitsRequest object.GetTableLayoutRequest(FederatedIdentity identity, String queryId, String catalogName, TableName tableName, Constraints constraints, org.apache.arrow.vector.types.pojo.Schema schema, Set<String> partitionCols)
Constructs a new GetTableLayoutRequest object. -
Uses of Constraints in com.amazonaws.athena.connector.lambda.records
Methods in com.amazonaws.athena.connector.lambda.records that return Constraints Modifier and Type Method Description Constraints
ReadRecordsRequest. getConstraints()
Returns the constraints to apply to read records.Constructors in com.amazonaws.athena.connector.lambda.records with parameters of type Constraints Constructor Description ReadRecordsRequest(FederatedIdentity identity, String catalogName, String queryId, TableName tableName, org.apache.arrow.vector.types.pojo.Schema schema, Split split, Constraints constraints, long maxBlockSize, long maxInlineBlockSize)
Constructs a new ReadRecordsRequest object. -
Uses of Constraints in com.amazonaws.athena.connector.lambda.serde.v2
Methods in com.amazonaws.athena.connector.lambda.serde.v2 that return Constraints Modifier and Type Method Description Constraints
ConstraintsSerDe.Deserializer. doDeserialize(com.fasterxml.jackson.core.JsonParser jparser, com.fasterxml.jackson.databind.DeserializationContext ctxt)
Methods in com.amazonaws.athena.connector.lambda.serde.v2 with parameters of type Constraints Modifier and Type Method Description void
ConstraintsSerDe.Serializer. doSerialize(Constraints constraints, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider)
Constructor parameters in com.amazonaws.athena.connector.lambda.serde.v2 with type arguments of type Constraints Constructor Description Deserializer(FederatedIdentitySerDe.Deserializer identityDeserializer, TableNameSerDe.Deserializer tableNameDeserializer, VersionedSerDe.Deserializer<Constraints> constraintsDeserializer, VersionedSerDe.Deserializer<org.apache.arrow.vector.types.pojo.Schema> schemaDeserializer)
Deserializer(FederatedIdentitySerDe.Deserializer identityDeserializer, TableNameSerDe.Deserializer tableNameDeserializer, VersionedSerDe.Deserializer<Constraints> constraintsDeserializer, VersionedSerDe.Deserializer<org.apache.arrow.vector.types.pojo.Schema> schemaDeserializer, SplitSerDe.Deserializer splitDeserializer)
Serializer(FederatedIdentitySerDe.Serializer identitySerializer, TableNameSerDe.Serializer tableNameSerializer, VersionedSerDe.Serializer<Constraints> constraintsSerializer, VersionedSerDe.Serializer<org.apache.arrow.vector.types.pojo.Schema> schemaSerializer)
Serializer(FederatedIdentitySerDe.Serializer identitySerializer, TableNameSerDe.Serializer tableNameSerializer, VersionedSerDe.Serializer<Constraints> constraintsSerializer, VersionedSerDe.Serializer<org.apache.arrow.vector.types.pojo.Schema> schemaSerializer, SplitSerDe.Serializer splitSerializer)
-
Uses of Constraints in com.amazonaws.athena.connector.lambda.serde.v4
Methods in com.amazonaws.athena.connector.lambda.serde.v4 that return Constraints Modifier and Type Method Description Constraints
ConstraintsSerDeV4.Deserializer. doDeserialize(com.fasterxml.jackson.core.JsonParser jparser, com.fasterxml.jackson.databind.DeserializationContext ctxt)
Methods in com.amazonaws.athena.connector.lambda.serde.v4 with parameters of type Constraints Modifier and Type Method Description void
ConstraintsSerDeV4.Serializer. doSerialize(Constraints constraints, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider)
-
Uses of Constraints in com.amazonaws.athena.connector.lambda.serde.v5
Methods in com.amazonaws.athena.connector.lambda.serde.v5 that return Constraints Modifier and Type Method Description Constraints
ConstraintsSerDeV5.Deserializer. doDeserialize(com.fasterxml.jackson.core.JsonParser jparser, com.fasterxml.jackson.databind.DeserializationContext ctxt)
Methods in com.amazonaws.athena.connector.lambda.serde.v5 with parameters of type Constraints Modifier and Type Method Description void
ConstraintsSerDeV5.Serializer. doSerialize(Constraints constraints, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider)
-
Uses of Constraints in com.amazonaws.athena.connector.validation
Methods in com.amazonaws.athena.connector.validation that return Constraints Modifier and Type Method Description static Constraints
ConstraintParser. parseConstraints(org.apache.arrow.vector.types.pojo.Schema schema, Optional<String> input)
This method takes in a table schema and a String representing the set of simple contraints to be ANDed together and applied to that table.Methods in com.amazonaws.athena.connector.validation with parameters of type Constraints Modifier and Type Method Description static GetSplitsResponse
LambdaMetadataProvider. getSplits(String catalog, TableName tableName, Constraints constraints, Block partitions, List<String> partitionCols, String contToken, String metadataFunction, FederatedIdentity identity)
This method builds and executes a GetSplitsRequest against the specified Lambda function.static GetTableLayoutResponse
LambdaMetadataProvider. getTableLayout(String catalog, TableName tableName, Constraints constraints, org.apache.arrow.vector.types.pojo.Schema schema, Set<String> partitionCols, String metadataFunction, FederatedIdentity identity)
This method builds and executes a GetTableLayoutRequest against the specified Lambda function.static ReadRecordsResponse
LambdaRecordProvider. readRecords(String catalog, TableName tableName, Constraints constraints, org.apache.arrow.vector.types.pojo.Schema schema, Split split, String recordFunction, FederatedIdentity identity)
This method builds and executes a ReadRecordsRequest against the specified Lambda function. -
Uses of Constraints in com.amazonaws.athena.connectors.clickhouse
Methods in com.amazonaws.athena.connectors.clickhouse with parameters of type Constraints Modifier and Type Method Description PreparedStatement
ClickHouseRecordHandler. buildSplitSql(Connection jdbcConnection, String catalogName, TableName tableName, org.apache.arrow.vector.types.pojo.Schema schema, Constraints constraints, Split split)
-
Uses of Constraints in com.amazonaws.athena.connectors.cloudera
Methods in com.amazonaws.athena.connectors.cloudera with parameters of type Constraints Modifier and Type Method Description PreparedStatement
HiveRecordHandler. buildSplitSql(Connection jdbcConnection, String catalogName, TableName tableName, org.apache.arrow.vector.types.pojo.Schema schema, Constraints constraints, Split split)
PreparedStatement
ImpalaRecordHandler. buildSplitSql(Connection jdbcConnection, String catalogName, TableName tableName, org.apache.arrow.vector.types.pojo.Schema schema, Constraints constraints, Split split)
-
Uses of Constraints in com.amazonaws.athena.connectors.cloudwatch.metrics
Methods in com.amazonaws.athena.connectors.cloudwatch.metrics with parameters of type Constraints Modifier and Type Method Description protected static void
MetricUtils. pushDownPredicate(Constraints constraints, software.amazon.awssdk.services.cloudwatch.model.ListMetricsRequest.Builder listMetricsRequest)
Attempts to push the supplied predicate constraints onto the Cloudwatch Metrics request. -
Uses of Constraints in com.amazonaws.athena.connectors.datalakegen2
Methods in com.amazonaws.athena.connectors.datalakegen2 with parameters of type Constraints Modifier and Type Method Description protected String
DataLakeGen2QueryStringBuilder. appendLimitOffset(Split split, Constraints constraints)
PreparedStatement
DataLakeGen2RecordHandler. buildSplitSql(Connection jdbcConnection, String catalogName, TableName tableName, org.apache.arrow.vector.types.pojo.Schema schema, Constraints constraints, Split split)
-
Uses of Constraints in com.amazonaws.athena.connectors.db2
Methods in com.amazonaws.athena.connectors.db2 with parameters of type Constraints Modifier and Type Method Description PreparedStatement
Db2RecordHandler. buildSplitSql(Connection jdbcConnection, String catalogName, TableName tableName, org.apache.arrow.vector.types.pojo.Schema schema, Constraints constraints, Split split)
Builds split SQL string and returns prepared statement. -
Uses of Constraints in com.amazonaws.athena.connectors.db2as400
Methods in com.amazonaws.athena.connectors.db2as400 with parameters of type Constraints Modifier and Type Method Description PreparedStatement
Db2As400RecordHandler. buildSplitSql(Connection jdbcConnection, String catalogName, TableName tableName, org.apache.arrow.vector.types.pojo.Schema schema, Constraints constraints, Split split)
Builds split SQL string and returns prepared statement. -
Uses of Constraints in com.amazonaws.athena.connectors.gcs.filter
Methods in com.amazonaws.athena.connectors.gcs.filter with parameters of type Constraints Modifier and Type Method Description static Map<String,Optional<Set<String>>>
FilterExpressionBuilder. getConstraintsForPartitionedColumns(List<software.amazon.awssdk.services.glue.model.Column> partitionColumns, Constraints constraints)
Prepares the expressions based on the provided arguments. -
Uses of Constraints in com.amazonaws.athena.connectors.gcs.storage
Methods in com.amazonaws.athena.connectors.gcs.storage with parameters of type Constraints Modifier and Type Method Description List<Map<String,String>>
StorageMetadata. getPartitionFolders(org.apache.arrow.vector.types.pojo.Schema schema, TableName tableInfo, Constraints constraints, software.amazon.awssdk.services.glue.GlueClient awsGlue)
Retrieves a list of partition folders from the GCS bucket based on partition.pattern Table parameter and partition keys set forth in Glue table. -
Uses of Constraints in com.amazonaws.athena.connectors.google.bigquery
Methods in com.amazonaws.athena.connectors.google.bigquery with parameters of type Constraints Modifier and Type Method Description static String
BigQuerySqlUtils. buildSql(TableName tableName, org.apache.arrow.vector.types.pojo.Schema schema, Constraints constraints, List<com.google.cloud.bigquery.QueryParameterValue> parameterValues)
Builds an SQL statement from the schema, table name, split and contraints that can be executable by BigQuery.List<String>
BigQueryFederationExpressionParser. parseComplexExpressions(List<org.apache.arrow.vector.types.pojo.Field> columns, Constraints constraints)
static com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.Builder
BigQueryStorageApiUtils. setConstraints(com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.Builder optionsBuilder, org.apache.arrow.vector.types.pojo.Schema schema, Constraints constraints)
-
Uses of Constraints in com.amazonaws.athena.connectors.hortonworks
Methods in com.amazonaws.athena.connectors.hortonworks with parameters of type Constraints Modifier and Type Method Description PreparedStatement
HiveRecordHandler. buildSplitSql(Connection jdbcConnection, String catalogName, TableName tableName, org.apache.arrow.vector.types.pojo.Schema schema, Constraints constraints, Split split)
-
Uses of Constraints in com.amazonaws.athena.connectors.jdbc
Methods in com.amazonaws.athena.connectors.jdbc with parameters of type Constraints Modifier and Type Method Description PreparedStatement
MultiplexingJdbcRecordHandler. buildSplitSql(Connection jdbcConnection, String catalogName, TableName tableName, org.apache.arrow.vector.types.pojo.Schema schema, Constraints constraints, Split split)
-
Uses of Constraints in com.amazonaws.athena.connectors.jdbc.manager
Methods in com.amazonaws.athena.connectors.jdbc.manager with parameters of type Constraints Modifier and Type Method Description protected String
JdbcSplitQueryBuilder. appendLimitOffset(Split split, Constraints constraints)
PreparedStatement
JdbcRecordHandler. buildQueryPassthroughSql(Connection jdbcConnection, Constraints constraints)
abstract PreparedStatement
JdbcRecordHandler. buildSplitSql(Connection jdbcConnection, String catalogName, TableName tableName, org.apache.arrow.vector.types.pojo.Schema schema, Constraints constraints, Split split)
Builds split SQL string and returns prepared statement.PreparedStatement
JdbcSplitQueryBuilder. buildSql(Connection jdbcConnection, String catalog, String schema, String table, org.apache.arrow.vector.types.pojo.Schema tableSchema, Constraints constraints, Split split)
Common logic to build Split SQL including constraints translated in where clause.protected String
JdbcSplitQueryBuilder. extractOrderByClause(Constraints constraints)
List<String>
FederationExpressionParser. parseComplexExpressions(List<org.apache.arrow.vector.types.pojo.Field> columns, Constraints constraints, List<TypeAndValue> accumulator)
protected PreparedStatement
JdbcSplitQueryBuilder. prepareStatementWithSql(Connection jdbcConnection, String catalog, String schema, String table, org.apache.arrow.vector.types.pojo.Schema tableSchema, Constraints constraints, Split split, String columnNames)
-
Uses of Constraints in com.amazonaws.athena.connectors.mysql
Methods in com.amazonaws.athena.connectors.mysql with parameters of type Constraints Modifier and Type Method Description PreparedStatement
MySqlRecordHandler. buildSplitSql(Connection jdbcConnection, String catalogName, TableName tableName, org.apache.arrow.vector.types.pojo.Schema schema, Constraints constraints, Split split)
protected String
MySqlQueryStringBuilder. extractOrderByClause(Constraints constraints)
-
Uses of Constraints in com.amazonaws.athena.connectors.oracle
Methods in com.amazonaws.athena.connectors.oracle with parameters of type Constraints Modifier and Type Method Description protected String
OracleQueryStringBuilder. appendLimitOffset(Split split, Constraints constraints)
PreparedStatement
OracleRecordHandler. buildSplitSql(Connection jdbcConnection, String catalogName, TableName tableName, org.apache.arrow.vector.types.pojo.Schema schema, Constraints constraints, Split split)
-
Uses of Constraints in com.amazonaws.athena.connectors.postgresql
Methods in com.amazonaws.athena.connectors.postgresql with parameters of type Constraints Modifier and Type Method Description PreparedStatement
PostGreSqlRecordHandler. buildSplitSql(Connection jdbcConnection, String catalogName, TableName tableName, org.apache.arrow.vector.types.pojo.Schema schema, Constraints constraints, Split split)
PreparedStatement
PostGreSqlQueryStringBuilder. buildSql(Connection jdbcConnection, String catalog, String schema, String table, org.apache.arrow.vector.types.pojo.Schema tableSchema, Constraints constraints, Split split)
-
Uses of Constraints in com.amazonaws.athena.connectors.saphana
Methods in com.amazonaws.athena.connectors.saphana with parameters of type Constraints Modifier and Type Method Description PreparedStatement
SaphanaRecordHandler. buildSplitSql(Connection jdbcConnection, String catalogName, TableName tableName, org.apache.arrow.vector.types.pojo.Schema schema, Constraints constraints, Split split)
PreparedStatement
SaphanaQueryStringBuilder. buildSql(Connection jdbcConnection, String catalog, String schema, String table, org.apache.arrow.vector.types.pojo.Schema tableSchema, Constraints constraints, Split split)
-
Uses of Constraints in com.amazonaws.athena.connectors.snowflake
Methods in com.amazonaws.athena.connectors.snowflake with parameters of type Constraints Modifier and Type Method Description PreparedStatement
SnowflakeRecordHandler. buildSplitSql(Connection jdbcConnection, String catalogName, TableName tableName, org.apache.arrow.vector.types.pojo.Schema schema, Constraints constraints, Split split)
-
Uses of Constraints in com.amazonaws.athena.connectors.sqlserver
Methods in com.amazonaws.athena.connectors.sqlserver with parameters of type Constraints Modifier and Type Method Description protected String
SqlServerQueryStringBuilder. appendLimitOffset(Split split, Constraints constraints)
PreparedStatement
SqlServerRecordHandler. buildSplitSql(Connection jdbcConnection, String catalogName, TableName tableName, org.apache.arrow.vector.types.pojo.Schema schema, Constraints constraints, Split split)
-
Uses of Constraints in com.amazonaws.athena.connectors.synapse
Methods in com.amazonaws.athena.connectors.synapse with parameters of type Constraints Modifier and Type Method Description protected String
SynapseQueryStringBuilder. appendLimitOffset(Split split, Constraints constraints)
PreparedStatement
SynapseRecordHandler. buildSplitSql(Connection jdbcConnection, String catalogName, TableName tableName, org.apache.arrow.vector.types.pojo.Schema schema, Constraints constraints, Split split)
-
Uses of Constraints in com.amazonaws.athena.connectors.teradata
Methods in com.amazonaws.athena.connectors.teradata with parameters of type Constraints Modifier and Type Method Description protected String
TeradataQueryStringBuilder. appendLimitOffset(Split split, Constraints constraints)
PreparedStatement
TeradataRecordHandler. buildSplitSql(Connection jdbcConnection, String catalogName, TableName tableName, org.apache.arrow.vector.types.pojo.Schema schema, Constraints constraints, Split split)
-
Uses of Constraints in com.amazonaws.athena.connectors.timestream.query
Methods in com.amazonaws.athena.connectors.timestream.query with parameters of type Constraints Modifier and Type Method Description static List<String>
PredicateBuilder. buildConjucts(Constraints constraints)
SelectQueryBuilder
SelectQueryBuilder. withConjucts(Constraints constraints)
-
Uses of Constraints in com.amazonaws.athena.connectors.vertica
Methods in com.amazonaws.athena.connectors.vertica with parameters of type Constraints Modifier and Type Method Description String
VerticaMetadataHandler. buildQueryPassthroughSql(Constraints constraints)
-
Uses of Constraints in com.amazonaws.athena.connectors.vertica.query
Methods in com.amazonaws.athena.connectors.vertica.query with parameters of type Constraints Modifier and Type Method Description protected static List<String>
PredicateBuilder. toConjuncts(List<org.apache.arrow.vector.types.pojo.Field> columns, Constraints constraints, HashMap<String,PredicateBuilder.TypeAndValue> accumulator)
VerticaExportQueryBuilder
VerticaExportQueryBuilder. withConstraints(Constraints constraints, org.apache.arrow.vector.types.pojo.Schema tableSchema)
-