public class RetentionTimeIntervalReader extends AbstractAvroReader<RetentionTimeInterval>
| Constructor and Description |
|---|
RetentionTimeIntervalReader() |
| 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() |
protected String |
getRecordDoc()
Returns the documentation for this record
Default is to have no documentation, subclasses can override this to provide doc
|
RetentionTimeInterval |
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, getUnion, registerUnion, rewriteNameSpaceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateSchemapublic Class getObjectClass()
public RetentionTimeInterval read(org.apache.avro.io.Decoder in) throws IOException
AvroReaderin - the decoderIOExceptionprotected String getRecordDoc()
AvroIOgetRecordDoc 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.