Class AvroScheme
- java.lang.Object
-
- org.apache.storm.sql.runtime.serde.avro.AvroScheme
-
- All Implemented Interfaces:
Serializable
,Scheme
public class AvroScheme extends Object implements Scheme
AvroScheme uses generic(without code generation) instead of specific(with code generation) readers.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AvroScheme(String schemaString, List<String> fieldNames)
AvroScheme Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Object>
deserialize(ByteBuffer ser)
Fields
getOutputFields()
-
-
-
Method Detail
-
deserialize
public List<Object> deserialize(ByteBuffer ser)
- Specified by:
deserialize
in interfaceScheme
-
getOutputFields
public Fields getOutputFields()
- Specified by:
getOutputFields
in interfaceScheme
-
-