public class SpectrumHeaderAsyncReader extends AbstractSpectrumHeaderReader
TIME_INDEX_WIDTH
Constructor and Description |
---|
SpectrumHeaderAsyncReader(MzDbAsyncReader mzDbReader,
AbstractDataEncodingReader dataEncodingReader) |
Modifier and Type | Method and Description |
---|---|
rx.Observable<Map<Long,SpectrumHeader>> |
getMs1SpectrumHeaderById()
Gets the MS1 spectrum header by id.
|
rx.Observable<SpectrumHeader[]> |
getMs1SpectrumHeaders()
Gets the MS1 spectrum headers.
|
rx.Observable<Map<Long,SpectrumHeader>> |
getMs2SpectrumHeaderById()
Gets the MS2 spectrum header by id.
|
rx.Observable<SpectrumHeader[]> |
getMs2SpectrumHeaders()
Gets the MS2 spectrum headers.
|
MzDbAsyncReader |
getMzDbReader()
specialized getter
|
rx.Observable<SpectrumHeader> |
getSpectrumHeader(long id)
/**
Gets the spectrum header.
|
rx.Observable<Map<Long,SpectrumHeader>> |
getSpectrumHeaderById()
Gets the spectrum headers by id.
|
rx.Observable<SpectrumHeader> |
getSpectrumHeaderForTime(float time,
int msLevel)
Gets the spectrum header for time.
|
rx.Observable<SpectrumHeader[]> |
getSpectrumHeaders()
Gets the spectrum headers.
|
rx.Observable<long[]> |
getSpectrumIdsForTimeRange(float minRT,
float maxRT,
int msLevel)
Gets the spectrum ids for time range.
|
rx.Observable<Map<Long,Float>> |
getSpectrumTimeById()
Gets the spectrum time by id.
|
getMs1SpectrumHeaderById, getMs1SpectrumHeaders, getMs2SpectrumHeaderById, getMs2SpectrumHeaders, getMs3SpectrumHeaderById, getMs3SpectrumHeaders, getSpectrumHeader, getSpectrumHeaderById, getSpectrumHeaderForTime, getSpectrumHeaders, getSpectrumIdsForTimeRange, getSpectrumTimeById
getEntityCache
public SpectrumHeaderAsyncReader(MzDbAsyncReader mzDbReader, AbstractDataEncodingReader dataEncodingReader) throws com.almworks.sqlite4java.SQLiteException
mzDbReader
- com.almworks.sqlite4java.SQLiteException
public MzDbAsyncReader getMzDbReader()
getMzDbReader
in class MzDbEntityCacheContainer
public rx.Observable<SpectrumHeader[]> getSpectrumHeaders()
com.almworks.sqlite4java.SQLiteException
public rx.Observable<Map<Long,SpectrumHeader>> getSpectrumHeaderById()
com.almworks.sqlite4java.SQLiteException
public rx.Observable<SpectrumHeader[]> getMs1SpectrumHeaders()
com.almworks.sqlite4java.SQLiteException
public rx.Observable<Map<Long,SpectrumHeader>> getMs1SpectrumHeaderById()
com.almworks.sqlite4java.SQLiteException
public rx.Observable<SpectrumHeader[]> getMs2SpectrumHeaders()
com.almworks.sqlite4java.SQLiteException
public rx.Observable<Map<Long,SpectrumHeader>> getMs2SpectrumHeaderById()
com.almworks.sqlite4java.SQLiteException
public rx.Observable<SpectrumHeader> getSpectrumHeader(long id)
id
- the idcom.almworks.sqlite4java.SQLiteException
public rx.Observable<Map<Long,Float>> getSpectrumTimeById()
com.almworks.sqlite4java.SQLiteException
- the SQLite exceptionpublic rx.Observable<SpectrumHeader> getSpectrumHeaderForTime(float time, int msLevel)
time
- the timemsLevel
- the ms levelException
public rx.Observable<long[]> getSpectrumIdsForTimeRange(float minRT, float maxRT, int msLevel)
minRT
- the min rtmaxRT
- the max rtmsLevel
- the ms levelcom.almworks.sqlite4java.SQLiteException
Copyright © 2019. All rights reserved.