Class FilterExpressionBuilder


  • public class FilterExpressionBuilder
    extends Object
    This class is used to build Filter Expression to handle the constraints on partition folder
    • 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 table
        constraints - An instance of Constraints that is a summary of where clauses (if any)
        Returns:
        A map of column names to its value constraint set.