Interface ComputeLineageSubmission
public interface ComputeLineageSubmission
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cancel()
Cancels the lineage computationIf the Lineage Computation Type of this submission isinvalid reference
LineageComputationType.EXPAND_CHILDREN
invalid reference
LineageComputationType.EXPAND_PARENTS
boolean
-
Method Details
-
getResult
ComputeLineageResult getResult()- Returns:
- the
ComputeLineageResult
that 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:
true
ifcancel()
has been called,false
otherwise
-
getLineageComputationType
LineageComputationType getLineageComputationType()- Returns:
- the type of Lineage Computation that was submitted
-
getExpandedEventId
Long getExpandedEventId()If the Lineage Computation Type of this submission isinvalid reference
LineageComputationType.EXPAND_CHILDREN
invalid reference
LineageComputationType.EXPAND_PARENTS
invalid reference
LineageComputationType.FLOWFILE_LINEAGE
null
.- Returns:
- the event id if applicable
-
getLineageFlowFileUuids
Collection<String> getLineageFlowFileUuids()- Returns:
- all FlowFile UUID's that are encapsulated in this lineage computation submission
-