Class FunctionQueryOperation
- java.lang.Object
-
- org.apache.flink.table.operations.FunctionQueryOperation
-
- All Implemented Interfaces:
Operation
,QueryOperation
@Internal public class FunctionQueryOperation extends Object implements QueryOperation
Describes a relational operation that was created from applying a (process) table function.
-
-
Constructor Summary
Constructors Constructor Description FunctionQueryOperation(ContextResolvedFunction resolvedFunction, List<org.apache.flink.table.expressions.ResolvedExpression> arguments, org.apache.flink.table.catalog.ResolvedSchema resolvedSchema)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
accept(QueryOperationVisitor<T> visitor)
String
asSerializableString(org.apache.flink.table.expressions.SqlFactory sqlFactory)
Returns a SQL string that fully serializes this instance.String
asSummaryString()
Returns a string that summarizes this operation for printing to a console.List<org.apache.flink.table.expressions.ResolvedExpression>
getArguments()
List<QueryOperation>
getChildren()
org.apache.flink.table.types.DataType
getOutputDataType()
ContextResolvedFunction
getResolvedFunction()
org.apache.flink.table.catalog.ResolvedSchema
getResolvedSchema()
Resolved schema of this operation.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.flink.table.operations.QueryOperation
asSerializableString
-
-
-
-
Constructor Detail
-
FunctionQueryOperation
public FunctionQueryOperation(ContextResolvedFunction resolvedFunction, List<org.apache.flink.table.expressions.ResolvedExpression> arguments, org.apache.flink.table.catalog.ResolvedSchema resolvedSchema)
-
-
Method Detail
-
getResolvedFunction
public ContextResolvedFunction getResolvedFunction()
-
getArguments
public List<org.apache.flink.table.expressions.ResolvedExpression> getArguments()
-
getOutputDataType
public org.apache.flink.table.types.DataType getOutputDataType()
-
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
-
getResolvedSchema
public org.apache.flink.table.catalog.ResolvedSchema getResolvedSchema()
Description copied from interface:QueryOperation
Resolved schema of this operation.- Specified by:
getResolvedSchema
in interfaceQueryOperation
-
asSerializableString
public String asSerializableString(org.apache.flink.table.expressions.SqlFactory sqlFactory)
Description copied from interface:QueryOperation
Returns a SQL 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
- Parameters:
sqlFactory
- can be used to customize the serialization to a SQL string- Returns:
- Flink SQL string for persisting in a catalog
- See Also:
Operation.asSummaryString()
,EnvironmentSettings.Builder.withSqlFactory(SqlFactory)
-
getChildren
public List<QueryOperation> getChildren()
- Specified by:
getChildren
in interfaceQueryOperation
-
accept
public <T> T accept(QueryOperationVisitor<T> visitor)
- Specified by:
accept
in interfaceQueryOperation
-
-