Interface ComputeLineageSubmission
public interface ComputeLineageSubmission
-
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()Cancels the lineage computationIf the Lineage Computation Type of this submission isorinvalid reference
LineageComputationType.EXPAND_CHILDREN, indicates the event ID that is to be expanded.invalid reference
LineageComputationType.EXPAND_PARENTSboolean
-
Method Details
-
getResult
ComputeLineageResult getResult()- Returns:
- the
ComputeLineageResultthat contains the results. The results may be partial if a call toComputeLineageResult.isFinished()returnsfalse
-
getSubmissionTime
Date getSubmissionTime()- Returns:
- the date at which this lineage was submitted
-
getSubmitterIdentity
String getSubmitterIdentity()- Returns:
- the identity of the user who submitted the request
-
getLineageIdentifier
String getLineageIdentifier()- Returns:
- the generated identifier for this lineage result
-
cancel
void cancel()Cancels the lineage computation -
isCanceled
boolean isCanceled()- Returns:
trueifcancel()has been called,falseotherwise
-
getLineageComputationType
LineageComputationType getLineageComputationType()- Returns:
- the type of Lineage Computation that was submitted
-
getExpandedEventId
Long getExpandedEventId()If the Lineage Computation Type of this submission isorinvalid reference
LineageComputationType.EXPAND_CHILDREN, indicates the event ID that is to be expanded. If the Lineage Computation Type of this submission isinvalid reference
LineageComputationType.EXPAND_PARENTSand the original submission was based off an event id, indicates that event ID. Otherwise returnsinvalid reference
LineageComputationType.FLOWFILE_LINEAGEnull.- Returns:
- the event id if applicable
-
getLineageFlowFileUuids
Collection<String> getLineageFlowFileUuids()- Returns:
- all FlowFile UUID's that are encapsulated in this lineage computation submission
-