public abstract class AbstractDataEncodingReader extends MzDbEntityCacheContainer
Constructor and Description |
---|
AbstractDataEncodingReader(AbstractMzDbReader mzDbReader)
Instantiates a new abstract data encoding reader.
|
Modifier and Type | Method and Description |
---|---|
protected DataEncoding |
getDataEncoding(int dataEncodingId,
com.almworks.sqlite4java.SQLiteConnection connection)
Gets the data encoding.
|
protected Map<Integer,DataEncoding> |
getDataEncodingById(com.almworks.sqlite4java.SQLiteConnection connection)
Gets the data encoding by id.
|
Map<Long,DataEncoding> |
getDataEncodingBySpectrumId(com.almworks.sqlite4java.SQLiteConnection connection)
Gets the data encoding by spectrum id.
|
protected DataEncoding[] |
getDataEncodings(com.almworks.sqlite4java.SQLiteConnection connection)
Gets the data encodings.
|
protected DataEncoding |
getSpectrumDataEncoding(long spectrumId,
com.almworks.sqlite4java.SQLiteConnection connection)
Gets the spectrum data encoding.
|
getEntityCache, getMzDbReader
public AbstractDataEncodingReader(AbstractMzDbReader mzDbReader) throws com.almworks.sqlite4java.SQLiteException
mzDbReader
- the mz db readermodelVersion
- the model versioncom.almworks.sqlite4java.SQLiteException
- the SQ lite exceptionprotected DataEncoding getDataEncoding(int dataEncodingId, com.almworks.sqlite4java.SQLiteConnection connection) throws com.almworks.sqlite4java.SQLiteException
dataEncodingId
- the data encoding idconnection
- the connectioncom.almworks.sqlite4java.SQLiteException
- the SQ lite exceptionprotected DataEncoding[] getDataEncodings(com.almworks.sqlite4java.SQLiteConnection connection) throws com.almworks.sqlite4java.SQLiteException
connection
- the connectioncom.almworks.sqlite4java.SQLiteException
- the SQ lite exceptionprotected Map<Integer,DataEncoding> getDataEncodingById(com.almworks.sqlite4java.SQLiteConnection connection) throws com.almworks.sqlite4java.SQLiteException
connection
- the connectioncom.almworks.sqlite4java.SQLiteException
- the SQ lite exceptionpublic Map<Long,DataEncoding> getDataEncodingBySpectrumId(com.almworks.sqlite4java.SQLiteConnection connection) throws com.almworks.sqlite4java.SQLiteException
connection
- the connectioncom.almworks.sqlite4java.SQLiteException
- the SQ lite exceptionprotected DataEncoding getSpectrumDataEncoding(long spectrumId, com.almworks.sqlite4java.SQLiteConnection connection) throws com.almworks.sqlite4java.SQLiteException
spectrumId
- the spectrum idconnection
- the connectioncom.almworks.sqlite4java.SQLiteException
- the SQ lite exceptionCopyright © 2019. All rights reserved.