I - Vertex index valueV - Vertex valueE - Edge valuepublic abstract static class HBaseVertexOutputFormat.HBaseVertexWriter<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable> extends VertexWriter<I,V,E>
| Constructor and Description |
|---|
HBaseVertexWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context)
Sets up base table output format and creates a record writer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close(org.apache.hadoop.mapreduce.TaskAttemptContext context)
close
|
org.apache.hadoop.mapreduce.TaskAttemptContext |
getContext()
getContext
|
org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.io.Writable> |
getRecordWriter()
Get the table record writer;
|
void |
initialize(org.apache.hadoop.mapreduce.TaskAttemptContext context)
initialize
|
getConf, setConfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwriteVertexpublic HBaseVertexWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context)
throws IOException,
InterruptedException
context - task attempt contextIOExceptionInterruptedExceptionpublic void initialize(org.apache.hadoop.mapreduce.TaskAttemptContext context)
throws IOException
initialize in class VertexWriter<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable>context - Context used to write the vertices.IOExceptionpublic void close(org.apache.hadoop.mapreduce.TaskAttemptContext context)
throws IOException,
InterruptedException
close in class VertexWriter<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable>context - the context of the taskIOExceptionInterruptedExceptionpublic org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.io.Writable> getRecordWriter()
public org.apache.hadoop.mapreduce.TaskAttemptContext getContext()
Copyright © 2011-2019 The Apache Software Foundation. All Rights Reserved.