public abstract class AbstractLibPeakAnnotationWriter<A extends LibPeakAnnotation> extends AbstractAvroWriter<A>
| Constructor and Description |
|---|
AbstractLibPeakAnnotationWriter() |
| 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
|
void |
writeLibAnnotation(LibPeakAnnotation annotation,
org.apache.avro.io.Encoder out) |
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, waitwritecreateSchema, getObjectClasspublic void writeLibAnnotation(LibPeakAnnotation annotation, org.apache.avro.io.Encoder out) throws IOException
IOExceptionprotected 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.