gravitino.api.expressions.expression.Expression¶
- class gravitino.api.expressions.expression.Expression¶
Bases:
ABC
Base class of the public logical expression API.
- __init__()¶
Methods
__init__
()children
()Returns a list of the children of this node.
Returns a list of fields or columns that are referenced by this expression.
Attributes
EMPTY_EXPRESSION is only used as an input when the default children method builds the result.
EMPTY_NAMED_REFERENCE is only used as an input when the default references method builds the result array to avoid repeatedly allocating an empty array.
- EMPTY_EXPRESSION: List[Expression] = []¶
EMPTY_EXPRESSION is only used as an input when the default children method builds the result.
- EMPTY_NAMED_REFERENCE: List[NamedReference] = []¶
EMPTY_NAMED_REFERENCE is only used as an input when the default references method builds the result array to avoid repeatedly allocating an empty array.
- abstract children() List[Expression] ¶
Returns a list of the children of this node. Children should not change.
- references() List[NamedReference] ¶
Returns a list of fields or columns that are referenced by this expression.