Interface ResolvedExpression

  • All Superinterfaces:
    Expression
    All Known Implementing Classes:
    AggregateExpression, CallExpression, FieldReferenceExpression, TypeLiteralExpression, ValueLiteralExpression

    @PublicEvolving
    public interface ResolvedExpression
    extends Expression
    Expression that has been fully resolved and validated.

    Compared to Expression, resolved expressions do not contain unresolved subexpressions anymore and provide an output data type for the computation result.

    Instances of this class describe a fully parameterized, immutable expression that can be serialized and persisted.

    Resolved expression are the output of the API to the planner and are pushed from the planner into interfaces, for example, for predicate push-down.

    • Method Detail

      • asSerializableString

        default String asSerializableString()
        Returns a string that fully serializes this instance. The serialized string can be used for storing the query in, for example, a Catalog as a view.
        Returns:
        detailed string for persisting in a catalog
      • getOutputDataType

        DataType getOutputDataType()
        Returns the data type of the computation result.