Class FieldFilter

    • Method Detail

      • contains

        public final FieldValue contains()

        Object containing field identifier and value information.

        Returns:
        Object containing field identifier and value information.
      • equalTo

        public final FieldValue equalTo()

        Object containing field identifier and value information.

        Returns:
        Object containing field identifier and value information.
      • greaterThan

        public final FieldValue greaterThan()

        Object containing field identifier and value information.

        Returns:
        Object containing field identifier and value information.
      • greaterThanOrEqualTo

        public final FieldValue greaterThanOrEqualTo()

        Object containing field identifier and value information.

        Returns:
        Object containing field identifier and value information.
      • lessThan

        public final FieldValue lessThan()

        Object containing field identifier and value information.

        Returns:
        Object containing field identifier and value information.
      • lessThanOrEqualTo

        public final FieldValue lessThanOrEqualTo()

        Object containing field identifier and value information.

        Returns:
        Object containing field identifier and value information.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)
      • fromContains

        public static FieldFilter fromContains​(FieldValue contains)
        Create an instance of this class with contains() initialized to the given value.

        Object containing field identifier and value information.

        Parameters:
        contains - Object containing field identifier and value information.
      • fromContains

        public static FieldFilter fromContains​(Consumer<FieldValue.Builder> contains)
        Create an instance of this class with contains() initialized to the given value.

        Object containing field identifier and value information.

        Parameters:
        contains - Object containing field identifier and value information.
      • fromEqualTo

        public static FieldFilter fromEqualTo​(FieldValue equalTo)
        Create an instance of this class with equalTo() initialized to the given value.

        Object containing field identifier and value information.

        Parameters:
        equalTo - Object containing field identifier and value information.
      • fromEqualTo

        public static FieldFilter fromEqualTo​(Consumer<FieldValue.Builder> equalTo)
        Create an instance of this class with equalTo() initialized to the given value.

        Object containing field identifier and value information.

        Parameters:
        equalTo - Object containing field identifier and value information.
      • fromGreaterThan

        public static FieldFilter fromGreaterThan​(FieldValue greaterThan)
        Create an instance of this class with greaterThan() initialized to the given value.

        Object containing field identifier and value information.

        Parameters:
        greaterThan - Object containing field identifier and value information.
      • fromGreaterThan

        public static FieldFilter fromGreaterThan​(Consumer<FieldValue.Builder> greaterThan)
        Create an instance of this class with greaterThan() initialized to the given value.

        Object containing field identifier and value information.

        Parameters:
        greaterThan - Object containing field identifier and value information.
      • fromGreaterThanOrEqualTo

        public static FieldFilter fromGreaterThanOrEqualTo​(FieldValue greaterThanOrEqualTo)
        Create an instance of this class with greaterThanOrEqualTo() initialized to the given value.

        Object containing field identifier and value information.

        Parameters:
        greaterThanOrEqualTo - Object containing field identifier and value information.
      • fromGreaterThanOrEqualTo

        public static FieldFilter fromGreaterThanOrEqualTo​(Consumer<FieldValue.Builder> greaterThanOrEqualTo)
        Create an instance of this class with greaterThanOrEqualTo() initialized to the given value.

        Object containing field identifier and value information.

        Parameters:
        greaterThanOrEqualTo - Object containing field identifier and value information.
      • fromLessThan

        public static FieldFilter fromLessThan​(FieldValue lessThan)
        Create an instance of this class with lessThan() initialized to the given value.

        Object containing field identifier and value information.

        Parameters:
        lessThan - Object containing field identifier and value information.
      • fromLessThan

        public static FieldFilter fromLessThan​(Consumer<FieldValue.Builder> lessThan)
        Create an instance of this class with lessThan() initialized to the given value.

        Object containing field identifier and value information.

        Parameters:
        lessThan - Object containing field identifier and value information.
      • fromLessThanOrEqualTo

        public static FieldFilter fromLessThanOrEqualTo​(FieldValue lessThanOrEqualTo)
        Create an instance of this class with lessThanOrEqualTo() initialized to the given value.

        Object containing field identifier and value information.

        Parameters:
        lessThanOrEqualTo - Object containing field identifier and value information.
      • fromLessThanOrEqualTo

        public static FieldFilter fromLessThanOrEqualTo​(Consumer<FieldValue.Builder> lessThanOrEqualTo)
        Create an instance of this class with lessThanOrEqualTo() initialized to the given value.

        Object containing field identifier and value information.

        Parameters:
        lessThanOrEqualTo - Object containing field identifier and value information.