public class PeakListReader extends AbstractPeakListReader<PeakAnnotation,PeakList<PeakAnnotation>>
handleAnnotations, peakProcessorList, precisionOverride| Constructor and Description |
|---|
PeakListReader() |
PeakListReader(com.google.common.base.Optional<PeakList.Precision> precisionOverride,
List<PeakProcessor<PeakAnnotation,PeakAnnotation>> peakProcessorList) |
| 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() |
protected PeakList<PeakAnnotation> |
newPeakList(PeakList.Precision precision,
double constantIntensity) |
PeakList<PeakAnnotation> |
read(org.apache.avro.io.Decoder in)
Read the object from the decoder
|
getRecordName, getRecordNameSpace, readArray, readMap, readMap, readMap, readOptional, readStringArray, readUnion, readUnionArraycreateEnumSchema, createSchema, createSchemaField, createUnionSchema, createUnionSchema, getRecordDoc, getUnion, registerUnion, rewriteNameSpaceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateSchemapublic PeakListReader()
public PeakListReader(com.google.common.base.Optional<PeakList.Precision> precisionOverride, List<PeakProcessor<PeakAnnotation,PeakAnnotation>> peakProcessorList)
public Class getObjectClass()
protected PeakList<PeakAnnotation> newPeakList(PeakList.Precision precision, double constantIntensity)
newPeakList in class AbstractPeakListReader<PeakAnnotation,PeakList<PeakAnnotation>>public PeakList<PeakAnnotation> read(org.apache.avro.io.Decoder in) throws IOException
AvroReaderread in interface AvroReader<PeakList<PeakAnnotation>>read in class AbstractPeakListReader<PeakAnnotation,PeakList<PeakAnnotation>>in - the decoderIOExceptionprotected void createRecordFields(List<org.apache.avro.Schema.Field> fields)
AvroIOcreateRecordFields in class AbstractPeakListReader<PeakAnnotation,PeakList<PeakAnnotation>>fields - the list to add the fields toCopyright © 2016. All Rights Reserved.