public class TitanH1RecordWriter
extends org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.NullWritable,org.apache.tinkerpop.gremlin.hadoop.structure.io.VertexWritable>
| Constructor and Description |
|---|
TitanH1RecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext taskAttemptContext,
StandardTitanTx tx,
Set<String> persistableKeys) |
| Modifier and Type | Method and Description |
|---|---|
void |
close(org.apache.hadoop.mapreduce.TaskAttemptContext context) |
void |
write(org.apache.hadoop.io.NullWritable key,
org.apache.tinkerpop.gremlin.hadoop.structure.io.VertexWritable value) |
public TitanH1RecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext taskAttemptContext,
StandardTitanTx tx,
Set<String> persistableKeys)
public void write(org.apache.hadoop.io.NullWritable key,
org.apache.tinkerpop.gremlin.hadoop.structure.io.VertexWritable value)
throws IOException,
InterruptedException
write in class org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.NullWritable,org.apache.tinkerpop.gremlin.hadoop.structure.io.VertexWritable>IOExceptionInterruptedExceptionpublic void close(org.apache.hadoop.mapreduce.TaskAttemptContext context)
throws IOException,
InterruptedException
close in class org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.NullWritable,org.apache.tinkerpop.gremlin.hadoop.structure.io.VertexWritable>IOExceptionInterruptedExceptionCopyright © 2012–2015. All rights reserved.