IN - Input tuple type@PublicEvolving public class WriteFormatAsText<IN> extends WriteFormat<IN>
| Constructor and Description |
|---|
WriteFormatAsText() |
| Modifier and Type | Method and Description |
|---|---|
void |
write(String path,
ArrayList<IN> tupleList)
Writes the contents of tupleList to the file specified by path.
|
public void write(String path, ArrayList<IN> tupleList)
WriteFormatwrite in class WriteFormat<IN>path - is the path to the location where the tuples are writtentupleList - is the list of tuples to be writtenCopyright © 2014–2016 The Apache Software Foundation. All rights reserved.