Class DateFilterField

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

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

    • DateFilterField

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

    • before

      public DiscoveryFilter before(Date timestamp)
      Returns a query that will match all assets whose provided field has a value that is strictly before the provided timestamp.
      Parameters:
      timestamp - the date and time to check the field's value occurred before
      Returns:
      a query that will only match assets whose value for the field is chronologically before the provided timestamp
    • before

      public DiscoveryFilter before(Instant timestamp)
      Returns a query that will match all assets whose provided field has a value that is strictly before the provided timestamp.
      Parameters:
      timestamp - the date and time to check the field's value occurred before
      Returns:
      a query that will only match assets whose value for the field is chronologically before the provided timestamp
    • before

      public DiscoveryFilter before(long timestamp)
      Returns a query that will match all assets whose provided field has a value that is strictly before the provided timestamp.
      Parameters:
      timestamp - the date and time to check the field's value occurred before
      Returns:
      a query that will only match assets whose value for the field is chronologically before the provided timestamp
    • after

      public DiscoveryFilter after(Date timestamp)
      Returns a query that will match all assets whose provided field has a value that is strictly after the provided timestamp.
      Parameters:
      timestamp - the date and time to check the field's value occurred after
      Returns:
      a query that will only match assets whose value for the field is chronologically after the provided timestamp
    • after

      public DiscoveryFilter after(Instant timestamp)
      Returns a query that will match all assets whose provided field has a value that is strictly after the provided timestamp.
      Parameters:
      timestamp - the date and time to check the field's value occurred after
      Returns:
      a query that will only match assets whose value for the field is chronologically after the provided timestamp
    • after

      public DiscoveryFilter after(long timestamp)
      Returns a query that will match all assets whose provided field has a value that is strictly after the provided timestamp.
      Parameters:
      timestamp - the date and time to check the field's value occurred after
      Returns:
      a query that will only match assets whose value for the field is chronologically after the provided timestamp