public class PeptideConsensusSpectrumWriter extends AbstractPeakListWriter<PeptideConsensusSpectrum>
| Modifier and Type | Field and Description |
|---|---|
protected PeakWriter |
peakWriter |
protected PeptideWriter |
peptideWriter |
protected RetentionTimeDiscreteWriter |
rtWriter |
protected UUIDWriter |
uuidWriter |
| Constructor and Description |
|---|
PeptideConsensusSpectrumWriter() |
PeptideConsensusSpectrumWriter(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(PeptideConsensusSpectrum spectrum,
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, waitcreateSchemaprotected final PeakWriter peakWriter
protected final PeptideWriter peptideWriter
protected final UUIDWriter uuidWriter
protected final RetentionTimeDiscreteWriter rtWriter
public PeptideConsensusSpectrumWriter()
public PeptideConsensusSpectrumWriter(com.google.common.base.Optional<PeakList.Precision> precisionOverride)
public Class getObjectClass()
public void write(PeptideConsensusSpectrum spectrum, org.apache.avro.io.Encoder out) throws IOException
AvroWriterspectrum - the value to writeout - the encoderIOExceptionprotected void createRecordFields(List<org.apache.avro.Schema.Field> fields)
AvroIOcreateRecordFields in class AbstractPeakListWriter<PeptideConsensusSpectrum>fields - the list to add the fields toCopyright © 2016. All Rights Reserved.