I
- vertex id typeV
- vertex value typeE
- edge typepublic abstract class AccumuloVertexInputFormat<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>
AccumuloVertexOutputFormat
Modifier and Type | Class and Description |
---|---|
static class |
AccumuloVertexInputFormat.AccumuloVertexReader<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable>
Abstract class which provides a template for instantiating vertices
from Accumulo Key/Value pairs.
|
Modifier and Type | Field and Description |
---|---|
protected org.apache.accumulo.core.client.mapreduce.AccumuloInputFormat |
accumuloInputFormat
delegate input format for all accumulo operations.
|
Constructor and Description |
---|
AccumuloVertexInputFormat() |
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 org.apache.accumulo.core.client.mapreduce.AccumuloInputFormat accumuloInputFormat
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.