Class VeniceVsonRecordReader
java.lang.Object
com.linkedin.venice.hadoop.input.recordreader.AbstractVeniceRecordReader<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable>
com.linkedin.venice.hadoop.input.recordreader.vson.VeniceVsonRecordReader
public class VeniceVsonRecordReader
extends AbstractVeniceRecordReader<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable>
A record reader that reads records from VSON SequenceFile file input into Avro-serialized keys and values.
-
Constructor Summary
ConstructorDescriptionVeniceVsonRecordReader
(String keySchemaString, String valueSchemaString, String keyField, String valueField) VeniceVsonRecordReader
(String keyField, String valueField, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path hdfsPath) -
Method Summary
Modifier and TypeMethodDescriptiongetAvroKey
(org.apache.hadoop.io.BytesWritable inputKey, org.apache.hadoop.io.BytesWritable inputValue) Return an Avro output keygetAvroValue
(org.apache.hadoop.io.BytesWritable inputKey, org.apache.hadoop.io.BytesWritable inputValue) return an Avro output valueMethods inherited from class com.linkedin.venice.hadoop.input.recordreader.AbstractVeniceRecordReader
configure, getKeyBytes, getKeySchema, getValueBytes, getValueSchema
-
Constructor Details
-
VeniceVsonRecordReader
-
VeniceVsonRecordReader
-
VeniceVsonRecordReader
-
-
Method Details
-
getAvroKey
public Object getAvroKey(org.apache.hadoop.io.BytesWritable inputKey, org.apache.hadoop.io.BytesWritable inputValue) Description copied from class:AbstractVeniceRecordReader
Return an Avro output key- Specified by:
getAvroKey
in classAbstractVeniceRecordReader<org.apache.hadoop.io.BytesWritable,
org.apache.hadoop.io.BytesWritable>
-
getAvroValue
public Object getAvroValue(org.apache.hadoop.io.BytesWritable inputKey, org.apache.hadoop.io.BytesWritable inputValue) Description copied from class:AbstractVeniceRecordReader
return an Avro output value- Specified by:
getAvroValue
in classAbstractVeniceRecordReader<org.apache.hadoop.io.BytesWritable,
org.apache.hadoop.io.BytesWritable>
-
getMetadataMap
-