Class NumericFilterField

java.lang.Object
com.atlan.model.discovery.DiscoveryFilterField
com.atlan.model.discovery.NumericFilterField

public class NumericFilterField extends DiscoveryFilterField
Represents any field in Atlan that can be used for discovery by numerical comparison.
  • Constructor Details

    • NumericFilterField

      public NumericFilterField(String field)
      Default constructor
      Parameters:
      field - name of the field to filter by (singular)
  • Method Details

    • eq

      public <T extends Number> DiscoveryFilter eq(T value)
      Returns a query that will match all assets whose provided field has a value that exactly equals the provided value.
      Parameters:
      value - the value to check the field's value is exactly equal to
      Returns:
      a query that will only match assets whose value for the field is exactly equal to the provided value
    • neq

      public DiscoveryFilter neq(String value)
      Returns a query that will match all assets whose provided field has a value that does not exactly equal the provided value.
      Parameters:
      value - the value to check the field's value is NOT exactly equal to
      Returns:
      a query that will only match assets whose value for the field is not exactly equal to the provided value
    • startsWith

      public DiscoveryFilter startsWith(String value)
      Returns a query that will match all assets whose provided field has a value that starts with the provided value.
      Parameters:
      value - the value to check the field's value starts with
      Returns:
      a query that will only match assets whose value for the field starts with the provided value
    • endsWith

      public DiscoveryFilter endsWith(String value)
      Returns a query that will match all assets whose provided field has a value that ends with the provided value.
      Parameters:
      value - the value to check the field's value ends with
      Returns:
      a query that will only match assets whose value for the field ends with the provided value
    • contains

      public DiscoveryFilter contains(String value)
      Returns a query that will match all assets whose provided field has a value that contains the provided value.
      Parameters:
      value - the value to check the field's value contains
      Returns:
      a query that will only match assets whose value for the field contains the provided value
    • doesNotContain

      public DiscoveryFilter doesNotContain(String value)
      Returns a query that will match all assets whose provided field has a value that does not contain the provided value.
      Parameters:
      value - the value to check the field's value does NOT contain
      Returns:
      a query that will only match assets whose value for the field does not contain the provided value
    • regex

      public DiscoveryFilter regex(String value)
      Returns a query that will match all assets whose provided field has a value that matches the provided regular expression pattern.
      Parameters:
      value - the regular expression to check the field's value matches
      Returns:
      a query that will only match assets whose value for the field matches the provided regular expression