Class IdentityVeniceRecordReader
java.lang.Object
com.linkedin.venice.hadoop.input.recordreader.AbstractVeniceRecordReader<ByteBuffer,ByteBuffer>
com.linkedin.venice.hadoop.input.recordreader.avro.IdentityVeniceRecordReader
A record reader that returns the input key and value as is.
-
Method Summary
Modifier and TypeMethodDescriptiongetAvroKey
(ByteBuffer keyBytes, ByteBuffer valueBytes) Return an Avro output keygetAvroValue
(ByteBuffer keyBytes, ByteBuffer valueBytes) return an Avro output valuestatic IdentityVeniceRecordReader
byte[]
getKeyBytes
(ByteBuffer keyBuffer, ByteBuffer valueBuffer) Return a serialized output keybyte[]
getValueBytes
(ByteBuffer keyBuffer, ByteBuffer valueBuffer) Return a serialized output valueMethods inherited from class com.linkedin.venice.hadoop.input.recordreader.AbstractVeniceRecordReader
configure, getKeySchema, getValueSchema
-
Method Details
-
getInstance
-
getAvroKey
Description copied from class:AbstractVeniceRecordReader
Return an Avro output key- Specified by:
getAvroKey
in classAbstractVeniceRecordReader<ByteBuffer,
ByteBuffer>
-
getKeyBytes
Description copied from class:AbstractVeniceRecordReader
Return a serialized output key- Overrides:
getKeyBytes
in classAbstractVeniceRecordReader<ByteBuffer,
ByteBuffer>
-
getAvroValue
Description copied from class:AbstractVeniceRecordReader
return an Avro output value- Specified by:
getAvroValue
in classAbstractVeniceRecordReader<ByteBuffer,
ByteBuffer>
-
getValueBytes
Description copied from class:AbstractVeniceRecordReader
Return a serialized output value- Overrides:
getValueBytes
in classAbstractVeniceRecordReader<ByteBuffer,
ByteBuffer>
-