@InterfaceStability.Uncommitted @InterfaceAudience.Private public abstract class AbstractFtsQuery extends Object
A base class for all FTS query classes. Exposes the common FTS query parameters. In order to instantiate various flavors of queries, look at concrete classes or static factory methods in SearchQuery
.
Modifier | Constructor and Description |
---|---|
protected |
AbstractFtsQuery() |
Modifier and Type | Method and Description |
---|---|
AbstractFtsQuery |
boost(double boost) |
protected abstract void |
injectParams(JsonObject input)
Override to inject query-specific parameters when doing the
SearchQuery.export() . |
void |
injectParamsAndBoost(JsonObject input)
Injects the query’s parameters (including the common boost and query-specific parameters) into a prepared
JsonObject . |
String |
toString() |
public AbstractFtsQuery boost(double boost)
public void injectParamsAndBoost(JsonObject input)
Injects the query’s parameters (including the common boost and query-specific parameters) into a prepared JsonObject
.
input
- the prepared JsonObject to receive the parameters.for a usage of this method.
protected abstract void injectParams(JsonObject input)
Override to inject query-specific parameters when doing the SearchQuery.export()
.
input
- the prepared JsonObject
that will represent the query.Copyright © 2015 Couchbase, Inc.