Class QueryFilter

java.lang.Object
tech.ailef.dbadmin.external.dto.QueryFilter

public class QueryFilter extends Object
A single filter in a FacetedSearchRequest. This describes a single boolean condition on the value of a specific field.
  • Constructor Details

  • Method Details

    • getField

      public DbField getField()
      Returns the field of the boolean condition
      Returns:
    • getOp

      public CompareOperator getOp()
      Returns the operator of the boolean condition
      Returns:
    • getValue

      public String getValue()
      Returns the value of the boolean condition
      Returns:
    • toString

      public String toString()
      Provides a readable version of this query filter, customized based on field type and/or operator.
      Overrides:
      toString in class Object
    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object