Class EqualToFilterClause

  • All Implemented Interfaces:
    FilterClause

    public class EqualToFilterClause
    extends Object
    implements FilterClause
    A filter clause that filters on a field equal to a value.
    • Constructor Detail

      • EqualToFilterClause

        public EqualToFilterClause​(String fieldName,
                                   Object value)
        Initializes a new instance of the EqualToFilterClause class.
        Parameters:
        fieldName - The field name to filter on.
        value - The value to filter on.
    • Method Detail

      • getFieldName

        public String getFieldName()
        Gets the field name to filter on.
        Returns:
        The field name to filter on.
      • getValue

        public Object getValue()
        Gets the value.
        Returns:
        The value.