Interface ComputeLineageResult
public interface ComputeLineageResult
-
Method Summary
Modifier and TypeMethodDescriptionboolean
awaitCompletion
(long time, TimeUnit unit) getEdges()
getError()
getNodes()
int
boolean
-
Method Details
-
getNodes
List<LineageNode> getNodes()- Returns:
- all nodes for the graph
-
getEdges
List<LineageEdge> getEdges()- Returns:
- all links for the graph
-
getExpiration
Date getExpiration()- Returns:
- the date at which this AsynchronousLineageResult will expire
-
getError
String getError()- Returns:
- If an error occurred while computing the lineage, this will return the
serialized error; otherwise, returns
null
-
getPercentComplete
int getPercentComplete()- Returns:
- an integer between 0 and 100 (inclusive) that indicates what percentage of completion the computation has reached
-
isFinished
boolean isFinished()- Returns:
- Indicates whether or not the lineage has finished running
-
awaitCompletion
- Throws:
InterruptedException
-