public interface DBConnector
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
List<Jobs.JobDBEntry> |
fetchJobDetails(long minFinishTime,
long maxStartTime) |
List<Jobs.JobDBEntry> |
fetchJobDetails(String workflowID) |
long[] |
fetchJobStartStopTimes(String jobID) |
List<TaskAttempt> |
fetchJobTaskAttempts(String jobID) |
List<TaskAttempt> |
fetchTaskAttempts(long minFinishTime,
long maxStartTime) |
Workflows |
fetchWorkflows() |
DataTable |
fetchWorkflows(int offset,
int limit,
String searchTerm,
int echo,
Workflows.WorkflowDBEntry.WorkflowFields field,
boolean sortAscending,
String searchWorkflowId,
String searchWorkflowName,
String searchWorkflowType,
String searchUserName,
int minJobs,
int maxJobs,
long minInputBytes,
long maxInputBytes,
long minOutputBytes,
long maxOutputBytes,
long minDuration,
long maxDuration,
long minStartTime,
long maxStartTime,
long minFinishTime,
long maxFinishTime) |
Workflows |
fetchWorkflows(Workflows.WorkflowDBEntry.WorkflowFields field,
boolean sortAscending,
int offset,
int limit) |
List<TaskAttempt> |
fetchWorkflowTaskAttempts(String workflowID) |
void |
submitJob(Jobs.JobDBEntry j,
WorkflowContext context) |
void |
updateJob(Jobs.JobDBEntry j) |
void submitJob(Jobs.JobDBEntry j, WorkflowContext context) throws IOException
IOExceptionvoid updateJob(Jobs.JobDBEntry j) throws IOException
IOExceptionWorkflows fetchWorkflows() throws IOException
IOExceptionWorkflows fetchWorkflows(Workflows.WorkflowDBEntry.WorkflowFields field, boolean sortAscending, int offset, int limit) throws IOException
IOExceptionDataTable fetchWorkflows(int offset, int limit, String searchTerm, int echo, Workflows.WorkflowDBEntry.WorkflowFields field, boolean sortAscending, String searchWorkflowId, String searchWorkflowName, String searchWorkflowType, String searchUserName, int minJobs, int maxJobs, long minInputBytes, long maxInputBytes, long minOutputBytes, long maxOutputBytes, long minDuration, long maxDuration, long minStartTime, long maxStartTime, long minFinishTime, long maxFinishTime) throws IOException
IOExceptionList<Jobs.JobDBEntry> fetchJobDetails(String workflowID) throws IOException
IOExceptionList<Jobs.JobDBEntry> fetchJobDetails(long minFinishTime, long maxStartTime) throws IOException
IOExceptionlong[] fetchJobStartStopTimes(String jobID) throws IOException
IOExceptionList<TaskAttempt> fetchJobTaskAttempts(String jobID) throws IOException
IOExceptionList<TaskAttempt> fetchWorkflowTaskAttempts(String workflowID) throws IOException
IOExceptionList<TaskAttempt> fetchTaskAttempts(long minFinishTime, long maxStartTime) throws IOException
IOExceptionvoid close()
Copyright © 2016. All rights reserved.