Class ChangableValueQuery
- java.lang.Object
-
- com.lucidworks.search.dsl.DslBase
-
- com.lucidworks.search.dsl.request.DslCloneable
-
- com.lucidworks.search.dsl.request.query.Query
-
- com.lucidworks.search.dsl.request.query.AbstractLeafQuery
-
- com.lucidworks.search.dsl.request.query.ChangableValueQuery
-
- Direct Known Subclasses:
AbstractTermQuery
,TermsQuery
,TextQuery
public abstract class ChangableValueQuery extends AbstractLeafQuery
An interface allowing modification of the String value underlying many {!link Query} implementations. Useful for client-side modification of existing queries.
-
-
Constructor Summary
Constructors Constructor Description ChangableValueQuery()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract ChangableValueQuery
clone()
abstract java.lang.String
getValue()
boolean
isEmptyQuery()
abstract void
setValue(java.lang.String value)
-
Methods inherited from class com.lucidworks.search.dsl.request.query.AbstractLeafQuery
getChildQueries, removeChildQuery, replaceChildQuery
-
Methods inherited from class com.lucidworks.search.dsl.request.DslCloneable
clone, deepClone
-
-
-
-
Method Detail
-
setValue
public abstract void setValue(java.lang.String value)
-
getValue
public abstract java.lang.String getValue()
-
clone
public abstract ChangableValueQuery clone()
-
isEmptyQuery
public boolean isEmptyQuery()
- Overrides:
isEmptyQuery
in classAbstractLeafQuery
- Returns:
- true if this query is now essentially "empty" (doesn't affect query logic at all) and can now be removed from the query tree. This can happen, for example, if all child queries were removed and the query logic depends on having at least one child query.
-
-