public class MsnSpectrumReader extends AbstractPeakListReader<PeakAnnotation,MsnSpectrum>
handleAnnotations, peakProcessorList, precisionOverride| Constructor and Description |
|---|
MsnSpectrumReader() |
MsnSpectrumReader(AbstractAvroReader<? extends PeakAnnotation>[] annotationReaders) |
MsnSpectrumReader(AbstractAvroReader<? extends PeakAnnotation>[] annotationReaders,
com.google.common.base.Optional<PeakList.Precision> precisionOverride,
List<PeakProcessor<PeakAnnotation,PeakAnnotation>> peakProcessors) |
MsnSpectrumReader(AbstractAvroReader<PeakAnnotation> annotationReader,
com.google.common.base.Optional<PeakList.Precision> precisionOverride,
List<PeakProcessor<PeakAnnotation,PeakAnnotation>> peakProcessors) |
| 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 MsnSpectrum |
newPeakList(PeakList.Precision precision,
double constantIntensity) |
MsnSpectrum |
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 MsnSpectrumReader()
public MsnSpectrumReader(AbstractAvroReader<PeakAnnotation> annotationReader, com.google.common.base.Optional<PeakList.Precision> precisionOverride, List<PeakProcessor<PeakAnnotation,PeakAnnotation>> peakProcessors)
public MsnSpectrumReader(AbstractAvroReader<? extends PeakAnnotation>[] annotationReaders)
public MsnSpectrumReader(AbstractAvroReader<? extends PeakAnnotation>[] annotationReaders, com.google.common.base.Optional<PeakList.Precision> precisionOverride, List<PeakProcessor<PeakAnnotation,PeakAnnotation>> peakProcessors)
public Class getObjectClass()
protected MsnSpectrum newPeakList(PeakList.Precision precision, double constantIntensity)
newPeakList in class AbstractPeakListReader<PeakAnnotation,MsnSpectrum>public MsnSpectrum read(org.apache.avro.io.Decoder in) throws IOException
AvroReaderread in interface AvroReader<MsnSpectrum>read in class AbstractPeakListReader<PeakAnnotation,MsnSpectrum>in - the decoderIOExceptionprotected void createRecordFields(List<org.apache.avro.Schema.Field> fields)
AvroIOcreateRecordFields in class AbstractPeakListReader<PeakAnnotation,MsnSpectrum>fields - the list to add the fields toCopyright © 2016. All Rights Reserved.