Uses of Interface
com.amazonaws.athena.connector.lambda.domain.predicate.ValueSet
-
-
Uses of ValueSet in com.amazonaws.athena.connector.lambda.domain.predicate
Classes in com.amazonaws.athena.connector.lambda.domain.predicate that implement ValueSet Modifier and Type Class Description class
AllOrNoneValueSet
Describes a constraint as a ValueSet which can have one of several states: 1.class
EquatableValueSet
A set containing values that are uniquely identifiable.class
SortedRangeSet
A set containing values that are represented as ranges that are sorted by their lower bound.Methods in com.amazonaws.athena.connector.lambda.domain.predicate that return ValueSet Modifier and Type Method Description ValueSet
AllOrNoneValueSet. complement(BlockAllocator allocator)
ValueSet
ValueSet. complement(BlockAllocator allocator)
ValueSet
AllOrNoneValueSet. intersect(BlockAllocator allocator, ValueSet other)
ValueSet
ValueSet. intersect(BlockAllocator allocator, ValueSet other)
default ValueSet
ValueSet. subtract(BlockAllocator allocator, ValueSet other)
ValueSet
AllOrNoneValueSet. union(BlockAllocator allocator, ValueSet other)
ValueSet
ValueSet. union(BlockAllocator allocator, ValueSet other)
default ValueSet
ValueSet. union(BlockAllocator allocator, Collection<ValueSet> valueSets)
Methods in com.amazonaws.athena.connector.lambda.domain.predicate that return types with arguments of type ValueSet Modifier and Type Method Description Map<String,ValueSet>
Constraints. getSummary()
Provides access to the associative predicates that are part of the Constraints.Methods in com.amazonaws.athena.connector.lambda.domain.predicate with parameters of type ValueSet Modifier and Type Method Description default boolean
ValueSet. contains(BlockAllocator allocator, ValueSet other)
ValueSet
AllOrNoneValueSet. intersect(BlockAllocator allocator, ValueSet other)
EquatableValueSet
EquatableValueSet. intersect(BlockAllocator allocator, ValueSet other)
SortedRangeSet
SortedRangeSet. intersect(BlockAllocator allocator, ValueSet other)
ValueSet
ValueSet. intersect(BlockAllocator allocator, ValueSet other)
default boolean
ValueSet. overlaps(BlockAllocator allocator, ValueSet other)
default ValueSet
ValueSet. subtract(BlockAllocator allocator, ValueSet other)
ValueSet
AllOrNoneValueSet. union(BlockAllocator allocator, ValueSet other)
EquatableValueSet
EquatableValueSet. union(BlockAllocator allocator, ValueSet other)
SortedRangeSet
SortedRangeSet. union(BlockAllocator allocator, ValueSet other)
ValueSet
ValueSet. union(BlockAllocator allocator, ValueSet other)
Method parameters in com.amazonaws.athena.connector.lambda.domain.predicate with type arguments of type ValueSet Modifier and Type Method Description SortedRangeSet
SortedRangeSet. union(BlockAllocator allocator, Collection<ValueSet> valueSets)
default ValueSet
ValueSet. union(BlockAllocator allocator, Collection<ValueSet> valueSets)
Constructor parameters in com.amazonaws.athena.connector.lambda.domain.predicate with type arguments of type ValueSet Constructor Description Constraints(Map<String,ValueSet> summary, List<FederationExpression> expression, List<OrderByField> orderByClause, long limit)
Deprecated.Constraints(Map<String,ValueSet> summary, List<FederationExpression> expression, List<OrderByField> orderByClause, long limit, Map<String,String> queryPassthroughArguments)
-
Uses of ValueSet in com.amazonaws.athena.connector.lambda.serde.v2
Methods in com.amazonaws.athena.connector.lambda.serde.v2 that return ValueSet Modifier and Type Method Description protected ValueSet
EquatableValueSetSerDe.Deserializer. doTypedDeserialize(com.fasterxml.jackson.core.JsonParser jparser, com.fasterxml.jackson.databind.DeserializationContext ctxt)
protected ValueSet
SortedRangeSetSerDe.Deserializer. doTypedDeserialize(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 ValueSet Modifier and Type Method Description protected void
AllOrNoneValueSetSerDe.Serializer. doTypedSerialize(ValueSet valueSet, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider)
protected void
EquatableValueSetSerDe.Serializer. doTypedSerialize(ValueSet valueSet, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider)
protected void
SortedRangeSetSerDe.Serializer. doTypedSerialize(ValueSet valueSet, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider)
-
Uses of ValueSet in com.amazonaws.athena.connectors.docdb
Methods in com.amazonaws.athena.connectors.docdb with parameters of type ValueSet Modifier and Type Method Description static org.bson.Document
QueryUtils. makePredicate(org.apache.arrow.vector.types.pojo.Field field, ValueSet constraint)
Converts a single field constraint into a Document for use in a DocumentDB query.Method parameters in com.amazonaws.athena.connectors.docdb with type arguments of type ValueSet Modifier and Type Method Description static org.bson.Document
QueryUtils. makeQuery(org.apache.arrow.vector.types.pojo.Schema schema, Map<String,ValueSet> constraintSummary)
Given a set of Constraints and the projection Schema, create the Query Document that can be used to push predicates into DocumentDB. -
Uses of ValueSet in com.amazonaws.athena.connectors.dynamodb.util
Methods in com.amazonaws.athena.connectors.dynamodb.util with parameters of type ValueSet Modifier and Type Method Description static String
DDBPredicateUtils. generateSingleColumnFilter(String originalColumnName, ValueSet predicate, List<software.amazon.awssdk.services.dynamodb.model.AttributeValue> accumulator, IncrementingValueNameProducer valueNameProducer, DDBRecordMetadata recordMetadata, boolean columnIsSortKey)
Generates a filter expression for a single column given aValueSet
predicate for that column.static List<Object>
DDBPredicateUtils. getHashKeyAttributeValues(ValueSet valueSet)
Generates a list of distinct values from the givenValueSet
or an empty list if not possible.Method parameters in com.amazonaws.athena.connectors.dynamodb.util with type arguments of type ValueSet Modifier and Type Method Description static String
DDBPredicateUtils. generateFilterExpression(Set<String> columnsToIgnore, Map<String,ValueSet> predicates, List<software.amazon.awssdk.services.dynamodb.model.AttributeValue> accumulator, IncrementingValueNameProducer valueNameProducer, DDBRecordMetadata recordMetadata)
Generates a combined filter expression for the given predicates.static DynamoDBIndex
DDBPredicateUtils. getBestIndexForPredicates(DynamoDBTable table, List<String> requestedCols, Map<String,ValueSet> predicates)
Attempts to pick an optimal index (if any) from the given predicates.
-