public class BulkLoadOutputFormat extends org.apache.hadoop.mapreduce.OutputFormat<ByteBufWritableComparable,org.ojai.Document> implements org.apache.hadoop.conf.Configurable
| Modifier and Type | Field and Description |
|---|---|
static String |
OUTPUT_TABLE |
| Constructor and Description |
|---|
BulkLoadOutputFormat() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkOutputSpecs(org.apache.hadoop.mapreduce.JobContext context) |
org.apache.hadoop.conf.Configuration |
getConf() |
org.apache.hadoop.mapreduce.OutputCommitter |
getOutputCommitter(org.apache.hadoop.mapreduce.TaskAttemptContext context) |
static List<ByteBufWritableComparable> |
getPartitionSplitPoints(String tabName) |
org.apache.hadoop.mapreduce.RecordWriter<ByteBufWritableComparable,org.ojai.Document> |
getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context) |
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
public static final String OUTPUT_TABLE
public 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 org.apache.hadoop.mapreduce.RecordWriter<ByteBufWritableComparable,org.ojai.Document> getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException, InterruptedException
getRecordWriter in class org.apache.hadoop.mapreduce.OutputFormat<ByteBufWritableComparable,org.ojai.Document>IOExceptionInterruptedExceptionpublic void checkOutputSpecs(org.apache.hadoop.mapreduce.JobContext context)
throws IOException,
InterruptedException
checkOutputSpecs in class org.apache.hadoop.mapreduce.OutputFormat<ByteBufWritableComparable,org.ojai.Document>IOExceptionInterruptedExceptionpublic org.apache.hadoop.mapreduce.OutputCommitter getOutputCommitter(org.apache.hadoop.mapreduce.TaskAttemptContext context)
throws IOException,
InterruptedException
getOutputCommitter in class org.apache.hadoop.mapreduce.OutputFormat<ByteBufWritableComparable,org.ojai.Document>IOExceptionInterruptedExceptionpublic static List<ByteBufWritableComparable> getPartitionSplitPoints(String tabName) throws IOException
tabName - IOExceptionCopyright © 2015 Mapr Technologies, Inc.. All rights reserved.