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