I - Vertex idV - Vertex valueE - Edge valuepublic abstract class EdgeOutputFormat<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable> extends OutputFormat<I,V,E>
| Constructor and Description |
|---|
EdgeOutputFormat() |
| Modifier and Type | Method and Description |
|---|---|
abstract EdgeWriter<I,V,E> |
createEdgeWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context)
Create an edge writer for a given split.
|
checkOutputSpecs, getOutputCommitter, postWriting, preWritinggetConf, setConfpublic abstract EdgeWriter<I,V,E> createEdgeWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException, InterruptedException
EdgeWriter.initialize(TaskAttemptContext) before
the split is used.context - the information about the taskIOExceptionInterruptedExceptionCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.