public class VespaOutputFormat
extends org.apache.hadoop.mapreduce.OutputFormat
VespaRecordWriter
that does the
actual feeding to Vespa.Modifier and Type | Field and Description |
---|---|
(package private) Properties |
configOverride |
Constructor and Description |
---|
VespaOutputFormat() |
VespaOutputFormat(Properties configOverride) |
Modifier and Type | Method and Description |
---|---|
void |
checkOutputSpecs(org.apache.hadoop.mapreduce.JobContext jobContext) |
org.apache.hadoop.mapreduce.OutputCommitter |
getOutputCommitter(org.apache.hadoop.mapreduce.TaskAttemptContext taskAttemptContext) |
org.apache.hadoop.mapreduce.RecordWriter |
getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context) |
final Properties configOverride
public VespaOutputFormat()
public VespaOutputFormat(Properties configOverride)
public org.apache.hadoop.mapreduce.RecordWriter getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException, InterruptedException
getRecordWriter
in class org.apache.hadoop.mapreduce.OutputFormat
IOException
InterruptedException
public org.apache.hadoop.mapreduce.OutputCommitter getOutputCommitter(org.apache.hadoop.mapreduce.TaskAttemptContext taskAttemptContext) throws IOException, InterruptedException
getOutputCommitter
in class org.apache.hadoop.mapreduce.OutputFormat
IOException
InterruptedException
public void checkOutputSpecs(org.apache.hadoop.mapreduce.JobContext jobContext) throws IOException, InterruptedException
checkOutputSpecs
in class org.apache.hadoop.mapreduce.OutputFormat
IOException
InterruptedException
Copyright © 2018. All rights reserved.