Class LineageFilterField

java.lang.Object
com.atlan.model.lineage.LineageFilterField
Direct Known Subclasses:
LineageFilterFieldBoolean, LineageFilterFieldCM, LineageFilterFieldNumeric, LineageFilterFieldString

public class LineageFilterField extends Object
Class used to provide a proxy to building up a lineage filter with the appropriate subset of conditions available.
  • Field Details

    • field

      protected final SearchableField field
      Field on which filtering should be applied.
  • Constructor Details

  • Method Details

    • hasAnyValue

      public LineageFilter 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

      public LineageFilter 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

      protected LineageFilter build(AtlanComparisonOperator op, String value)
      Utility method to build up a lineage filter from provided conditions.
      Parameters:
      op - operator to compare the field and value
      value - to compare the field's value with
      Returns:
      the lineage filter with the provided conditions
    • getField

      public SearchableField getField()
      Field on which filtering should be applied.