Class LineageListResponse

All Implemented Interfaces:
AtlanResponseInterface, Serializable, Iterable<Asset>

public class LineageListResponse extends ApiResource implements Iterable<Asset>
Captures the response from a lineage retrieval against Atlan. Also provides the ability to iteratively page through results, without needing to track or re-run the original query using getNextPage().
See Also:
  • Method Details

    • getNextPage

      public LineageListResponse getNextPage() throws AtlanException
      Retrieve the next page of results from this response.
      Returns:
      next page of results from this response
      Throws:
      AtlanException - on any API interaction problem
    • iterator

      public Iterator<Asset> iterator()
      Specified by:
      iterator in interface Iterable<Asset>
    • stream

      public Stream<Asset> stream()
      Stream the results (lazily) for processing without needing to manually manage paging.
      Returns:
      a lazily-loaded stream of results from the search
    • builder

    • getClient

      public AtlanClient getClient()
      Connectivity to the Atlan tenant where the lineage request was run.
    • getAssets

      public List<Asset> getAssets()
      Entities in the lineage requested.
    • getHasMore

      public Boolean getHasMore()
      Whether there are more entities present in lineage that can be traversed (true) or not (false).
    • getEntityCount

      public Integer getEntityCount()
      Total count of entities returned, equal to the size of the entities list.
    • getSearchParameters

      public LineageListRequest getSearchParameters()
      Request used to produce this lineage.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class AtlanObject
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class AtlanObject
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class AtlanObject
    • toString

      public String toString()
      Description copied from class: AtlanObject
      Overrides:
      toString in class ApiResource
    • setClient

      public void setClient(AtlanClient client)
      Connectivity to the Atlan tenant where the lineage request was run.