Class Constraints
- java.lang.Object
-
- com.amazonaws.athena.connector.lambda.domain.predicate.Constraints
-
- All Implemented Interfaces:
AutoCloseable
public class Constraints extends Object implements AutoCloseable
Container which holds and maps column names to the corresponding constraint (e.g. ValueSet).
-
-
Constructor Summary
Constructors Constructor Description Constraints(Map<String,ValueSet> summary)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()booleanequals(Object o)Map<String,ValueSet>getSummary()Provides access to the associative predicates that are part of the Constraints.inthashCode()StringtoString()
-
-
-
Method Detail
-
getSummary
public Map<String,ValueSet> getSummary()
Provides access to the associative predicates that are part of the Constraints.- Returns:
- A Map of column name to ValueSet representing the associative predicates on each column.
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable
-
-