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