Class OutputConversionModifyOperation
- java.lang.Object
-
- org.apache.flink.table.operations.OutputConversionModifyOperation
-
- All Implemented Interfaces:
ModifyOperation
,Operation
@Internal public class OutputConversionModifyOperation extends Object implements ModifyOperation
Special, internal kind ofModifyOperation
that allows converting a tree ofQueryOperation
s to aTransformation
of given type described withTypeInformation
. This is used to convert a relational query to a datastream.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OutputConversionModifyOperation.UpdateMode
Should the output type contain the change flag, and what should the flag represent (retraction or deletion).
-
Constructor Summary
Constructors Constructor Description OutputConversionModifyOperation(QueryOperation child, DataType type, OutputConversionModifyOperation.UpdateMode updateMode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> R
accept(ModifyOperationVisitor<R> visitor)
String
asSummaryString()
Returns a string that summarizes this operation for printing to a console.QueryOperation
getChild()
DataType
getType()
OutputConversionModifyOperation.UpdateMode
getUpdateMode()
-
-
-
Constructor Detail
-
OutputConversionModifyOperation
public OutputConversionModifyOperation(QueryOperation child, DataType type, OutputConversionModifyOperation.UpdateMode updateMode)
-
-
Method Detail
-
getUpdateMode
public OutputConversionModifyOperation.UpdateMode getUpdateMode()
-
getType
public DataType getType()
-
getChild
public QueryOperation getChild()
- Specified by:
getChild
in interfaceModifyOperation
-
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
-
accept
public <R> R accept(ModifyOperationVisitor<R> visitor)
- Specified by:
accept
in interfaceModifyOperation
-
-