Class JerseyProvenanceClient
java.lang.Object
org.apache.nifi.toolkit.client.impl.AbstractJerseyClient
org.apache.nifi.toolkit.client.impl.JerseyProvenanceClient
- All Implemented Interfaces:
ProvenanceClient
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.nifi.toolkit.client.impl.AbstractJerseyClient
AbstractJerseyClient.NiFiAction<T>Nested classes/interfaces inherited from interface org.apache.nifi.toolkit.client.ProvenanceClient
ProvenanceClient.ReplayEventNodes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final jakarta.ws.rs.client.WebTargetprivate final jakarta.ws.rs.client.WebTarget -
Constructor Summary
ConstructorsConstructorDescriptionJerseyProvenanceClient(jakarta.ws.rs.client.WebTarget baseTarget) JerseyProvenanceClient(jakarta.ws.rs.client.WebTarget baseTarget, RequestConfig requestConfig) -
Method Summary
Modifier and TypeMethodDescriptiondeleteLineageRequest(String lineageRequestId) deleteProvenanceQuery(String provenanceQueryId) getLatestEvents(String processorId) getLineageRequest(String lineageRequestId) getProvenanceQuery(String queryId) replayLastEvent(String processorId, ProvenanceClient.ReplayEventNodes nodes) submitLineageRequest(LineageEntity lineageEntity) submitProvenanceQuery(ProvenanceEntity provenanceEntity) Methods inherited from class org.apache.nifi.toolkit.client.impl.AbstractJerseyClient
executeAction, getContentDispositionFilename, getIOExceptionCause, getRequestBuilder, getRequestConfig
-
Field Details
-
provenanceTarget
private final jakarta.ws.rs.client.WebTarget provenanceTarget -
provenanceEventsTarget
private final jakarta.ws.rs.client.WebTarget provenanceEventsTarget
-
-
Constructor Details
-
JerseyProvenanceClient
public JerseyProvenanceClient(jakarta.ws.rs.client.WebTarget baseTarget) -
JerseyProvenanceClient
public JerseyProvenanceClient(jakarta.ws.rs.client.WebTarget baseTarget, RequestConfig requestConfig)
-
-
Method Details
-
submitProvenanceQuery
public ProvenanceEntity submitProvenanceQuery(ProvenanceEntity provenanceEntity) throws NiFiClientException, IOException - Specified by:
submitProvenanceQueryin interfaceProvenanceClient- Throws:
NiFiClientExceptionIOException
-
getProvenanceQuery
- Specified by:
getProvenanceQueryin interfaceProvenanceClient- Throws:
NiFiClientExceptionIOException
-
deleteProvenanceQuery
public ProvenanceEntity deleteProvenanceQuery(String provenanceQueryId) throws NiFiClientException, IOException - Specified by:
deleteProvenanceQueryin interfaceProvenanceClient- Throws:
NiFiClientExceptionIOException
-
submitLineageRequest
public LineageEntity submitLineageRequest(LineageEntity lineageEntity) throws NiFiClientException, IOException - Specified by:
submitLineageRequestin interfaceProvenanceClient- Throws:
NiFiClientExceptionIOException
-
getLineageRequest
public LineageEntity getLineageRequest(String lineageRequestId) throws NiFiClientException, IOException - Specified by:
getLineageRequestin interfaceProvenanceClient- Throws:
NiFiClientExceptionIOException
-
deleteLineageRequest
public LineageEntity deleteLineageRequest(String lineageRequestId) throws NiFiClientException, IOException - Specified by:
deleteLineageRequestin interfaceProvenanceClient- Throws:
NiFiClientExceptionIOException
-
replayLastEvent
public ReplayLastEventResponseEntity replayLastEvent(String processorId, ProvenanceClient.ReplayEventNodes nodes) throws NiFiClientException, IOException - Specified by:
replayLastEventin interfaceProvenanceClient- Throws:
NiFiClientExceptionIOException
-
getLatestEvents
public LatestProvenanceEventsEntity getLatestEvents(String processorId) throws NiFiClientException, IOException - Specified by:
getLatestEventsin interfaceProvenanceClient- Throws:
NiFiClientExceptionIOException
-