protected class WorkflowResourceProvider.PostgresWorkflowFetcher extends Object implements WorkflowResourceProvider.WorkflowFetcher
| Constructor and Description |
|---|
PostgresWorkflowFetcher(ConnectionFactory connectionFactory)
Create a postgres workflow fetcher that uses a given connection factory.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
close() |
Set<Resource> |
fetchWorkflows(Set<String> requestedIds,
String clusterName,
String workflowId)
Fetch workflow resources.
|
protected ResultSet |
getResultSet(Set<String> requestedIds,
String workflowId) |
public PostgresWorkflowFetcher(ConnectionFactory connectionFactory)
connectionFactory - a connection factoryprotected ResultSet getResultSet(Set<String> requestedIds, String workflowId) throws SQLException
SQLExceptionprotected void close()
public Set<Resource> fetchWorkflows(Set<String> requestedIds, String clusterName, String workflowId)
WorkflowResourceProvider.WorkflowFetcherfetchWorkflows in interface WorkflowResourceProvider.WorkflowFetcherrequestedIds - fields to pull from dbclusterName - the cluster nameworkflowId - the workflow idCopyright © 2022 Apache Software Foundation. All rights reserved.