gravitino.api.expressions.unparsed_expression.UnparsedExpressionImpl¶
- class gravitino.api.expressions.unparsed_expression.UnparsedExpressionImpl(unparsed_expression: str)¶
- Bases: - UnparsedExpression- An implementation of the UnparsedExpression interface. - __init__(unparsed_expression: str)¶
 - Methods - __init__(unparsed_expression)- children()- Unparsed expressions do not have children. - of(unparsed_expression)- Creates a new UnparsedExpression with the given unparsed expression. - Returns a list of fields or columns that are referenced by this expression. - Returns the unparsed expression as a string. - 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. 
 - children() list[Expression]¶
- Unparsed expressions do not have children. 
 - static of(unparsed_expression: str) UnparsedExpressionImpl¶
- Creates a new UnparsedExpression with the given unparsed expression. - Parameters:
- unparsed_expression – The unparsed expression as a string. 
- Returns:
- The created UnparsedExpression. 
 
 - references() List[NamedReference]¶
- Returns a list of fields or columns that are referenced by this expression. 
 - unparsed_expression() str¶
- Returns the unparsed expression as a string.