public class CompositionReader extends AbstractAvroReader<Composition>
| Constructor and Description |
|---|
CompositionReader() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createRecordFields(List<org.apache.avro.Schema.Field> fields)
Create a list containing the Schema.Fields for the fields that this class writes
|
Class |
getObjectClass() |
Composition |
read(org.apache.avro.io.Decoder in)
Read the object from the decoder
|
getRecordName, getRecordNameSpace, readArray, readMap, readMap, readMap, readOptional, readStringArray, readUnion, readUnionArraycreateEnumSchema, createSchema, createSchemaField, createUnionSchema, createUnionSchema, getRecordDoc, getUnion, registerUnion, rewriteNameSpaceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateSchemapublic Class getObjectClass()
public Composition read(org.apache.avro.io.Decoder in) throws IOException
AvroReaderin - the decoderIOExceptionprotected void createRecordFields(List<org.apache.avro.Schema.Field> fields)
AvroIOcreateRecordFields in class AvroIO<AbstractAvroReader>fields - the list to add the fields toCopyright © 2016. All Rights Reserved.