Class SqlCallExpression

java.lang.Object
org.apache.flink.table.expressions.SqlCallExpression
All Implemented Interfaces:
Expression

@PublicEvolving public final class SqlCallExpression extends Object implements Expression
A call to a SQL expression.

The given string is parsed and translated into an Expression during planning. Only the translated expression is evaluated during runtime.

Note: Actually, this class belongs into the flink-table-api-java module, however, since this expression is crucial for catalogs when defining persistable computed columns and watermark strategies, we keep it in flink-table-common to keep the dependencies of catalogs low.

  • Constructor Details

    • SqlCallExpression

      public SqlCallExpression(String sqlExpression)
  • Method Details

    • getSqlExpression

      public String getSqlExpression()
    • asSummaryString

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

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

      public <R> R accept(ExpressionVisitor<R> visitor)
      Specified by:
      accept in interface Expression
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object