Package de.elo.ix.client.esearch.query
Class ContextTermQuery
java.lang.Object
de.elo.ix.client.esearch.query.ContextTermQuery
- All Implemented Interfaces:
Serializable
Submit a ContextTermQuery for each ContextTerm to be retrieved.
Describe the contextTerm in with filter. If a value is committed, this value is used to calculate every other ContextTerm in ContextTermOptions.contextTermQueries
Specify a return type for each contextTerm: ContextTermReturnTypeE
To exclude a value from contextTerms, use set isNegated=true. Defaults to false.
- Since:
- 11.00.000.002
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected QueryFilter
Specify the field and type for which a context term should be returned.protected boolean
To exclude a value from contextTerms, use set isNegated=true.protected ContextTermReturnTypeE
Specify the return type of this ContextTerm. -
Constructor Summary
ConstructorsConstructorDescriptionContextTermQuery
(QueryFilter filter, ContextTermReturnTypeE returnType) ContextTermQuery
(QueryFilter filter, ContextTermReturnTypeE returnType, boolean isNegated) -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setFilter
(QueryFilter filter) void
setNegated
(boolean isNegated) void
setReturnType
(ContextTermReturnTypeE returnType)
-
Field Details
-
filter
Specify the field and type for which a context term should be returned. -
returnType
Specify the return type of this ContextTerm. -
isNegated
protected boolean isNegatedTo exclude a value from contextTerms, use set isNegated=true. Defaults to false.- Since:
- 11.00.000.002
-
-
Constructor Details
-
ContextTermQuery
public ContextTermQuery() -
ContextTermQuery
-
ContextTermQuery
-
-
Method Details
-
getFilter
-
getReturnType
-
isNegated
public boolean isNegated() -
setFilter
-
setReturnType
-
setNegated
public void setNegated(boolean isNegated)
-