I
- Vertex index valueV
- Vertex valueE
- Edge valuepublic abstract class HBaseVertexInputFormat<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable> extends VertexInputFormat<I,V,E>
HBaseVertexOutputFormat
Modifier and Type | Class and Description |
---|---|
static class |
HBaseVertexInputFormat.HBaseVertexReader<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable>
Takes an instance of RecordReader that supports
HBase row-key, result records.
|
Modifier and Type | Field and Description |
---|---|
protected static org.apache.hadoop.hbase.mapreduce.TableInputFormat |
BASE_FORMAT
delegate HBase table input format
|
Constructor and Description |
---|
HBaseVertexInputFormat() |
Modifier and Type | Method and Description |
---|---|
List<org.apache.hadoop.mapreduce.InputSplit> |
getSplits(org.apache.hadoop.mapreduce.JobContext context,
int minSplitCountHint)
Get the list of input splits for the format.
|
createVertexReader
checkInputSpecs, readInputSplit, writeInputSplit
getConf, setConf
protected static final org.apache.hadoop.hbase.mapreduce.TableInputFormat BASE_FORMAT
public List<org.apache.hadoop.mapreduce.InputSplit> getSplits(org.apache.hadoop.mapreduce.JobContext context, int minSplitCountHint) throws IOException, InterruptedException
GiraphInputFormat
getSplits
in class GiraphInputFormat<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable>
context
- The job contextminSplitCountHint
- Minimum number of splits to create (hint)IOException
InterruptedException
Copyright © 2011-2019 The Apache Software Foundation. All Rights Reserved.