Package com.atlan.model.lineage
Class LineageFilterField
java.lang.Object
com.atlan.model.lineage.LineageFilterField
- Direct Known Subclasses:
LineageFilterFieldBoolean
,LineageFilterFieldCM
,LineageFilterFieldNumeric
,LineageFilterFieldString
Class used to provide a proxy to building up a lineage filter with the appropriate
subset of conditions available.
-
Field Summary
Modifier and TypeFieldDescriptionprotected final SearchableField
Field on which filtering should be applied. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected LineageFilter
build
(AtlanComparisonOperator op, String value) Utility method to build up a lineage filter from provided conditions.getField()
Field on which filtering should be applied.Returns a filter that will match all assets whose provided field has any value at all (non-null).Returns a filter that will match all assets whose provided field has no value at all (is null).
-
Field Details
-
field
Field on which filtering should be applied.
-
-
Constructor Details
-
LineageFilterField
-
-
Method Details
-
hasAnyValue
Returns a filter that will match all assets whose provided field has any value at all (non-null).- Returns:
- a filter that will only match assets that have some (non-null) value for the field
-
hasNoValue
Returns a filter that will match all assets whose provided field has no value at all (is null).- Returns:
- a filter that will only match assets that have no value at all for the field (null)
-
build
Utility method to build up a lineage filter from provided conditions.- Parameters:
op
- operator to compare the field and valuevalue
- to compare the field's value with- Returns:
- the lineage filter with the provided conditions
-
getField
Field on which filtering should be applied.
-