Class ColumnPredicate
- java.lang.Object
-
- com.amazonaws.athena.connector.substrait.model.ColumnPredicate
-
public class ColumnPredicate extends Object
Represents a column predicate extracted from Substrait filter expressions. This class encapsulates a single filter condition that can be applied to a column, including the column name, comparison operator, value, and data type information. Used for predicate pushdown optimization in federated query execution.
-
-
Constructor Summary
Constructors Constructor Description ColumnPredicate(String column, SubstraitOperator substraitOperator, Object value, org.apache.arrow.vector.types.pojo.ArrowType arrowType)
Constructs a new column predicate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.arrow.vector.types.pojo.ArrowType
getArrowType()
String
getColumn()
SubstraitOperator
getOperator()
Object
getValue()
String
toString()
-
-
-
Constructor Detail
-
ColumnPredicate
public ColumnPredicate(String column, SubstraitOperator substraitOperator, Object value, org.apache.arrow.vector.types.pojo.ArrowType arrowType)
Constructs a new column predicate.- Parameters:
column
- the name of the column to filtersubstraitOperator
- the comparison operator to usevalue
- the value to compare the column againstarrowType
- the Arrow data type of the column
-
-