I
- Vertex index valueV
- Vertex valueE
- Edge valuepublic class IdWithValueTextOutputFormat<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable> extends TextVertexOutputFormat<I,V,E>
Modifier and Type | Class and Description |
---|---|
protected class |
IdWithValueTextOutputFormat.IdWithValueVertexWriter
Vertex writer used with
IdWithValueTextOutputFormat . |
TextVertexOutputFormat.TextVertexWriter, TextVertexOutputFormat.TextVertexWriterToEachLine
Modifier and Type | Field and Description |
---|---|
static String |
LINE_TOKENIZE_VALUE
Specify the output delimiter
|
static String |
LINE_TOKENIZE_VALUE_DEFAULT
Default output delimiter
|
static String |
REVERSE_ID_AND_VALUE
Reverse id and value order?
|
static boolean |
REVERSE_ID_AND_VALUE_DEFAULT
Default is to not reverse id and value order.
|
textOutputFormat
Constructor and Description |
---|
IdWithValueTextOutputFormat() |
Modifier and Type | Method and Description |
---|---|
TextVertexOutputFormat.TextVertexWriter |
createVertexWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context)
The factory method which produces the
TextVertexOutputFormat.TextVertexWriter used by this
output format. |
checkOutputSpecs, getOutputCommitter
postWriting, preWriting
getConf, setConf
public static final String LINE_TOKENIZE_VALUE
public static final String LINE_TOKENIZE_VALUE_DEFAULT
public static final String REVERSE_ID_AND_VALUE
public static final boolean REVERSE_ID_AND_VALUE_DEFAULT
public TextVertexOutputFormat.TextVertexWriter createVertexWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context)
TextVertexOutputFormat
TextVertexOutputFormat.TextVertexWriter
used by this
output format.createVertexWriter
in class TextVertexOutputFormat<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable>
context
- the information about the taskCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.