Package org.ametys.cms.search.query
Class DoubleQuery
Represents a
Query
testing a double field.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.cms.search.query.Query
Query.LogicalOperator, Query.Operator
-
Field Summary
Fields inherited from interface org.ametys.cms.search.query.Query
BOOL_FILTER, BOOL_MUST, BOOL_MUST_NOT, BOOL_SHOULD
-
Constructor Summary
ConstructorDescriptionDoubleQuery
(String fieldPath) Build a DoubleQuery testing the existence of the field.DoubleQuery
(String fieldPath, Double value) Build a DoubleQuery.DoubleQuery
(String fieldPath, Query.Operator op, Double value) Build a DoubleQuery. -
Method Summary
Methods inherited from class org.ametys.cms.search.query.AbstractOperatorQuery
build, equals, getFieldName, getOperator, getValue, hashCode, rewrite, valueForQuery
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ametys.cms.search.query.Query
buildAsJson, toString
-
Constructor Details
-
DoubleQuery
Build a DoubleQuery testing the existence of the field.- Parameters:
fieldPath
- the field path
-
DoubleQuery
Build a DoubleQuery.- Parameters:
fieldPath
- the field's pathvalue
- the value.
-
DoubleQuery
Build a DoubleQuery.- Parameters:
fieldPath
- the field's pathop
- the operator.value
- the value.
-