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 inflink-table-common
to keep the dependencies of catalogs low.
-
-
Constructor Summary
Constructors Constructor Description SqlCallExpression(String sqlExpression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> R
accept(ExpressionVisitor<R> visitor)
String
asSummaryString()
Returns a string that summarizes this expression for printing to a console.boolean
equals(Object o)
List<Expression>
getChildren()
String
getSqlExpression()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
SqlCallExpression
public SqlCallExpression(String sqlExpression)
-
-
Method Detail
-
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 interfaceExpression
- Returns:
- summary string of this expression for debugging purposes
-
getChildren
public List<Expression> getChildren()
- Specified by:
getChildren
in interfaceExpression
-
accept
public <R> R accept(ExpressionVisitor<R> visitor)
- Specified by:
accept
in interfaceExpression
-
-