public abstract class AbstractPeakListWriter<PL extends PeakList> extends AbstractAvroWriter<PL>
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractPeakListWriter(com.google.common.base.Optional<PeakList.Precision> precisionOverride,
AbstractAvroWriter<? extends PeakAnnotation>... annotationWriters) |
| 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
|
protected void |
writePeakList(PeakList peakList,
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, getObjectClassprotected AbstractPeakListWriter(com.google.common.base.Optional<PeakList.Precision> precisionOverride, AbstractAvroWriter<? extends PeakAnnotation>... annotationWriters)
protected void writePeakList(PeakList peakList, 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.