@InterfaceStability.Uncommitted @InterfaceAudience.Public public class NumericRangeQuery extends AbstractFtsQuery
| Constructor and Description |
|---|
NumericRangeQuery() |
| Modifier and Type | Method and Description |
|---|---|
NumericRangeQuery |
boost(double boost) |
NumericRangeQuery |
field(String field) |
protected void |
injectParams(JsonObject input)
Override to inject query-specific parameters when doing the
SearchQuery.export(). |
NumericRangeQuery |
max(double max)
Sets the upper boundary of the range.
|
NumericRangeQuery |
max(double max,
boolean inclusive)
Sets the upper boundary of the range, inclusive or not depending on the second parameter.
|
NumericRangeQuery |
min(double min)
Sets the lower boundary of the range.
|
NumericRangeQuery |
min(double min,
boolean inclusive)
Sets the lower boundary of the range, inclusive or not depending on the second parameter.
|
injectParamsAndBoost, toStringpublic NumericRangeQuery min(double min, boolean inclusive)
public NumericRangeQuery min(double min)
min(double, boolean)public NumericRangeQuery max(double max, boolean inclusive)
public NumericRangeQuery max(double max)
max(double, boolean)public NumericRangeQuery field(String field)
public NumericRangeQuery boost(double boost)
boost in class AbstractFtsQueryprotected void injectParams(JsonObject input)
AbstractFtsQuerySearchQuery.export().injectParams in class AbstractFtsQueryinput - the prepared JsonObject that will represent the query.Copyright © 2015 Couchbase, Inc.