Class TextValueFilter

    • Constructor Detail

      • TextValueFilter

        public TextValueFilter​(String name)
        Create a text value filter with the given name
        Parameters:
        name - The field name this filter applies to
      • TextValueFilter

        public TextValueFilter​(String name,
                               String... values)
        Create a text value filter with the given values
        Parameters:
        name - The field name this filter applies to
        values - The field values to filter on
      • TextValueFilter

        public TextValueFilter​(String name,
                               List<String> values)
        Create a text value filter with the given values
        Parameters:
        name - The field name this filter applies to
        values - The field values to filter on
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getName

        public String getName()
        The field from your schema upon which to apply your filter
        Specified by:
        getName in interface FieldFilter
        Returns:
        the field name
      • getValues

        public List<String> getValues()
        The value upon which to filter. The value must be an exact match, even casing: True will not match on true.
        Returns:
        The values
      • setName

        public TextValueFilter setName​(String name)
        The field from your schema upon which to apply your filter
        Parameters:
        name - the field name
        Returns:
        this.
      • setValues

        public TextValueFilter setValues​(List<String> values)
        The value upon which to filter. The value must be an exact match, even casing: True will not match on true.
        Parameters:
        values - The values to match on
        Returns:
        this.