public class DataEncodingAsyncReader extends AbstractDataEncodingReader
Constructor and Description |
---|
DataEncodingAsyncReader(MzDbAsyncReader mzDbReader)
Instantiates a new data encoding reader.
|
Modifier and Type | Method and Description |
---|---|
rx.Observable<DataEncoding> |
getDataEncoding(int dataEncodingId)
Gets the data encoding.
|
rx.Observable<Map<Integer,DataEncoding>> |
getDataEncodingById()
Gets the data encoding by id.
|
rx.Observable<Map<Long,DataEncoding>> |
getDataEncodingBySpectrumId()
Gets the data encoding by spectrum id.
|
rx.Observable<DataEncoding[]> |
getDataEncodings()
Gets the data encodings.
|
MzDbAsyncReader |
getMzDbReader()
specialized getter
|
rx.Observable<DataEncoding> |
getSpectrumDataEncoding(long spectrumId)
Gets the spectrum data encoding.
|
getDataEncoding, getDataEncodingById, getDataEncodingBySpectrumId, getDataEncodings, getSpectrumDataEncoding
getEntityCache
public DataEncodingAsyncReader(MzDbAsyncReader mzDbReader) throws com.almworks.sqlite4java.SQLiteException
mzDbReader
- the mz db readercom.almworks.sqlite4java.SQLiteException
- the sQ lite exceptionpublic MzDbAsyncReader getMzDbReader()
getMzDbReader
in class MzDbEntityCacheContainer
public rx.Observable<DataEncoding> getDataEncoding(int dataEncodingId)
dataEncodingId
- the data encoding idcom.almworks.sqlite4java.SQLiteException
- the sQ lite exceptionpublic rx.Observable<DataEncoding[]> getDataEncodings()
com.almworks.sqlite4java.SQLiteException
- the sQ lite exceptionpublic rx.Observable<Map<Integer,DataEncoding>> getDataEncodingById()
com.almworks.sqlite4java.SQLiteException
- the sQ lite exceptionpublic rx.Observable<Map<Long,DataEncoding>> getDataEncodingBySpectrumId()
com.almworks.sqlite4java.SQLiteException
- the sQ lite exceptionpublic rx.Observable<DataEncoding> getSpectrumDataEncoding(long spectrumId)
spectrumId
- the spectrum idcom.almworks.sqlite4java.SQLiteException
- the sQ lite exceptionCopyright © 2019. All rights reserved.