Expressions are used to define filter logic for passing to a Dataset
Scanner. FieldExpressions refer to columns in the Dataset and are
compared to ScalarExpressions using ComparisonExpressions.
ComparisonExpressions may be combined with AndExpression or
OrExpression and negated with NotExpression.
FieldExpression$create(name) takes a string name as input. This string should
refer to a column in a Dataset at the time it is evaluated, but you can
construct a FieldExpression independently of any Dataset.
ScalarExpression$create(x) takes a scalar (length-1) R value as input.
ComparisonExpression$create(OP, e1, e2) takes a string operator name
(e.g. "==", "!=", ">", etc.) and two Expression objects.
AndExpression$create(e1, e2) and OrExpression$create(e1, e2) take
two Expression objects, while NotExpression$create(e1) takes a single
Expression.
arrow::Object -> Expression
ToString()Expression$ToString()
clone()The objects of this class are cloneable with this method.
Expression$clone(deep = FALSE)
deepWhether to make a deep clone.
arrow::Object -> arrow::Expression -> FieldExpression
clone()The objects of this class are cloneable with this method.
FieldExpression$clone(deep = FALSE)
deepWhether to make a deep clone.
arrow::Object -> arrow::Expression -> ScalarExpression
clone()The objects of this class are cloneable with this method.
ScalarExpression$clone(deep = FALSE)
deepWhether to make a deep clone.
arrow::Object -> arrow::Expression -> ComparisonExpression
clone()The objects of this class are cloneable with this method.
ComparisonExpression$clone(deep = FALSE)
deepWhether to make a deep clone.
arrow::Object -> arrow::Expression -> AndExpression
clone()The objects of this class are cloneable with this method.
AndExpression$clone(deep = FALSE)
deepWhether to make a deep clone.
arrow::Object -> arrow::Expression -> OrExpression
clone()The objects of this class are cloneable with this method.
OrExpression$clone(deep = FALSE)
deepWhether to make a deep clone.
arrow::Object -> arrow::Expression -> NotExpression
clone()The objects of this class are cloneable with this method.
NotExpression$clone(deep = FALSE)
deepWhether to make a deep clone.