Class WriteFormatAsText<IN>
- java.lang.Object
-
- org.apache.flink.streaming.api.functions.sink.WriteFormat<IN>
-
- org.apache.flink.streaming.api.functions.sink.WriteFormatAsText<IN>
-
- Type Parameters:
IN- Input tuple type
- All Implemented Interfaces:
Serializable
@PublicEvolving @Deprecated public class WriteFormatAsText<IN> extends WriteFormat<IN>
Deprecated.Please use theStreamingFileSinkfor writing to files from a streaming program.Writes tuples in text format.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WriteFormatAsText()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidwrite(String path, ArrayList<IN> tupleList)Deprecated.Writes the contents of tupleList to the file specified by path.
-
-
-
Method Detail
-
write
public void write(String path, ArrayList<IN> tupleList)
Deprecated.Description copied from class:WriteFormatWrites the contents of tupleList to the file specified by path.- Specified by:
writein classWriteFormat<IN>- Parameters:
path- is the path to the location where the tuples are writtentupleList- is the list of tuples to be written
-
-