Interface QueryOperation
- All Superinterfaces:
Operation
Base class for representing an operation structure behind a user-facing
Table API.
It represents an operation that can be a node of a relational query. It has a schema, that can
be used to validate a QueryOperation applied on top of this one.
-
Method Summary
Modifier and TypeMethodDescriptiondefault <T> Taccept(org.apache.flink.table.operations.QueryOperationVisitor<T> visitor) default StringReturns a SQL string that fully serializes this instance.default StringasSerializableString(SqlFactory sqlFactory) Returns a SQL string that fully serializes this instance.Resolved schema of this operation.Methods inherited from interface org.apache.flink.table.operations.Operation
asSummaryString
-
Method Details
-
getResolvedSchema
ResolvedSchema getResolvedSchema()Resolved schema of this operation. -
asSerializableString
Returns a SQL string that fully serializes this instance. The serialized string can be used for storing the query in e.g. aCatalogas a view.- Returns:
- detailed string for persisting in a catalog
- See Also:
-
asSerializableString
Returns a SQL string that fully serializes this instance. The serialized string can be used for storing the query in e.g. aCatalogas a view.- Parameters:
sqlFactory- can be used to customize the serialization to a SQL string- Returns:
- Flink SQL string for persisting in a catalog
- See Also:
-
getChildren
List<QueryOperation> getChildren() -
accept
default <T> T accept(org.apache.flink.table.operations.QueryOperationVisitor<T> visitor)
-