Class CalculatedQueryOperation

java.lang.Object
org.apache.flink.table.operations.CalculatedQueryOperation
All Implemented Interfaces:
Operation, QueryOperation

@Internal public class CalculatedQueryOperation extends Object implements QueryOperation
Describes a relational operation that was created from applying a TableFunction.
  • Field Details

  • Constructor Details

    • CalculatedQueryOperation

      public CalculatedQueryOperation(ContextResolvedFunction resolvedFunction, List<org.apache.flink.table.expressions.ResolvedExpression> arguments, org.apache.flink.table.catalog.ResolvedSchema resolvedSchema)
  • Method Details

    • getResolvedFunction

      public ContextResolvedFunction getResolvedFunction()
    • getArguments

      public List<org.apache.flink.table.expressions.ResolvedExpression> getArguments()
    • getResolvedSchema

      public org.apache.flink.table.catalog.ResolvedSchema getResolvedSchema()
      Description copied from interface: QueryOperation
      Resolved schema of this operation.
      Specified by:
      getResolvedSchema in interface QueryOperation
    • asSummaryString

      public String asSummaryString()
      Description copied from interface: Operation
      Returns a string that summarizes this operation for printing to a console. An implementation might skip very specific properties.
      Specified by:
      asSummaryString in interface Operation
      Returns:
      summary string of this operation for debugging purposes
    • asSerializableString

      public String asSerializableString()
      Description copied from interface: QueryOperation
      Returns a string that fully serializes this instance. The serialized string can be used for storing the query in e.g. a Catalog as a view.
      Specified by:
      asSerializableString in interface QueryOperation
      Returns:
      detailed string for persisting in a catalog
      See Also:
    • getChildren

      public List<QueryOperation> getChildren()
      Specified by:
      getChildren in interface QueryOperation
    • accept

      public <U> U accept(QueryOperationVisitor<U> visitor)
      Specified by:
      accept in interface QueryOperation