Class FilterExpressionBuilder
- java.lang.Object
-
- com.amazonaws.athena.connectors.gcs.filter.FilterExpressionBuilder
-
public class FilterExpressionBuilder extends Object
This class is used to build Filter Expression to handle the constraints on partition folder
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<String,Optional<Set<String>>>
getConstraintsForPartitionedColumns(List<com.amazonaws.services.glue.model.Column> partitionColumns, Constraints constraints)
Prepares the expressions based on the provided arguments.
-
-
-
Method Detail
-
getConstraintsForPartitionedColumns
public static Map<String,Optional<Set<String>>> getConstraintsForPartitionedColumns(List<com.amazonaws.services.glue.model.Column> partitionColumns, Constraints constraints)
Prepares the expressions based on the provided arguments.- Parameters:
partitionColumns
- partition columns from the Glue tableconstraints
- An instance ofConstraints
that is a summary of where clauses (if any)- Returns:
- A map of column names to its value constraint set.
-
-