public class IdentificationDB
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
dbName
The name which will be used for the database.
|
| Constructor and Description |
|---|
IdentificationDB(java.lang.String folder,
java.lang.String name,
boolean deleteOldDatabase,
ObjectsCache objectCache)
Constructor creating the database and the protein and protein parameters
tables.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addMatch(IdentificationMatch match)
Adds an identification match to the database.
|
void |
addMatchParameter(java.lang.String key,
UrParameter urParameter)
Deprecated.
use match specific mapping instead
|
void |
addPeptideMatch(PeptideMatch peptideMatch)
Adds a peptide match to the database
|
void |
addPeptideMatchParameter(java.lang.String key,
UrParameter urParameter)
Adds a peptide match parameter to the database.
|
void |
addProteinMatch(ProteinMatch proteinMatch)
Adds a protein match to the database.
|
void |
addProteinMatchParameter(java.lang.String key,
UrParameter urParameter)
Adds a protein match parameter to the database.
|
void |
addSpectrumMatch(SpectrumMatch spectrumMatch)
Adds a spectrum match to the database.
|
void |
addSpectrumMatchParameter(java.lang.String key,
UrParameter urParameter)
Adds a spectrum match parameter to the database.
|
void |
close()
Closes the db connection.
|
UrParameter |
getMatchPArameter(java.lang.String key,
UrParameter urParameter,
boolean useDB)
Deprecated.
use match specific mapping instead
|
java.lang.String |
getParameterTable(UrParameter urParameter)
Deprecated.
use match specific mapping instead
|
PeptideMatch |
getPeptideMatch(java.lang.String key,
boolean useDB)
Returns the desired peptide match.
|
UrParameter |
getPeptideMatchParameter(java.lang.String key,
UrParameter urParameter,
boolean useDB)
Returns the desired peptide match parameter.
|
java.lang.String |
getPeptideParameterTable(UrParameter urParameter)
Returns the table name associated with the given peptide parameter.
|
ProteinMatch |
getProteinMatch(java.lang.String key,
boolean useDB)
Returns the desired protein match.
|
UrParameter |
getProteinMatchParameter(java.lang.String key,
UrParameter urParameter,
boolean useDB)
Returns the desired protein match parameter.
|
java.lang.String |
getProteinParameterTable(UrParameter urParameter)
Returns the table name associated with the given protein parameter.
|
SpectrumMatch |
getSpectrumMatch(java.lang.String key,
boolean useDB)
Returns the desired spectrum match.
|
UrParameter |
getSpectrumMatchParameter(java.lang.String key,
UrParameter urParameter,
boolean useDB)
Returns the desired spectrum match parameter.
|
java.lang.String |
getSpectrumMatchTable(java.lang.String spectrumKey)
Returns the table name associated with the given spectrum key.
|
java.lang.String |
getSpectrumParameterTable(java.lang.String spectrumKey,
UrParameter urParameter)
Returns the table name associated with the given spectrum parameter.
|
void |
loadPeptideMatches(java.util.ArrayList<java.lang.String> peptideKeys,
WaitingHandler waitingHandler)
Loads the desired peptide matches of the given type in the cache of the
database.
|
void |
loadPeptideMatches(WaitingHandler waitingHandler)
Loads all peptide matches in the cache of the database.
|
void |
loadPeptideMatchParameters(java.util.ArrayList<java.lang.String> peptideKeys,
UrParameter urParameter,
WaitingHandler waitingHandler)
Loads the desired peptide match parameters of the given type in the cache
of the database.
|
void |
loadPeptideMatchParameters(UrParameter urParameter,
WaitingHandler waitingHandler)
Loads all peptide match parameters of the given type in the cache of the
database.
|
void |
loadProteinMatches(java.util.ArrayList<java.lang.String> proteinKeys,
WaitingHandler waitingHandler)
Loads the desired protein matches of the given type in the cache of the
database.
|
void |
loadProteinMatches(WaitingHandler waitingHandler)
Loads all protein matches in the cache of the database.
|
void |
loadProteinMatchParameters(java.util.ArrayList<java.lang.String> proteinKeys,
UrParameter urParameter,
WaitingHandler waitingHandler)
Loads the desired protein match parameters of the given type in the cache
of the database.
|
void |
loadProteinMatchParameters(UrParameter urParameter,
WaitingHandler waitingHandler)
Loads all protein match parameters of the given type in the cache of the
database.
|
void |
loadSpectrumMatches(java.util.ArrayList<java.lang.String> spectrumKeys,
WaitingHandler waitingHandler)
Loads all given spectrum matches in the cache of the database.
|
void |
loadSpectrumMatches(java.lang.String fileName,
WaitingHandler waitingHandler)
Loads all spectrum matches of the given file in the cache of the
database.
|
void |
loadSpectrumMatchParameters(java.util.ArrayList<java.lang.String> spectrumKeys,
UrParameter urParameter,
WaitingHandler waitingHandler)
Loads all desired spectrum match parameters in the cache of the database.
|
void |
loadSpectrumMatchParameters(java.lang.String fileName,
UrParameter urParameter,
WaitingHandler waitingHandler)
Loads all spectrum match parameters of the given type in the cache of the
database.
|
boolean |
peptideMatchLoaded(java.lang.String peptideKey)
Indicates whether a peptide match is loaded.
|
boolean |
proteinMatchLoaded(java.lang.String proteinKey)
Indicates whether a protein match is loaded.
|
void |
removeMatch(java.lang.String key)
Deprecated.
it is advised to use the specific psm/peptide/protein method
instead
|
void |
removePeptideMatch(java.lang.String key)
Deletes a peptide match from the database.
|
void |
removeProteinMatch(java.lang.String key)
Deletes a protein match from the database.
|
void |
removeSpectrumMatch(java.lang.String key)
Deletes a spectrum match from the database.
|
boolean |
spectrumMatchLoaded(java.lang.String spectrumKey)
Indicates whether a spectrum match is loaded.
|
void |
updateMatch(IdentificationMatch match)
Updates a match.
|
void |
updatePeptideMatch(PeptideMatch peptideMatch)
Updates a peptide match.
|
void |
updatePeptideParameter(java.lang.String key,
UrParameter urParameter)
Updates a peptide match parameter.
|
void |
updateProteinMatch(ProteinMatch proteinMatch)
Updates a protein match.
|
void |
updateProteinParameter(java.lang.String key,
UrParameter urParameter)
Updates a protein match parameter.
|
void |
updateSpectrumMatch(SpectrumMatch spectrumMatch)
Updates a spectrum match.
|
void |
updateSpectrumParameter(java.lang.String key,
UrParameter urParameter)
Updates a spectrum match parameter.
|
public IdentificationDB(java.lang.String folder,
java.lang.String name,
boolean deleteOldDatabase,
ObjectsCache objectCache)
throws java.sql.SQLException
folder - the folder where to put the databasename - deleteOldDatabase - if true, tries to delete the old databaseobjectCache - java.sql.SQLException - an exception thrown whenever an error occurred while
creating the databasepublic boolean spectrumMatchLoaded(java.lang.String spectrumKey)
throws java.sql.SQLException
spectrumKey - the spectrumMatch keyjava.sql.SQLException - exception thrown whenever an exception occurred
while interrogating the databasepublic boolean peptideMatchLoaded(java.lang.String peptideKey)
throws java.sql.SQLException
peptideKey - the peptide keyjava.sql.SQLException - exception thrown whenever an exception occurred
while interrogating the databasepublic boolean proteinMatchLoaded(java.lang.String proteinKey)
throws java.sql.SQLException
proteinKey - the protein keyjava.sql.SQLException - exception thrown whenever an exception occurred
while interrogating the databasepublic void updateProteinMatch(ProteinMatch proteinMatch) throws java.sql.SQLException, java.io.IOException
proteinMatch - the protein matchjava.sql.SQLException - exception thrown whenever an error occurred while
updating a match in the tablejava.io.IOException - exception thrown whenever an error occurred while
writing in the databasepublic void updatePeptideMatch(PeptideMatch peptideMatch) throws java.sql.SQLException, java.io.IOException
peptideMatch - the peptide matchjava.sql.SQLException - exception thrown whenever an error occurred while
updating a match in the tablejava.io.IOException - exception thrown whenever an error occurred while
writing in the databasepublic void updateSpectrumMatch(SpectrumMatch spectrumMatch) throws java.sql.SQLException, java.io.IOException
spectrumMatch - the spectrum matchjava.sql.SQLException - exception thrown whenever an error occurred while
updating a match in the tablejava.io.IOException - exception thrown whenever an error occurred while
writing in the databasepublic void updateMatch(IdentificationMatch match) throws java.sql.SQLException, java.io.IOException
match - the match to updatejava.sql.SQLException - exception thrown whenever an error occurred while
updating a match in the tablejava.io.IOException - exception thrown whenever an error occurred while
writing in the databasepublic void updateProteinParameter(java.lang.String key,
UrParameter urParameter)
throws java.sql.SQLException,
java.io.IOException
key - the key of the protein matchurParameter - the parameterjava.sql.SQLException - exception thrown whenever an error occurred while
updating the parameter in the tablejava.io.IOException - exception thrown whenever an error occurred while
writing in the databasepublic void updatePeptideParameter(java.lang.String key,
UrParameter urParameter)
throws java.sql.SQLException,
java.io.IOException
key - the key of the peptide matchurParameter - the parameterjava.sql.SQLException - exception thrown whenever an error occurred while
updating the parameter in the tablejava.io.IOException - exception thrown whenever an error occurred while
writing in the databasepublic void updateSpectrumParameter(java.lang.String key,
UrParameter urParameter)
throws java.sql.SQLException,
java.io.IOException
key - the key of the spectrum matchurParameter - the parameterjava.sql.SQLException - exception thrown whenever an error occurred while
updating the parameter in the tablejava.io.IOException - exception thrown whenever an error occurred while
writing in the databasepublic void removeProteinMatch(java.lang.String key)
throws java.sql.SQLException,
java.io.IOException
key - the key of the matchjava.sql.SQLException - exception thrown whenever an error occurred while
deleting the matchjava.io.IOExceptionpublic void removePeptideMatch(java.lang.String key)
throws java.sql.SQLException,
java.io.IOException
key - the key of the matchjava.sql.SQLException - exception thrown whenever an error occurred while
deleting the matchjava.io.IOExceptionpublic void removeSpectrumMatch(java.lang.String key)
throws java.sql.SQLException,
java.io.IOException
key - the key of the matchjava.sql.SQLException - exception thrown whenever an error occurred while
deleting the matchjava.io.IOExceptionpublic void removeMatch(java.lang.String key)
throws java.sql.SQLException,
java.io.IOException
key - the key of the matchjava.sql.SQLException - exception thrown whenever an error occurred while
deleting the matchjava.io.IOExceptionpublic SpectrumMatch getSpectrumMatch(java.lang.String key, boolean useDB) throws java.sql.SQLException, java.io.IOException, java.lang.ClassNotFoundException, java.lang.InterruptedException
useDB - if useDB is false, null will be returned if the object is not in the cachekey - the psm keyjava.sql.SQLException - exception thrown whenever an error occurred while
loading the object from the databasejava.io.IOException - exception thrown whenever an error occurred while
reading the object in the databasejava.lang.ClassNotFoundException - exception thrown whenever an error
occurred while casting the database input in the desired match classjava.lang.InterruptedExceptionpublic void addSpectrumMatch(SpectrumMatch spectrumMatch) throws java.sql.SQLException, java.io.IOException, java.lang.InterruptedException
spectrumMatch - the spectrum match to be addedjava.sql.SQLException - exception thrown whenever an error occurred while
adding the object in the databasejava.io.IOException - exception thrown whenever an error occurred while
writing the objectjava.lang.InterruptedExceptionpublic PeptideMatch getPeptideMatch(java.lang.String key, boolean useDB) throws java.sql.SQLException, java.io.IOException, java.lang.ClassNotFoundException, java.lang.InterruptedException
key - the peptide keyuseDB - if useDB is false, null will be returned if the object is not in the cachejava.sql.SQLException - exception thrown whenever an error occurred while
loading the object from the databasejava.io.IOException - exception thrown whenever an error occurred while
reading the object in the databasejava.lang.ClassNotFoundException - exception thrown whenever an error
occurred while casting the database input in the desired match classjava.lang.InterruptedExceptionpublic void addPeptideMatch(PeptideMatch peptideMatch) throws java.sql.SQLException, java.io.IOException, java.lang.InterruptedException
peptideMatch - the peptide match to be addedjava.sql.SQLException - exception thrown whenever an error occurred while
adding the object in the databasejava.io.IOException - exception thrown whenever an error occurred while
writing the objectjava.lang.InterruptedExceptionpublic ProteinMatch getProteinMatch(java.lang.String key, boolean useDB) throws java.sql.SQLException, java.io.IOException, java.lang.ClassNotFoundException, java.lang.InterruptedException
key - the protein keyuseDB - if useDB is false, null will be returned if the object is not in the cachejava.sql.SQLException - exception thrown whenever an error occurred while
loading the object from the databasejava.io.IOException - exception thrown whenever an error occurred while
reading the object in the databasejava.lang.ClassNotFoundException - exception thrown whenever an error
occurred while casting the database input in the desired match classjava.lang.InterruptedExceptionpublic void addProteinMatch(ProteinMatch proteinMatch) throws java.sql.SQLException, java.io.IOException, java.lang.InterruptedException
proteinMatch - the protein match to be addedjava.sql.SQLException - exception thrown whenever an error occurred while
adding the object in the databasejava.io.IOException - exception thrown whenever an error occurred while
writing the objectjava.lang.InterruptedExceptionpublic void addMatch(IdentificationMatch match) throws java.sql.SQLException, java.io.IOException, java.lang.InterruptedException
match - the match to be addedjava.sql.SQLException - exception thrown whenever an error occurred while
adding the object in the databasejava.io.IOException - exception thrown whenever an error occurred while
writing the objectjava.lang.InterruptedExceptionpublic void loadPeptideMatchParameters(UrParameter urParameter, WaitingHandler waitingHandler) throws java.sql.SQLException, java.io.IOException, java.lang.ClassNotFoundException, java.lang.InterruptedException
urParameter - the parameter typewaitingHandler - the waiting handlerjava.sql.SQLException - exception thrown whenever an error occurred while
interrogating the databasejava.io.IOException - exception thrown whenever an error occurred while
reading the databasejava.lang.ClassNotFoundException - exception thrown whenever the class of the
object is not found when deserializing it.java.lang.InterruptedExceptionpublic void loadPeptideMatchParameters(java.util.ArrayList<java.lang.String> peptideKeys,
UrParameter urParameter,
WaitingHandler waitingHandler)
throws java.sql.SQLException,
java.io.IOException,
java.lang.ClassNotFoundException,
java.lang.InterruptedException
peptideKeys - the list of peptide keys of the parameters to loadurParameter - the parameter typewaitingHandler - the waiting handlerjava.sql.SQLException - exception thrown whenever an error occurred while
interrogating the databasejava.io.IOException - exception thrown whenever an error occurred while
reading the databasejava.lang.ClassNotFoundException - exception thrown whenever the class of the
object is not found when deserializing it.java.lang.InterruptedExceptionpublic void loadPeptideMatches(java.util.ArrayList<java.lang.String> peptideKeys,
WaitingHandler waitingHandler)
throws java.sql.SQLException,
java.io.IOException,
java.lang.ClassNotFoundException,
java.lang.InterruptedException
peptideKeys - the list of peptide keys to loadwaitingHandler - the waiting handlerjava.sql.SQLException - exception thrown whenever an error occurred while
interrogating the databasejava.io.IOException - exception thrown whenever an error occurred while
reading the databasejava.lang.ClassNotFoundException - exception thrown whenever the class of the
object is not found when deserializing it.java.lang.InterruptedExceptionpublic void loadProteinMatchParameters(UrParameter urParameter, WaitingHandler waitingHandler) throws java.sql.SQLException, java.io.IOException, java.lang.ClassNotFoundException, java.lang.InterruptedException
urParameter - the parameter typewaitingHandler - the waiting handlerjava.sql.SQLException - exception thrown whenever an error occurred while
interrogating the databasejava.io.IOException - exception thrown whenever an error occurred while
reading the databasejava.lang.ClassNotFoundException - exception thrown whenever the class of the
object is not found when deserializing it.java.lang.InterruptedExceptionpublic void loadProteinMatchParameters(java.util.ArrayList<java.lang.String> proteinKeys,
UrParameter urParameter,
WaitingHandler waitingHandler)
throws java.sql.SQLException,
java.io.IOException,
java.lang.ClassNotFoundException,
java.lang.InterruptedException
proteinKeys - the list of protein keys of the parameters to loadurParameter - the parameter typewaitingHandler - the waiting handlerjava.sql.SQLException - exception thrown whenever an error occurred while
interrogating the databasejava.io.IOException - exception thrown whenever an error occurred while
reading the databasejava.lang.ClassNotFoundException - exception thrown whenever the class of the
object is not found when deserializing it.java.lang.InterruptedExceptionpublic void loadProteinMatches(WaitingHandler waitingHandler) throws java.sql.SQLException, java.io.IOException, java.lang.ClassNotFoundException, java.lang.InterruptedException
waitingHandler - the waiting handlerjava.sql.SQLException - exception thrown whenever an error occurred while
interrogating the databasejava.io.IOException - exception thrown whenever an error occurred while
reading the databasejava.lang.ClassNotFoundException - exception thrown whenever the class of the
object is not found when deserializing it.java.lang.InterruptedExceptionpublic void loadProteinMatches(java.util.ArrayList<java.lang.String> proteinKeys,
WaitingHandler waitingHandler)
throws java.sql.SQLException,
java.io.IOException,
java.lang.ClassNotFoundException,
java.lang.InterruptedException,
java.lang.InterruptedException
proteinKeys - the list of protein keys to loadwaitingHandler - the waiting handlerjava.sql.SQLException - exception thrown whenever an error occurred while
interrogating the databasejava.io.IOException - exception thrown whenever an error occurred while
reading the databasejava.lang.ClassNotFoundException - exception thrown whenever the class of the
object is not found when deserializing it.java.lang.InterruptedExceptionpublic void loadPeptideMatches(WaitingHandler waitingHandler) throws java.sql.SQLException, java.io.IOException, java.lang.ClassNotFoundException, java.lang.InterruptedException, java.lang.InterruptedException
waitingHandler - the waiting handlerjava.sql.SQLException - exception thrown whenever an error occurred while
interrogating the databasejava.io.IOException - exception thrown whenever an error occurred while
reading the databasejava.lang.ClassNotFoundException - exception thrown whenever the class of the
object is not found when deserializing it.java.lang.InterruptedExceptionpublic void loadSpectrumMatches(java.lang.String fileName,
WaitingHandler waitingHandler)
throws java.sql.SQLException,
java.io.IOException,
java.lang.ClassNotFoundException,
java.lang.InterruptedException
fileName - the file namewaitingHandler - the waiting handlerjava.sql.SQLException - exception thrown whenever an error occurred while
interrogating the databasejava.io.IOException - exception thrown whenever an error occurred while
reading the databasejava.lang.ClassNotFoundException - exception thrown whenever the class of the
object is not found when deserializing it.java.lang.InterruptedExceptionpublic void loadSpectrumMatches(java.util.ArrayList<java.lang.String> spectrumKeys,
WaitingHandler waitingHandler)
throws java.sql.SQLException,
java.io.IOException,
java.lang.ClassNotFoundException,
java.lang.InterruptedException
spectrumKeys - the key of the spectrum matches to be loadedwaitingHandler - the waiting handlerjava.sql.SQLException - exception thrown whenever an error occurred while
interrogating the databasejava.io.IOException - exception thrown whenever an error occurred while
reading the databasejava.lang.ClassNotFoundException - exception thrown whenever the class of the
object is not found when deserializing it.java.lang.InterruptedExceptionpublic void loadSpectrumMatchParameters(java.lang.String fileName,
UrParameter urParameter,
WaitingHandler waitingHandler)
throws java.sql.SQLException,
java.io.IOException,
java.lang.ClassNotFoundException,
java.lang.InterruptedException
fileName - the file nameurParameter - the parameter typewaitingHandler - the waiting handlerjava.sql.SQLException - exception thrown whenever an error occurred while
interrogating the databasejava.io.IOException - exception thrown whenever an error occurred while
reading the databasejava.lang.ClassNotFoundException - exception thrown whenever the class of the
object is not found when deserializing it.java.lang.InterruptedExceptionpublic void loadSpectrumMatchParameters(java.util.ArrayList<java.lang.String> spectrumKeys,
UrParameter urParameter,
WaitingHandler waitingHandler)
throws java.sql.SQLException,
java.io.IOException,
java.lang.ClassNotFoundException,
java.lang.InterruptedException
spectrumKeys - the key of the spectrum match of the parameters to be
loadedurParameter - the parameter typewaitingHandler - the waiting handlerjava.sql.SQLException - exception thrown whenever an error occurred while
interrogating the databasejava.io.IOException - exception thrown whenever an error occurred while
reading the databasejava.lang.ClassNotFoundException - exception thrown whenever the class of the
object is not found when deserializing it.java.lang.InterruptedExceptionpublic UrParameter getSpectrumMatchParameter(java.lang.String key, UrParameter urParameter, boolean useDB) throws java.sql.SQLException, java.io.IOException, java.lang.ClassNotFoundException, java.lang.InterruptedException
key - the PSM keyurParameter - the match parameteruseDB - if useDB is false, null will be returned if the object is not in the cachejava.sql.SQLException - exception thrown whenever an error occurred while
loading the object from the databasejava.io.IOException - exception thrown whenever an error occurred while
reading the object in the databasejava.lang.ClassNotFoundException - exception thrown whenever an error
occurred while casting the database input in the desired match classjava.lang.InterruptedExceptionpublic void addSpectrumMatchParameter(java.lang.String key,
UrParameter urParameter)
throws java.sql.SQLException,
java.io.IOException,
java.lang.InterruptedException
key - the PSM keyurParameter - the match parameterjava.sql.SQLException - exception thrown whenever an error occurred while
adding the object in the databasejava.io.IOException - exception thrown whenever an error occurred while
writing the objectjava.lang.InterruptedExceptionpublic UrParameter getPeptideMatchParameter(java.lang.String key, UrParameter urParameter, boolean useDB) throws java.sql.SQLException, java.io.IOException, java.lang.ClassNotFoundException, java.lang.InterruptedException
key - the peptide keyurParameter - the match parameteruseDB - if useDB is false, null will be returned if the object is not in the cachejava.sql.SQLException - exception thrown whenever an error occurred while
loading the object from the databasejava.io.IOException - exception thrown whenever an error occurred while
reading the object in the databasejava.lang.ClassNotFoundException - exception thrown whenever an error
occurred while casting the database input in the desired match classjava.lang.InterruptedExceptionpublic void addPeptideMatchParameter(java.lang.String key,
UrParameter urParameter)
throws java.sql.SQLException,
java.io.IOException,
java.lang.InterruptedException
key - the peptide keyurParameter - the match parameterjava.sql.SQLException - exception thrown whenever an error occurred while
adding the object in the databasejava.io.IOException - exception thrown whenever an error occurred while
writing the objectjava.lang.InterruptedExceptionpublic UrParameter getProteinMatchParameter(java.lang.String key, UrParameter urParameter, boolean useDB) throws java.sql.SQLException, java.io.IOException, java.lang.ClassNotFoundException, java.lang.InterruptedException
key - the protein keyurParameter - the match parameteruseDB - if useDB is false, null will be returned if the object is not in the cachejava.sql.SQLException - exception thrown whenever an error occurred while
loading the object from the databasejava.io.IOException - exception thrown whenever an error occurred while
reading the object in the databasejava.lang.ClassNotFoundException - exception thrown whenever an error
occurred while casting the database input in the desired match classjava.lang.InterruptedExceptionpublic void addProteinMatchParameter(java.lang.String key,
UrParameter urParameter)
throws java.sql.SQLException,
java.io.IOException,
java.lang.InterruptedException
key - the protein keyurParameter - the match parameterjava.sql.SQLException - exception thrown whenever an error occurred while
adding the object in the databasejava.io.IOException - exception thrown whenever an error occurred while
writing the objectjava.lang.InterruptedExceptionpublic UrParameter getMatchPArameter(java.lang.String key, UrParameter urParameter, boolean useDB) throws java.sql.SQLException, java.io.IOException, java.lang.ClassNotFoundException, java.lang.InterruptedException
key - the match keyuseDB - if useDB is false, null will be returned if the object is not in the cacheurParameter - the match parameterjava.lang.InterruptedExceptionjava.sql.SQLException - exception thrown whenever an error occurred while
loading the object from the databasejava.io.IOException - exception thrown whenever an error occurred while
reading the object in the databasejava.lang.ClassNotFoundException - exception thrown whenever an error
occurred while casting the database input in the desired match classpublic void addMatchParameter(java.lang.String key,
UrParameter urParameter)
throws java.sql.SQLException,
java.io.IOException,
java.lang.InterruptedException
key - the protein keyurParameter - the match parameterjava.lang.InterruptedExceptionjava.sql.SQLException - exception thrown whenever an error occurred while
adding the object in the databasejava.io.IOException - exception thrown whenever an error occurred while
writing the objectpublic java.lang.String getSpectrumMatchTable(java.lang.String spectrumKey)
spectrumKey - the given spectrum keypublic java.lang.String getSpectrumParameterTable(java.lang.String spectrumKey,
UrParameter urParameter)
spectrumKey - the given spectrum keyurParameter - the parameterpublic java.lang.String getPeptideParameterTable(UrParameter urParameter)
urParameter - the parameterpublic java.lang.String getProteinParameterTable(UrParameter urParameter)
urParameter - the parameterpublic java.lang.String getParameterTable(UrParameter urParameter)
urParameter - the parameterpublic void close()
throws java.sql.SQLException
java.sql.SQLException - exception thrown whenever an error occurred while
closing the database connectionCopyright © 2014. All Rights Reserved.