Class VeniceAvroMapper
java.lang.Object
com.linkedin.venice.hadoop.task.datawriter.AbstractDataWriterTask
com.linkedin.venice.hadoop.task.datawriter.AbstractInputRecordProcessor<INPUT_KEY,INPUT_VALUE>
com.linkedin.venice.hadoop.mapreduce.datawriter.map.AbstractVeniceMapper<org.apache.avro.mapred.AvroWrapper<org.apache.avro.generic.IndexedRecord>,org.apache.hadoop.io.NullWritable>
com.linkedin.venice.hadoop.mapreduce.datawriter.map.VeniceAvroMapper
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.apache.hadoop.io.Closeable
,org.apache.hadoop.mapred.JobConfigurable
,org.apache.hadoop.mapred.Mapper<org.apache.avro.mapred.AvroWrapper<org.apache.avro.generic.IndexedRecord>,
org.apache.hadoop.io.NullWritable, org.apache.hadoop.io.BytesWritable, org.apache.hadoop.io.BytesWritable>
public class VeniceAvroMapper
extends AbstractVeniceMapper<org.apache.avro.mapred.AvroWrapper<org.apache.avro.generic.IndexedRecord>,org.apache.hadoop.io.NullWritable>
-
Field Summary
Fields inherited from class com.linkedin.venice.hadoop.task.datawriter.AbstractInputRecordProcessor
veniceRecordReader
Fields inherited from class com.linkedin.venice.hadoop.task.datawriter.AbstractDataWriterTask
TASK_ID_NOT_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAbstractVeniceRecordReader<org.apache.avro.mapred.AvroWrapper<org.apache.avro.generic.IndexedRecord>,
org.apache.hadoop.io.NullWritable> getRecordReader
(VeniceProperties props) A method for child classes to setupAbstractInputRecordProcessor.veniceRecordReader
.Methods inherited from class com.linkedin.venice.hadoop.mapreduce.datawriter.map.AbstractVeniceMapper
configure, map
Methods inherited from class com.linkedin.venice.hadoop.task.datawriter.AbstractInputRecordProcessor
close, configureTask, process, processRecord, readDictionaryFromKafka
Methods inherited from class com.linkedin.venice.hadoop.task.datawriter.AbstractDataWriterTask
configure, getEngineTaskConfigProvider, getPartitionCount, getTaskId, isChunkingEnabled, isRmdChunkingEnabled, setChunkingEnabled
-
Constructor Details
-
VeniceAvroMapper
public VeniceAvroMapper()
-
-
Method Details
-
getRecordReader
public AbstractVeniceRecordReader<org.apache.avro.mapred.AvroWrapper<org.apache.avro.generic.IndexedRecord>,org.apache.hadoop.io.NullWritable> getRecordReader(VeniceProperties props) Description copied from class:AbstractInputRecordProcessor
A method for child classes to setupAbstractInputRecordProcessor.veniceRecordReader
.- Specified by:
getRecordReader
in classAbstractInputRecordProcessor<org.apache.avro.mapred.AvroWrapper<org.apache.avro.generic.IndexedRecord>,
org.apache.hadoop.io.NullWritable>
-