Class ConditionESQueryBuilderDispatcher
- java.lang.Object
-
- org.apache.unomi.persistence.elasticsearch.conditions.ConditionESQueryBuilderDispatcher
-
public class ConditionESQueryBuilderDispatcher extends Object
-
-
Constructor Summary
Constructors Constructor Description ConditionESQueryBuilderDispatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addQueryBuilder(String name, ConditionESQueryBuilder evaluator)
org.elasticsearch.index.query.QueryBuilder
buildFilter(Condition condition)
org.elasticsearch.index.query.QueryBuilder
buildFilter(Condition condition, Map<String,Object> context)
long
count(Condition condition)
long
count(Condition condition, Map<String,Object> context)
String
getQuery(Condition condition)
org.elasticsearch.index.query.QueryBuilder
getQueryBuilder(Condition condition)
void
removeQueryBuilder(String name)
void
setScriptExecutor(ScriptExecutor scriptExecutor)
-
-
-
Method Detail
-
setScriptExecutor
public void setScriptExecutor(ScriptExecutor scriptExecutor)
-
addQueryBuilder
public void addQueryBuilder(String name, ConditionESQueryBuilder evaluator)
-
removeQueryBuilder
public void removeQueryBuilder(String name)
-
getQueryBuilder
public org.elasticsearch.index.query.QueryBuilder getQueryBuilder(Condition condition)
-
buildFilter
public org.elasticsearch.index.query.QueryBuilder buildFilter(Condition condition)
-
buildFilter
public org.elasticsearch.index.query.QueryBuilder buildFilter(Condition condition, Map<String,Object> context)
-
count
public long count(Condition condition)
-
-