Package com.yahoo.vespa.hadoop.mapreduce
Class VespaRecordWriter
VespaRecordWriter
sends the output <key, value> to one or more Vespa endpoints using vespa-feed-client.- Author:
- bjorncs
-
Constructor Summary
ModifierConstructorDescriptionprotected
VespaRecordWriter
(VespaConfiguration config, VespaCounters counters) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close
(org.apache.hadoop.mapreduce.TaskAttemptContext context) protected void
onFeedClientInitialization
(ai.vespa.feed.client.FeedClientBuilder builder) Override method to alterFeedClient
configurationvoid
-
Constructor Details
-
VespaRecordWriter
-
-
Method Details
-
write
- Specified by:
write
in classorg.apache.hadoop.mapreduce.RecordWriter<Object,
Object> - Throws:
IOException
-
close
- Specified by:
close
in classorg.apache.hadoop.mapreduce.RecordWriter<Object,
Object> - Throws:
IOException
-
onFeedClientInitialization
protected void onFeedClientInitialization(ai.vespa.feed.client.FeedClientBuilder builder) Override method to alterFeedClient
configuration
-