public class PeakListWriter extends AbstractPeakListWriter<PeakList<PeakAnnotation>>
| Constructor and Description |
|---|
PeakListWriter() |
PeakListWriter(com.google.common.base.Optional<PeakList.Precision> precisionOverride) |
| 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(PeakList peakList,
org.apache.avro.io.Encoder out)
Write the value to the encoder
|
writePeakListgetRecordName, 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 PeakListWriter()
public PeakListWriter(com.google.common.base.Optional<PeakList.Precision> precisionOverride)
public Class getObjectClass()
public void write(PeakList peakList, org.apache.avro.io.Encoder out) throws IOException
AvroWriterpeakList - the value to writeout - the encoderIOExceptionprotected void createRecordFields(List<org.apache.avro.Schema.Field> fields)
AvroIOcreateRecordFields in class AbstractPeakListWriter<PeakList<PeakAnnotation>>fields - the list to add the fields toCopyright © 2016. All Rights Reserved.