Class LongQuery

All Implemented Interfaces:
Cloneable, Query

public class LongQuery extends AbstractOperatorQuery<Long>
Represents a Query testing a long field.
  • Constructor Details

    • LongQuery

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

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

      public LongQuery(String fieldPath, Query.Operator op, Long value)
      Build a LongQuery.
      Parameters:
      fieldPath - the field's path
      op - the operator.
      value - the value.