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
SQLException
protected void close()
public Set<Resource> fetchWorkflows(Set<String> requestedIds, String clusterName, String workflowId)
WorkflowResourceProvider.WorkflowFetcher
fetchWorkflows
in interface WorkflowResourceProvider.WorkflowFetcher
requestedIds
- fields to pull from dbclusterName
- the cluster nameworkflowId
- the workflow idCopyright © 2022 Apache Software Foundation. All rights reserved.