Package io.hgraphdb.giraph
Class HBaseEdgeOutputFormat
- java.lang.Object
-
- org.apache.giraph.conf.DefaultImmutableClassesGiraphConfigurable<I,V,E>
-
- org.apache.giraph.io.OutputFormat<I,V,E>
-
- org.apache.giraph.io.EdgeOutputFormat<ObjectWritable,VertexValueWritable,EdgeValueWritable>
-
- io.hgraphdb.giraph.HBaseEdgeOutputFormat
-
- All Implemented Interfaces:
org.apache.giraph.conf.GiraphConfigurationSettable<ObjectWritable,VertexValueWritable,EdgeValueWritable>
,org.apache.giraph.conf.ImmutableClassesGiraphConfigurable<ObjectWritable,VertexValueWritable,EdgeValueWritable>
public abstract class HBaseEdgeOutputFormat extends org.apache.giraph.io.EdgeOutputFormat<ObjectWritable,VertexValueWritable,EdgeValueWritable>
Base class for writing Edge mutations back to specific rows in an HBase table. This class wraps an instance of TableOutputFormat for easy configuration with the existing properties. Works withHBaseEdgeInputFormat
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HBaseEdgeOutputFormat.HBaseEdgeWriter
Constructor
-
Constructor Summary
Constructors Constructor Description HBaseEdgeOutputFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkOutputSpecs(org.apache.hadoop.mapreduce.JobContext context)
checkOutputSpecsorg.apache.hadoop.mapreduce.OutputCommitter
getOutputCommitter(org.apache.hadoop.mapreduce.TaskAttemptContext context)
getOutputCommitter
-
-
-
Method Detail
-
checkOutputSpecs
public void checkOutputSpecs(org.apache.hadoop.mapreduce.JobContext context) throws IOException, InterruptedException
checkOutputSpecs- Specified by:
checkOutputSpecs
in classorg.apache.giraph.io.OutputFormat<ObjectWritable,VertexValueWritable,EdgeValueWritable>
- Parameters:
context
- information about the job- Throws:
IOException
InterruptedException
-
getOutputCommitter
public org.apache.hadoop.mapreduce.OutputCommitter getOutputCommitter(org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException, InterruptedException
getOutputCommitter- Specified by:
getOutputCommitter
in classorg.apache.giraph.io.OutputFormat<ObjectWritable,VertexValueWritable,EdgeValueWritable>
- Parameters:
context
- the task context- Returns:
- OutputCommitter ouputCommitter
- Throws:
IOException
InterruptedException
-
-