protected abstract class TextVertexOutputFormat.TextVertexWriterToEachLine extends TextVertexOutputFormat.TextVertexWriter
| Modifier | Constructor and Description | 
|---|---|
| protected  | TextVertexWriterToEachLine() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected abstract org.apache.hadoop.io.Text | convertVertexToLine(Vertex<I,V,E> vertex)Writes a line for the given vertex. | 
| void | writeVertex(Vertex vertex)Writes the next vertex and associated data | 
close, createLineRecordWriter, getContext, getRecordWriter, initializegetConf, setConfpublic final void writeVertex(Vertex vertex) throws IOException, InterruptedException
SimpleVertexWritervertex - set the properties of this vertexIOExceptionInterruptedExceptionprotected abstract org.apache.hadoop.io.Text convertVertexToLine(Vertex<I,V,E> vertex) throws IOException
vertex - the current vertex for writingIOException - exception that can be thrown while writingCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.