public abstract class HadoopInputFormat
extends org.apache.hadoop.mapreduce.InputFormat<org.apache.hadoop.io.NullWritable,org.apache.tinkerpop.gremlin.hadoop.structure.io.VertexWritable>
implements org.apache.hadoop.conf.Configurable, org.apache.tinkerpop.gremlin.hadoop.structure.io.GraphFilterAware
| Modifier and Type | Class and Description |
|---|---|
static class |
HadoopInputFormat.RefCountedCloseable<T extends AutoCloseable> |
| Constructor and Description |
|---|
HadoopInputFormat(org.apache.hadoop.mapreduce.InputFormat<StaticBuffer,Iterable<Entry>> inputFormat) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.NullWritable,org.apache.tinkerpop.gremlin.hadoop.structure.io.VertexWritable> |
createRecordReader(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context) |
org.apache.hadoop.conf.Configuration |
getConf() |
List<org.apache.hadoop.mapreduce.InputSplit> |
getSplits(org.apache.hadoop.mapreduce.JobContext context) |
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
void |
setGraphFilter(org.apache.tinkerpop.gremlin.process.computer.GraphFilter graphFilter) |
public HadoopInputFormat(org.apache.hadoop.mapreduce.InputFormat<StaticBuffer,Iterable<Entry>> inputFormat)
public List<org.apache.hadoop.mapreduce.InputSplit> getSplits(org.apache.hadoop.mapreduce.JobContext context) throws IOException, InterruptedException
getSplits in class org.apache.hadoop.mapreduce.InputFormat<org.apache.hadoop.io.NullWritable,org.apache.tinkerpop.gremlin.hadoop.structure.io.VertexWritable>IOExceptionInterruptedExceptionpublic org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.NullWritable,org.apache.tinkerpop.gremlin.hadoop.structure.io.VertexWritable> createRecordReader(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context)
throws IOException,
InterruptedException
createRecordReader in class org.apache.hadoop.mapreduce.InputFormat<org.apache.hadoop.io.NullWritable,org.apache.tinkerpop.gremlin.hadoop.structure.io.VertexWritable>IOExceptionInterruptedExceptionpublic void setConf(org.apache.hadoop.conf.Configuration conf)
setConf in interface org.apache.hadoop.conf.Configurablepublic org.apache.hadoop.conf.Configuration getConf()
getConf in interface org.apache.hadoop.conf.Configurablepublic void setGraphFilter(org.apache.tinkerpop.gremlin.process.computer.GraphFilter graphFilter)
setGraphFilter in interface org.apache.tinkerpop.gremlin.hadoop.structure.io.GraphFilterAwareCopyright © 2012–2024. All rights reserved.