Class TextOutputFormat<T>
java.lang.Object
org.apache.flink.api.common.io.RichOutputFormat<IT>
org.apache.flink.api.common.io.FileOutputFormat<T>
org.apache.flink.streaming.api.legacy.io.TextOutputFormat<T>
- All Implemented Interfaces:
Serializable,org.apache.flink.api.common.io.CleanupWhenUnsuccessful,org.apache.flink.api.common.io.InitializeOnMaster,org.apache.flink.api.common.io.OutputFormat<T>
@Deprecated
@PublicEvolving
public class TextOutputFormat<T>
extends org.apache.flink.api.common.io.FileOutputFormat<T>
Deprecated.
A
FileOutputFormat that writes objects to a text file.
Objects are converted to Strings using either Object.toString() or a TextOutputFormat.TextFormatter.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceDeprecated.Formatter that transforms values into theirStringrepresentations.Nested classes/interfaces inherited from class org.apache.flink.api.common.io.FileOutputFormat
org.apache.flink.api.common.io.FileOutputFormat.OutputDirectoryModeNested classes/interfaces inherited from interface org.apache.flink.api.common.io.OutputFormat
org.apache.flink.api.common.io.OutputFormat.InitializationContext -
Field Summary
Fields inherited from class org.apache.flink.api.common.io.FileOutputFormat
outputFilePath, stream -
Constructor Summary
ConstructorsConstructorDescriptionTextOutputFormat(org.apache.flink.core.fs.Path outputPath) Deprecated.TextOutputFormat(org.apache.flink.core.fs.Path outputPath, String charset) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.voidsetCharsetName(String charsetName) Deprecated.toString()Deprecated.voidwriteRecord(T record) Deprecated.Methods inherited from class org.apache.flink.api.common.io.FileOutputFormat
close, configure, getDirectoryFileName, getOutputDirectoryMode, getOutputFilePath, getWriteMode, initDefaultsFromConfiguration, initializeGlobal, open, setOutputDirectoryMode, setOutputFilePath, setWriteMode, tryCleanupOnErrorMethods inherited from class org.apache.flink.api.common.io.RichOutputFormat
getRuntimeContext, setRuntimeContext
-
Constructor Details
-
TextOutputFormat
public TextOutputFormat(org.apache.flink.core.fs.Path outputPath) Deprecated. -
TextOutputFormat
Deprecated.
-
-
Method Details
-
getCharsetName
Deprecated. -
setCharsetName
public void setCharsetName(String charsetName) throws IllegalCharsetNameException, UnsupportedCharsetException Deprecated. -
writeRecord
Deprecated.- Throws:
IOException
-
toString
Deprecated.
-
InputFormatandOutputFormat