public class RetentionTimeListReader extends AbstractAvroReader<RetentionTimeList>
| Constructor and Description |
|---|
RetentionTimeListReader() |
| 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
|
org.apache.avro.Schema |
createSchema()
Creates a schema for this reader or writer
|
Class |
getObjectClass() |
RetentionTimeList |
read(org.apache.avro.io.Decoder in)
Read the object from the decoder
|
getRecordName, getRecordNameSpace, readArray, readMap, readMap, readMap, readOptional, readStringArray, readUnion, readUnionArraycreateEnumSchema, createSchemaField, createUnionSchema, createUnionSchema, getRecordDoc, getUnion, registerUnion, rewriteNameSpacepublic Class getObjectClass()
public RetentionTimeList read(org.apache.avro.io.Decoder in) throws IOException
AvroReaderin - the decoderIOExceptionpublic org.apache.avro.Schema createSchema()
AvroIOcreateSchema in interface AvroExternalizablecreateSchema in class AvroIO<AbstractAvroReader>protected 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.