Class OutputFormatSinkFunction<IN>
java.lang.Object
org.apache.flink.api.common.functions.AbstractRichFunction
org.apache.flink.streaming.api.functions.sink.legacy.RichSinkFunction<IN>
org.apache.flink.streaming.api.functions.sink.legacy.OutputFormatSinkFunction<IN>
- Type Parameters:
IN- Input type
- All Implemented Interfaces:
Serializable,org.apache.flink.api.common.functions.Function,org.apache.flink.api.common.functions.RichFunction,org.apache.flink.api.java.typeutils.InputTypeConfigurable,SinkFunction<IN>
@Internal
public class OutputFormatSinkFunction<IN>
extends RichSinkFunction<IN>
implements org.apache.flink.api.java.typeutils.InputTypeConfigurable
Deprecated.
Simple implementation of the SinkFunction writing tuples in the specified OutputFormat format.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.flink.streaming.api.functions.sink.legacy.SinkFunction
SinkFunction.Context -
Constructor Summary
ConstructorsConstructorDescriptionOutputFormatSinkFunction(org.apache.flink.api.common.io.OutputFormat<IN> format) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Deprecated.org.apache.flink.api.common.io.OutputFormat<IN>Deprecated.voidDeprecated.voidopen(org.apache.flink.api.common.functions.OpenContext openContext) Deprecated.voidsetInputType(org.apache.flink.api.common.typeinfo.TypeInformation<?> type, org.apache.flink.api.common.ExecutionConfig executionConfig) Deprecated.voidsetRuntimeContext(org.apache.flink.api.common.functions.RuntimeContext context) Deprecated.Methods inherited from class org.apache.flink.api.common.functions.AbstractRichFunction
getIterationRuntimeContext, getRuntimeContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.streaming.api.functions.sink.legacy.SinkFunction
finish, invoke, writeWatermark
-
Constructor Details
-
OutputFormatSinkFunction
Deprecated.
-
-
Method Details
-
open
Deprecated.- Specified by:
openin interfaceorg.apache.flink.api.common.functions.RichFunction- Overrides:
openin classorg.apache.flink.api.common.functions.AbstractRichFunction- Throws:
Exception
-
setRuntimeContext
public void setRuntimeContext(org.apache.flink.api.common.functions.RuntimeContext context) Deprecated.- Specified by:
setRuntimeContextin interfaceorg.apache.flink.api.common.functions.RichFunction- Overrides:
setRuntimeContextin classorg.apache.flink.api.common.functions.AbstractRichFunction
-
setInputType
public void setInputType(org.apache.flink.api.common.typeinfo.TypeInformation<?> type, org.apache.flink.api.common.ExecutionConfig executionConfig) Deprecated.- Specified by:
setInputTypein interfaceorg.apache.flink.api.java.typeutils.InputTypeConfigurable
-
invoke
Deprecated.- Specified by:
invokein interfaceSinkFunction<IN>- Throws:
Exception
-
close
Deprecated.- Specified by:
closein interfaceorg.apache.flink.api.common.functions.RichFunction- Overrides:
closein classorg.apache.flink.api.common.functions.AbstractRichFunction- Throws:
IOException
-
getFormat
Deprecated.
-
StreamingFileSinkfor writing to files from a streaming program.