Package com.atlan.model.lineage
Class FluentLineage.FluentLineageBuilder
java.lang.Object
com.atlan.model.lineage.FluentLineage.FluentLineageBuilder
- Enclosing class:
- FluentLineage
-
Method Summary
Modifier and TypeMethodDescription_includeOnRelations
(String _includeOnRelations) _includeOnResults
(String _includeOnResults) _includesOnRelations
(Collection<? extends String> _includesOnRelations) _includesOnResults
(Collection<? extends String> _includesOnResults) assetsCondition
(FilterList.Condition assetsCondition) Whether thewhereAssets
criteria should be combined (AND) or any matching is sufficient (OR).build()
client
(AtlanClient client) Client through which to retrieve the lineage.Number of degrees of separation (hops) across which lineage should be fetched.direction
(AtlanLineageDirection direction) Direction of lineage to fetch (upstream or downstream).includeInResults
(LineageFilter includeInResults) includeOnRelations
(AtlanField includeOnRelations) includeOnResults
(AtlanField includeOnResults) includesCondition
(FilterList.Condition includesCondition) Whether theincludesInResults
criteria should be combined (AND) or any matching is sufficient (OR).includesInResults
(Collection<? extends LineageFilter> includesInResults) includesOnRelations
(Collection<? extends AtlanField> includesOnRelations) includesOnResults
(Collection<? extends AtlanField> includesOnResults) Number of results to retrieve per underlying API request.relationshipsCondition
(FilterList.Condition relationshipsCondition) Whether thewhereRelationships
criteria should be combined (AND) or any matching is sufficient (OR).startingGuid
(String startingGuid) Unique identifier (GUID) of the asset from which to start lineage.stream()
Run the fluent lineage request to retrieve assets that match the supplied criteria.Translate the Atlan fluent lineage request into an Atlan lineage list request.Translate the Atlan fluent lineage request into an Atlan lineage list request builder.toString()
whereAsset
(LineageFilter whereAsset) whereAssets
(Collection<? extends LineageFilter> whereAssets) whereRelationship
(LineageFilter whereRelationship) whereRelationships
(Collection<? extends LineageFilter> whereRelationships)
-
Method Details
-
toRequestBuilder
Translate the Atlan fluent lineage request into an Atlan lineage list request builder.- Returns:
- an Atlan lineage list request builder that encapsulates the fluent lineage request
-
toRequest
Translate the Atlan fluent lineage request into an Atlan lineage list request.- Returns:
- an Atlan lineage list request that encapsulates the fluent lineage request
-
stream
Run the fluent lineage request to retrieve assets that match the supplied criteria.- Returns:
- a stream of assets that match the specified criteria, lazily-fetched
- Throws:
AtlanException
- on any issues interacting with the Atlan APIs
-
client
Client through which to retrieve the lineage.- Returns:
this
.
-
startingGuid
Unique identifier (GUID) of the asset from which to start lineage.- Returns:
this
.
-
direction
Direction of lineage to fetch (upstream or downstream).- Returns:
this
.
-
pageSize
Number of results to retrieve per underlying API request.- Returns:
this
.
-
depth
Number of degrees of separation (hops) across which lineage should be fetched.- Returns:
this
.
-
whereAsset
-
whereAssets
public FluentLineage.FluentLineageBuilder whereAssets(Collection<? extends LineageFilter> whereAssets) -
clearWhereAssets
-
assetsCondition
Whether thewhereAssets
criteria should be combined (AND) or any matching is sufficient (OR).- Returns:
this
.
-
whereRelationship
-
whereRelationships
public FluentLineage.FluentLineageBuilder whereRelationships(Collection<? extends LineageFilter> whereRelationships) -
clearWhereRelationships
-
relationshipsCondition
public FluentLineage.FluentLineageBuilder relationshipsCondition(FilterList.Condition relationshipsCondition) Whether thewhereRelationships
criteria should be combined (AND) or any matching is sufficient (OR).- Returns:
this
.
-
includeInResults
-
includesInResults
public FluentLineage.FluentLineageBuilder includesInResults(Collection<? extends LineageFilter> includesInResults) -
clearIncludesInResults
-
includesCondition
Whether theincludesInResults
criteria should be combined (AND) or any matching is sufficient (OR).- Returns:
this
.
-
includeOnResults
-
includesOnResults
public FluentLineage.FluentLineageBuilder includesOnResults(Collection<? extends AtlanField> includesOnResults) -
clearIncludesOnResults
-
_includeOnResults
-
_includesOnResults
public FluentLineage.FluentLineageBuilder _includesOnResults(Collection<? extends String> _includesOnResults) -
clear_includesOnResults
-
includeOnRelations
-
includesOnRelations
public FluentLineage.FluentLineageBuilder includesOnRelations(Collection<? extends AtlanField> includesOnRelations) -
clearIncludesOnRelations
-
_includeOnRelations
-
_includesOnRelations
public FluentLineage.FluentLineageBuilder _includesOnRelations(Collection<? extends String> _includesOnRelations) -
clear_includesOnRelations
-
build
-
toString
-