public class AccumuloRecordWriter extends org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.Text,Mutation>
RecordWriter
instances that write to Accumulo.Constructor and Description |
---|
AccumuloRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context) |
Modifier and Type | Method and Description |
---|---|
void |
addTable(org.apache.hadoop.io.Text tableName) |
void |
close(org.apache.hadoop.mapreduce.TaskAttemptContext attempt) |
void |
write(org.apache.hadoop.io.Text table,
Mutation mutation)
Push a mutation into a table.
|
public AccumuloRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context)
public void write(org.apache.hadoop.io.Text table, Mutation mutation) throws IOException
write
in class org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.Text,Mutation>
IOException
public void addTable(org.apache.hadoop.io.Text tableName) throws AccumuloException, AccumuloSecurityException
public void close(org.apache.hadoop.mapreduce.TaskAttemptContext attempt) throws IOException
close
in class org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.Text,Mutation>
IOException
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.