public class QMData extends Object
| Constructor and Description |
|---|
QMData() |
QMData(String driver,
String url,
String uname,
String pword) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
getLearningRateType(String s) |
String |
getLearningType(String s) |
String |
getMaxScore() |
String |
getModel(String id) |
String |
getModelMaxScore(String model) |
String |
getParameters(String id) |
File |
getParamtersFile(String dir,
String model,
String id) |
File |
getParamtersLatestFile(String dir,
String model) |
String |
getRateParameters(String s) |
String |
getScores(int level,
String model,
int top) |
String |
getTodaysScores(int top) |
static void |
main(String[] args) |
void |
save(File file,
String s) |
void |
saveParameters(String dir,
String id) |
void |
saveParametersMulti(String dir,
String id,
String model) |
public QMData()
throws IOException,
ClassNotFoundException,
Exception
public QMData(String driver, String url, String uname, String pword) throws IOException, ClassNotFoundException, Exception
public String getModel(String id) throws SQLException
SQLExceptionpublic String getScores(int level, String model, int top) throws SQLException
SQLExceptionpublic String getMaxScore() throws SQLException
SQLExceptionpublic String getModelMaxScore(String model) throws SQLException
SQLExceptionpublic String getTodaysScores(int top) throws SQLException
SQLExceptionpublic String getParameters(String id) throws SQLException
SQLExceptionpublic void save(File file, String s) throws IOException
IOExceptionpublic void saveParameters(String dir, String id) throws IOException, SQLException, Exception
IOExceptionSQLExceptionExceptionpublic void saveParametersMulti(String dir, String id, String model) throws IOException, SQLException, Exception
IOExceptionSQLExceptionExceptionpublic void close()
throws SQLException,
Exception
SQLExceptionExceptionpublic static void main(String[] args)
args - the command line argumentsCopyright © 2017. All rights reserved.