Class VeniceVsonMapper
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.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable>
com.linkedin.venice.hadoop.mapreduce.datawriter.map.VeniceVsonMapper
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.hadoop.io.Closeable,org.apache.hadoop.mapred.JobConfigurable,org.apache.hadoop.mapred.Mapper<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable, org.apache.hadoop.io.BytesWritable, org.apache.hadoop.io.BytesWritable>
public class VeniceVsonMapper
extends AbstractVeniceMapper<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable>
Mapper that reads Vson input and deserializes it as Avro object and then Avro binary
-
Field Summary
Fields inherited from class com.linkedin.venice.hadoop.task.datawriter.AbstractInputRecordProcessor
EMPTY_BYTES, veniceRecordReaderFields inherited from class com.linkedin.venice.hadoop.task.datawriter.AbstractDataWriterTask
TASK_ID_NOT_SET -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAbstractVeniceRecordReader<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable> getRecordReader(VeniceProperties props) A method for child classes to setupAbstractInputRecordProcessor.veniceRecordReader.Methods inherited from class com.linkedin.venice.hadoop.mapreduce.datawriter.map.AbstractVeniceMapper
configure, mapMethods inherited from class com.linkedin.venice.hadoop.task.datawriter.AbstractInputRecordProcessor
close, configureTask, process, processRecord, readDictionaryFromKafkaMethods inherited from class com.linkedin.venice.hadoop.task.datawriter.AbstractDataWriterTask
configure, getEngineTaskConfigProvider, getPartitionCount, getTaskId, isChunkingEnabled, isRmdChunkingEnabled, setChunkingEnabled
-
Constructor Details
-
VeniceVsonMapper
public VeniceVsonMapper()
-
-
Method Details
-
getRecordReader
public AbstractVeniceRecordReader<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable> getRecordReader(VeniceProperties props) Description copied from class:AbstractInputRecordProcessorA method for child classes to setupAbstractInputRecordProcessor.veniceRecordReader.- Specified by:
getRecordReaderin classAbstractInputRecordProcessor<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable>
-