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