Package adams.db
Interface SequenceProvider
-
- All Known Implementing Classes:
Sequences
public interface SequenceProviderInterface for classes that return XYSequences.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Hashtable<String,String>getTemplates()Returns all the templates currently stored.voidrefresh()Reloads the templates.Vector<XYSequence>retrieve(String query)Retrieves sequence(s) from a given SQL statement.Vector<XYSequence>retrieve(String query, String nameX)Retrieves sequence(s) from a given SQL statement.
-
-
-
Method Detail
-
refresh
void refresh()
Reloads the templates.
-
retrieve
Vector<XYSequence> retrieve(String query)
Retrieves sequence(s) from a given SQL statement.- Parameters:
query- the statement to retrieve the sequences- Returns:
- the sequence(s)
-
retrieve
Vector<XYSequence> retrieve(String query, String nameX)
Retrieves sequence(s) from a given SQL statement.- Parameters:
query- the statement to retrieve the sequencesnameX- the name of the column to use as x-axis, if null then the first column will be used- Returns:
- the sequence(s)
-
-