Class BooleanQuery

All Implemented Interfaces:
Cloneable, Query

Represents a Query testing a boolean field.
  • Constructor Details

    • BooleanQuery

      public BooleanQuery(String fieldPath)
      Build a BooleanQuery testing the existence of the field.
      Parameters:
      fieldPath - the field's path
    • BooleanQuery

      public BooleanQuery(String fieldPath, Boolean value)
      Build a BooleanQuery.
      Parameters:
      fieldPath - the field's path
      value - the value.
    • BooleanQuery

      public BooleanQuery(String fieldPath, Query.Operator op, Boolean value)
      Build a BooleanQuery.
      Parameters:
      fieldPath - the field's path
      op - the operator.
      value - the value.
  • Method Details