public class AvroDeserializer extends BulletDeserializer
BulletDeserializer
that uses Avro deserialization.config
Constructor and Description |
---|
AvroDeserializer(com.yahoo.bullet.common.BulletConfig bulletConfig)
Constructs an AvroDeserializer from a given configuration.
|
Modifier and Type | Method and Description |
---|---|
Object |
deserialize(Object object)
Deserializes or transforms an object.
|
from
public AvroDeserializer(com.yahoo.bullet.common.BulletConfig bulletConfig)
bulletConfig
- The configuration that specifies the avro schema file or record class.public Object deserialize(Object object) throws BulletDSLException
BulletDeserializer
deserialize
in class BulletDeserializer
object
- The object to deserialize or transform.BulletDSLException
- if there is a deserialization error.Copyright © 2021. All rights reserved.