IN- Input tuple type
StreamingFileSinkfor writing to files from a streaming program.
@PublicEvolving @Deprecated public class WriteFormatAsText<IN> extends WriteFormat<IN>
|Constructor and Description|
|Modifier and Type||Method and Description|
Writes the contents of tupleList to the file specified by path.
public void write(String path, ArrayList<IN> tupleList)
path- is the path to the location where the tuples are written
tupleList- is the list of tuples to be written
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.