public abstract class AbstractRunSliceHeaderReader extends MzDbEntityCacheContainer
Constructor and Description |
---|
AbstractRunSliceHeaderReader(AbstractMzDbReader mzDbReader)
Instantiates a new abstract run slice header reader.
|
Modifier and Type | Method and Description |
---|---|
protected RunSliceHeader |
getRunSliceForMz(double mz,
int msLevel,
com.almworks.sqlite4java.SQLiteConnection connection)
Gets the run slice for mz.
|
protected RunSliceHeader |
getRunSliceHeader(int id,
com.almworks.sqlite4java.SQLiteConnection connection)
Gets the run slice header.
|
HashMap<Integer,RunSliceHeader> |
getRunSliceHeaderById(int msLevel,
com.almworks.sqlite4java.SQLiteConnection connection)
Gets the run slice by id.
|
protected Map<Integer,RunSliceHeader> |
getRunSliceHeaderById(com.almworks.sqlite4java.SQLiteConnection connection)
Gets the run slice header by id.
|
protected RunSliceHeader[] |
getRunSliceHeaders(int msLevel,
com.almworks.sqlite4java.SQLiteConnection connection)
Gets the run slices.
|
protected RunSliceHeader[] |
getRunSliceHeaders(com.almworks.sqlite4java.SQLiteConnection connection)
Gets the run slices.
|
protected int[] |
getRunSliceIdsForMzRange(double minMz,
double maxMz,
int msLevel,
com.almworks.sqlite4java.SQLiteConnection connection)
Gets the run slice ids for mz range.
|
getEntityCache, getMzDbReader
public AbstractRunSliceHeaderReader(AbstractMzDbReader mzDbReader)
mzDbReader
- the mz db readerprotected RunSliceHeader[] getRunSliceHeaders(com.almworks.sqlite4java.SQLiteConnection connection) throws com.almworks.sqlite4java.SQLiteException
connection
- the connectioncom.almworks.sqlite4java.SQLiteException
- the SQLite exceptionprotected RunSliceHeader[] getRunSliceHeaders(int msLevel, com.almworks.sqlite4java.SQLiteConnection connection) throws com.almworks.sqlite4java.SQLiteException
msLevel
- the ms levelconnection
- the connectioncom.almworks.sqlite4java.SQLiteException
- the SQLite exceptionpublic HashMap<Integer,RunSliceHeader> getRunSliceHeaderById(int msLevel, com.almworks.sqlite4java.SQLiteConnection connection) throws com.almworks.sqlite4java.SQLiteException
msLevel
- the ms levelconnection
- the connectioncom.almworks.sqlite4java.SQLiteException
- the sQ lite exceptionprotected Map<Integer,RunSliceHeader> getRunSliceHeaderById(com.almworks.sqlite4java.SQLiteConnection connection) throws com.almworks.sqlite4java.SQLiteException
connection
- the connectioncom.almworks.sqlite4java.SQLiteException
- the sQ lite exceptionprotected RunSliceHeader getRunSliceHeader(int id, com.almworks.sqlite4java.SQLiteConnection connection) throws com.almworks.sqlite4java.SQLiteException
id
- the idconnection
- the connectioncom.almworks.sqlite4java.SQLiteException
- the sQ lite exceptionprotected RunSliceHeader getRunSliceForMz(double mz, int msLevel, com.almworks.sqlite4java.SQLiteConnection connection) throws com.almworks.sqlite4java.SQLiteException
mz
- the mzmsLevel
- the ms levelconnection
- the connectioncom.almworks.sqlite4java.SQLiteException
- the sQ lite exceptionprotected int[] getRunSliceIdsForMzRange(double minMz, double maxMz, int msLevel, com.almworks.sqlite4java.SQLiteConnection connection) throws com.almworks.sqlite4java.SQLiteException
minMz
- the min mzmaxMz
- the max mzmsLevel
- the ms levelconnection
- the connectioncom.almworks.sqlite4java.SQLiteException
- the sQ lite exceptionCopyright © 2019. All rights reserved.