protected static class AccumuloOutputFormat.AccumuloRecordWriter extends Object implements org.apache.hadoop.mapred.RecordWriter<org.apache.hadoop.io.Text,Mutation>
RecordWriter instances that write to Accumulo.| Modifier | Constructor and Description |
|---|---|
protected |
AccumuloOutputFormat.AccumuloRecordWriter(org.apache.hadoop.mapred.JobConf job) |
protected AccumuloOutputFormat.AccumuloRecordWriter(org.apache.hadoop.mapred.JobConf job)
throws AccumuloException,
AccumuloSecurityException,
IOException
public void write(org.apache.hadoop.io.Text table,
Mutation mutation)
throws IOException
write in interface org.apache.hadoop.mapred.RecordWriter<org.apache.hadoop.io.Text,Mutation>IOExceptionpublic void addTable(org.apache.hadoop.io.Text tableName)
throws AccumuloException,
AccumuloSecurityException
public void close(org.apache.hadoop.mapred.Reporter reporter)
throws IOException
close in interface org.apache.hadoop.mapred.RecordWriter<org.apache.hadoop.io.Text,Mutation>IOExceptionCopyright © 2011-2016 The Apache Software Foundation. All Rights Reserved.