public class PeptideConsensusSpectrumReader extends AbstractPeakListReader<PepLibPeakAnnotation,PeptideConsensusSpectrum>
| Modifier and Type | Field and Description |
|---|---|
protected PeptideReader |
peptideReader |
protected PeakReader |
precursorReader |
protected RetentionTimeDiscreteReader |
rtReader |
protected UUIDReader |
uuidReader |
handleAnnotations, peakProcessorList, precisionOverride| Constructor and Description |
|---|
PeptideConsensusSpectrumReader() |
PeptideConsensusSpectrumReader(com.google.common.base.Optional<PeakList.Precision> precisionOverride,
List<PeakProcessor<PepLibPeakAnnotation,PepLibPeakAnnotation>> 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 PeptideConsensusSpectrum |
newPeakList(PeakList.Precision precision,
double constantIntensity) |
PeptideConsensusSpectrum |
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, waitcreateSchemaprotected final PeakReader precursorReader
protected final PeptideReader peptideReader
protected final UUIDReader uuidReader
protected final RetentionTimeDiscreteReader rtReader
public PeptideConsensusSpectrumReader()
public PeptideConsensusSpectrumReader(com.google.common.base.Optional<PeakList.Precision> precisionOverride, List<PeakProcessor<PepLibPeakAnnotation,PepLibPeakAnnotation>> peakProcessors)
public Class getObjectClass()
protected PeptideConsensusSpectrum newPeakList(PeakList.Precision precision, double constantIntensity)
newPeakList in class AbstractPeakListReader<PepLibPeakAnnotation,PeptideConsensusSpectrum>public PeptideConsensusSpectrum read(org.apache.avro.io.Decoder in) throws IOException
AvroReaderread in interface AvroReader<PeptideConsensusSpectrum>read in class AbstractPeakListReader<PepLibPeakAnnotation,PeptideConsensusSpectrum>in - the decoderIOExceptionprotected void createRecordFields(List<org.apache.avro.Schema.Field> fields)
AvroIOcreateRecordFields in class AbstractPeakListReader<PepLibPeakAnnotation,PeptideConsensusSpectrum>fields - the list to add the fields toCopyright © 2016. All Rights Reserved.