|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lens.ml.dao.MLDBUtils
public class MLDBUtils
Constructor Summary | |
---|---|
MLDBUtils()
|
Method Summary | |
---|---|
void |
createMLModelTable()
Create table to save ML Models |
void |
createMLTaskTable()
Create table to store ML task workflow data |
void |
createTestReportTable()
Create table to store test report data |
MLModel<?> |
getMLModel(String modelID)
Get model metadata given ID |
MLTask |
getMLTask(String taskID)
Get ML Task given its id |
MLTestReport |
getTestReport(String testReportID)
Get test report given its ID |
void |
saveMLModel(MLModel<?> mlModel)
Insert model metadata into model table |
void |
saveMLTask(MLTask task)
Insert an ML Task into ml task table |
void |
saveTestReport(MLTestReport testReport)
Insert test report into test report table |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MLDBUtils()
Method Detail |
---|
public void createTestReportTable()
public void createMLTaskTable()
public void createMLModelTable()
public void saveMLTask(MLTask task)
task
- public MLTask getMLTask(String taskID)
taskID
-
public void saveTestReport(MLTestReport testReport)
testReport
- public MLTestReport getTestReport(String testReportID)
testReportID
-
public void saveMLModel(MLModel<?> mlModel)
mlModel
- public MLModel<?> getMLModel(String modelID)
modelID
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |