public class PepLibPeakAnnotationWriter extends AbstractLibPeakAnnotationWriter<PepLibPeakAnnotation>
| Constructor and Description |
|---|
PepLibPeakAnnotationWriter() |
| 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(PepLibPeakAnnotation annotation,
org.apache.avro.io.Encoder out)
Write the value to the encoder
|
writeLibAnnotationgetRecordName, 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 Class getObjectClass()
public void write(PepLibPeakAnnotation annotation, org.apache.avro.io.Encoder out) throws IOException
AvroWriterannotation - the value to writeout - the encoderIOExceptionprotected void createRecordFields(List<org.apache.avro.Schema.Field> fields)
AvroIOcreateRecordFields in class AbstractLibPeakAnnotationWriter<PepLibPeakAnnotation>fields - the list to add the fields toCopyright © 2016. All Rights Reserved.