public class ScanNumberIntervalWriter extends AbstractAvroWriter<ScanNumberInterval>
| Constructor and Description |
|---|
ScanNumberIntervalWriter() |
| 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() |
void |
write(ScanNumberInterval scanNumber,
org.apache.avro.io.Encoder out)
Write the value to the encoder
|
getRecordName, getRecordNameSpace, writeArray, writeMap, writeMap, writeMap, writeOptional, writeStringArray, writeUnion, writeUnionArraycreateEnumSchema, createSchema, createSchemaField, createUnionSchema, createUnionSchema, getRecordDoc, getUnion, registerUnion, rewriteNameSpaceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateSchemapublic void write(ScanNumberInterval scanNumber, org.apache.avro.io.Encoder out) throws IOException
AvroWriterscanNumber - the value to writeout - the encoderIOExceptionpublic Class getObjectClass()
protected void createRecordFields(List<org.apache.avro.Schema.Field> fields)
AvroIOcreateRecordFields in class AvroIO<AbstractAvroWriter>fields - the list to add the fields toCopyright © 2016. All Rights Reserved.