@Internal public class SinkModifyOperation extends Object implements ModifyOperation
The sink is described by getContextResolvedTable(), and in general is used for every
sink which implementation is defined with DynamicTableSink. DataStream and TableResult.collect() sinks are handled by respectively ExternalModifyOperation and
CollectModifyOperation.
| Constructor and Description |
|---|
SinkModifyOperation(ContextResolvedTable contextResolvedTable,
QueryOperation child) |
SinkModifyOperation(ContextResolvedTable contextResolvedTable,
QueryOperation child,
Map<String,String> staticPartitions,
boolean overwrite,
Map<String,String> dynamicOptions) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(ModifyOperationVisitor<T> visitor) |
String |
asSummaryString()
Returns a string that summarizes this operation for printing to a console.
|
QueryOperation |
getChild() |
ContextResolvedTable |
getContextResolvedTable() |
Map<String,String> |
getDynamicOptions() |
Map<String,String> |
getStaticPartitions() |
boolean |
isOverwrite() |
public SinkModifyOperation(ContextResolvedTable contextResolvedTable, QueryOperation child)
public SinkModifyOperation(ContextResolvedTable contextResolvedTable, QueryOperation child, Map<String,String> staticPartitions, boolean overwrite, Map<String,String> dynamicOptions)
public ContextResolvedTable getContextResolvedTable()
public boolean isOverwrite()
public QueryOperation getChild()
getChild in interface ModifyOperationpublic <T> T accept(ModifyOperationVisitor<T> visitor)
accept in interface ModifyOperationpublic String asSummaryString()
OperationasSummaryString in interface OperationCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.