public class MLDBUtils extends Object
Constructor and Description |
---|
MLDBUtils() |
Modifier and Type | Method and Description |
---|---|
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
|
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
- Copyright © 2014–2015 Apache Software Foundation. All rights reserved.