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 aTableFunction
.
-
-
Field Summary
Fields Modifier and Type Field Description static String
INPUT_ALIAS
-
Constructor Summary
Constructors Constructor Description CalculatedQueryOperation(ContextResolvedFunction resolvedFunction, List<ResolvedExpression> arguments, ResolvedSchema resolvedSchema)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <U> U
accept(QueryOperationVisitor<U> visitor)
String
asSerializableString()
Returns a string that fully serializes this instance.String
asSummaryString()
Returns a string that summarizes this operation for printing to a console.List<ResolvedExpression>
getArguments()
List<QueryOperation>
getChildren()
ContextResolvedFunction
getResolvedFunction()
ResolvedSchema
getResolvedSchema()
Resolved schema of this operation.
-
-
-
Field Detail
-
INPUT_ALIAS
public static final String INPUT_ALIAS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CalculatedQueryOperation
public CalculatedQueryOperation(ContextResolvedFunction resolvedFunction, List<ResolvedExpression> arguments, ResolvedSchema resolvedSchema)
-
-
Method Detail
-
getResolvedFunction
public ContextResolvedFunction getResolvedFunction()
-
getArguments
public List<ResolvedExpression> getArguments()
-
getResolvedSchema
public ResolvedSchema getResolvedSchema()
Description copied from interface:QueryOperation
Resolved schema of this operation.- Specified by:
getResolvedSchema
in interfaceQueryOperation
-
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 interfaceOperation
- 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. aCatalog
as a view.- Specified by:
asSerializableString
in interfaceQueryOperation
- Returns:
- detailed string for persisting in a catalog
- See Also:
Operation.asSummaryString()
-
getChildren
public List<QueryOperation> getChildren()
- Specified by:
getChildren
in interfaceQueryOperation
-
accept
public <U> U accept(QueryOperationVisitor<U> visitor)
- Specified by:
accept
in interfaceQueryOperation
-
-