Uses of Class
org.apache.unomi.api.conditions.Condition
-
-
Uses of Condition in org.apache.unomi.api
Methods in org.apache.unomi.api that return Condition Modifier and Type Method Description Condition
BatchUpdate. getCondition()
Retrieves the condition which items we want to update must satisfy.Methods in org.apache.unomi.api that return types with arguments of type Condition Modifier and Type Method Description Set<Condition>
ContextResponse. getTrackedConditions()
Retrieves the tracked conditions, if any, associated with the source of the context request that resulted in this ContextResponse.Methods in org.apache.unomi.api with parameters of type Condition Modifier and Type Method Description void
BatchUpdate. setCondition(Condition condition)
Specifies the condition which items to update.Method parameters in org.apache.unomi.api with type arguments of type Condition Modifier and Type Method Description void
ContextResponse. setTrackedConditions(Set<Condition> trackedConditions)
Sets the tracked conditions. -
Uses of Condition in org.apache.unomi.api.campaigns
Methods in org.apache.unomi.api.campaigns that return Condition Modifier and Type Method Description Condition
Campaign. getEntryCondition()
Retrieves the entry condition that must be satisfied for users to be considered as taking part of this Campaign.Methods in org.apache.unomi.api.campaigns with parameters of type Condition Modifier and Type Method Description void
Campaign. setEntryCondition(Condition entryCondition)
Sets the entry condition that must be satisfied for users to be considered as taking part of this Campaign.. -
Uses of Condition in org.apache.unomi.api.conditions
Methods in org.apache.unomi.api.conditions that return Condition Modifier and Type Method Description Condition
ConditionType. getParentCondition()
Retrieves the parent condition.Methods in org.apache.unomi.api.conditions with parameters of type Condition Modifier and Type Method Description void
ConditionType. setParentCondition(Condition parentCondition)
Sets the parent condition. -
Uses of Condition in org.apache.unomi.api.goals
Methods in org.apache.unomi.api.goals that return Condition Modifier and Type Method Description Condition
Goal. getStartEvent()
Retrieves theCondition
determining the goal's start event if any, used for more complex goals where an action has to be accomplished first before evaluating the success of the final goal (funnel goal for example).Condition
Goal. getTargetEvent()
Retrieves theCondition
determining the target event which needs to occur to consider the goal accomplished.Methods in org.apache.unomi.api.goals with parameters of type Condition Modifier and Type Method Description void
Goal. setStartEvent(Condition startEvent)
void
Goal. setTargetEvent(Condition targetEvent)
-
Uses of Condition in org.apache.unomi.api.query
Methods in org.apache.unomi.api.query that return Condition Modifier and Type Method Description Condition
AggregateQuery. getCondition()
Retrieves the condition.Condition
Query. getCondition()
Retrieves theCondition
associated with this Query.Methods in org.apache.unomi.api.query with parameters of type Condition Modifier and Type Method Description void
AggregateQuery. setCondition(Condition condition)
Sets the condition.void
Query. setCondition(Condition condition)
Sets theCondition
associated with this Query.Constructors in org.apache.unomi.api.query with parameters of type Condition Constructor Description AggregateQuery(Condition condition)
Instantiates a new Aggregate query with the specifiedCondition
.AggregateQuery(Aggregate aggregate, Condition condition)
-
Uses of Condition in org.apache.unomi.api.rules
Methods in org.apache.unomi.api.rules that return Condition Modifier and Type Method Description Condition
Rule. getCondition()
Retrieves the condition that, when satisfied, triggers the rule.Methods in org.apache.unomi.api.rules with parameters of type Condition Modifier and Type Method Description void
Rule. setCondition(Condition condition)
Sets the condition that, when satisfied, triggers the rule.. -
Uses of Condition in org.apache.unomi.api.segments
Methods in org.apache.unomi.api.segments that return Condition Modifier and Type Method Description Condition
ScoringElement. getCondition()
Retrieves the condition.Condition
Segment. getCondition()
Retrieves the condition that users'Profile
must satisfy in order to be considered member of this Segment.Methods in org.apache.unomi.api.segments with parameters of type Condition Modifier and Type Method Description void
ScoringElement. setCondition(Condition condition)
Sets the condition.void
Segment. setCondition(Condition condition)
Sets the condition that users'Profile
must satisfy in order to be considered member of this Segment. -
Uses of Condition in org.apache.unomi.api.services
Methods in org.apache.unomi.api.services that return Condition Modifier and Type Method Description Condition
DefinitionsService. extractConditionBySystemTag(Condition rootCondition, String systemTag)
Retrieves a condition matching the specified system tag identifier from the specified root condition.Condition
DefinitionsService. extractConditionByTag(Condition rootCondition, String tag)
Deprecated.As of 1.2.0-incubating, please useDefinitionsService.extractConditionBySystemTag(Condition, String)
insteadCondition
PersonalizationService.Filter. getCondition()
Retrieves the condition associated with this filter.Methods in org.apache.unomi.api.services that return types with arguments of type Condition Modifier and Type Method Description Set<Condition>
DefinitionsService. extractConditionsByType(Condition rootCondition, String typeId)
Retrieves all conditions of the specified type from the specified root condition.Set<Condition>
RulesService. getTrackedConditions(Item item)
Retrieves tracked conditions (rules with a condition marked with thetrackedCondition
tag and whichsourceEventCondition
matches the specified item) for the specified item.Methods in org.apache.unomi.api.services with parameters of type Condition Modifier and Type Method Description Condition
DefinitionsService. extractConditionBySystemTag(Condition rootCondition, String systemTag)
Retrieves a condition matching the specified system tag identifier from the specified root condition.Condition
DefinitionsService. extractConditionByTag(Condition rootCondition, String tag)
Deprecated.As of 1.2.0-incubating, please useDefinitionsService.extractConditionBySystemTag(Condition, String)
insteadSet<Condition>
DefinitionsService. extractConditionsByType(Condition rootCondition, String typeId)
Retrieves all conditions of the specified type from the specified root condition.String
SegmentService. getGeneratedPropertyKey(Condition condition, Condition parentCondition)
Get generated property key for past event conditionMap<String,Double>
QueryService. getMetric(String type, String property, String slashConcatenatedMetrics, Condition condition)
Retrieves the specified metrics for the specified field of items of the specified type as defined by the Item subclass public fieldITEM_TYPE
and matching the specifiedCondition
.long
QueryService. getQueryCount(String itemType, Condition condition)
Retrieves the number of items of the specified type as defined by the Item subclass public fieldITEM_TYPE
and matching the specifiedCondition
.boolean
ProfileService. matchCondition(Condition condition, Profile profile, Session session)
Checks whether the specified profile and/or session satisfy the specified condition.boolean
DefinitionsService. resolveConditionType(Condition rootCondition)
Resolves (if possible) theConditionType
s for the specified condition and its sub-conditions (if any) from the type identifiers existing on the specified condition TODO: remove from API and move to a different class?PartialList<Event>
EventService. searchEvents(Condition condition, int offset, int size)
void
PersonalizationService.Filter. setCondition(Condition condition)
Sets the condition associated with this filter. -
Uses of Condition in org.apache.unomi.api.utils
Fields in org.apache.unomi.api.utils declared as Condition Modifier and Type Field Description protected Condition
ConditionBuilder.ConditionItem. condition
Methods in org.apache.unomi.api.utils that return Condition Modifier and Type Method Description Condition
ConditionBuilder.ConditionItem. build()
Methods in org.apache.unomi.api.utils with parameters of type Condition Modifier and Type Method Description static List<String>
ParserHelper. getConditionTypeIds(Condition rootCondition)
void
ParserHelper.ConditionVisitor. postVisit(Condition condition)
void
ParserHelper.EventTypeConditionVisitor. postVisit(Condition condition)
static Set<String>
ParserHelper. resolveConditionEventTypes(Condition rootCondition)
static boolean
ParserHelper. resolveConditionType(DefinitionsService definitionsService, Condition rootCondition, String contextObjectName)
void
ParserHelper.ConditionVisitor. visit(Condition condition)
void
ParserHelper.EventTypeConditionVisitor. visit(Condition condition)
static void
ParserHelper. visitConditions(Condition rootCondition, ParserHelper.ConditionVisitor visitor)
-
Uses of Condition in org.apache.unomi.graphql.condition.factories
Methods in org.apache.unomi.graphql.condition.factories that return Condition Modifier and Type Method Description Condition
ConditionFactory. booleanCondition(String operator, List<Condition> subConditions)
Condition
ConditionFactory. datePropertyCondition(String propertyName, String operator, Object propertyValue)
Condition
EventConditionFactory. eventFilterInputCondition(CDPEventFilterInput filterInput, Map<String,Object> filterInputAsMap)
Condition
ProfileAliasConditionFactory. filterInputCondition(CDPProfileAliasFilterInput filterInput, Map<String,Object> filterInputAsMap)
Condition
TopicConditionFactory. filterInputCondition(CDPTopicFilterInput filterInput, Map<String,Object> filterInputAsMap)
<INPUT> Condition
ConditionFactory. filtersToCondition(List<INPUT> inputFilters, Function<INPUT,Condition> function, String operator)
<INPUT> Condition
ConditionFactory. filtersToCondition(List<INPUT> inputFilters, List<Map<String,Object>> filterInputAsMap, BiFunction<INPUT,Map<String,Object>,Condition> function, String operator)
Condition
ConditionFactory. integerPropertyCondition(String propertyName, Object propertyValue)
Condition
ConditionFactory. integerPropertyCondition(String propertyName, String operator, Object propertyValue)
Condition
ConditionFactory. matchAllCondition()
Condition
ProfileConditionFactory. profileFilterInputCondition(CDPProfileFilterInput filterInput, Map<String,Object> filterInputAsMap)
Condition
ConditionFactory. propertiesCondition(String propertyName, String operator, List<String> propertyValues)
Condition
ConditionFactory. propertyCondition(String propertyName, Object propertyValue)
Condition
ConditionFactory. propertyCondition(String propertyName, String operator, Object propertyValue)
Condition
ConditionFactory. propertyCondition(String propertyName, String operator, String propertyValueName, Object propertyValue)
Condition
ProfileConditionFactory. segmentFilterInputCondition(CDPSegmentFilterInput filterInput)
Method parameters in org.apache.unomi.graphql.condition.factories with type arguments of type Condition Modifier and Type Method Description Condition
ConditionFactory. booleanCondition(String operator, List<Condition> subConditions)
<INPUT> Condition
ConditionFactory. filtersToCondition(List<INPUT> inputFilters, Function<INPUT,Condition> function, String operator)
<INPUT> Condition
ConditionFactory. filtersToCondition(List<INPUT> inputFilters, List<Map<String,Object>> filterInputAsMap, BiFunction<INPUT,Map<String,Object>,Condition> function, String operator)
-
Uses of Condition in org.apache.unomi.graphql.condition.parsers
Constructors in org.apache.unomi.graphql.condition.parsers with parameters of type Condition Constructor Description SegmentConditionParser(Condition segmentCondition, graphql.schema.DataFetchingEnvironment environment)
SegmentProfileEventsConditionParser(Condition condition, graphql.schema.DataFetchingEnvironment environment)
SegmentProfileInterestsConditionParser(Condition condition)
SegmentProfilePropertiesConditionParser(Condition condition, graphql.schema.DataFetchingEnvironment environment)
Constructor parameters in org.apache.unomi.graphql.condition.parsers with type arguments of type Condition Constructor Description SegmentProfileConsentsConditionParser(List<Condition> conditions)
SegmentProfileIDsConditionParser(List<Condition> conditions)
SegmentProfileListConditionParser(List<Condition> conditions)
SegmentProfileSegmentsConditionParser(List<Condition> conditions)
-
Uses of Condition in org.apache.unomi.graphql.fetchers
Methods in org.apache.unomi.graphql.fetchers with parameters of type Condition Modifier and Type Method Description protected Query
BaseConnectionDataFetcher. buildQuery(Condition condition, List<CDPOrderByInput> orderByInputs, ConnectionParams params)
-
Uses of Condition in org.apache.unomi.graphql.fetchers.event
Methods in org.apache.unomi.graphql.fetchers.event with parameters of type Condition Modifier and Type Method Description org.reactivestreams.Publisher<CDPEventInterface>
UnomiEventPublisher. createPublisher(Condition filterCondition)
-
Uses of Condition in org.apache.unomi.graphql.utils
Methods in org.apache.unomi.graphql.utils that return Condition Modifier and Type Method Description Condition
ConditionBuilder. build()
-
Uses of Condition in org.apache.unomi.persistence.elasticsearch
Methods in org.apache.unomi.persistence.elasticsearch with parameters of type Condition Modifier and Type Method Description Map<String,Long>
ElasticSearchPersistenceServiceImpl. aggregateQuery(Condition filter, BaseAggregate aggregate, String itemType)
Deprecated.As of version 1.3.0-incubating, useElasticSearchPersistenceServiceImpl.aggregateWithOptimizedQuery(Condition, BaseAggregate, String)
insteadMap<String,Long>
ElasticSearchPersistenceServiceImpl. aggregateWithOptimizedQuery(Condition filter, BaseAggregate aggregate, String itemType)
Map<String,Long>
ElasticSearchPersistenceServiceImpl. aggregateWithOptimizedQuery(Condition filter, BaseAggregate aggregate, String itemType, int size)
Map<String,Double>
ElasticSearchPersistenceServiceImpl. getSingleValuesMetrics(Condition condition, String[] metrics, String field, String itemType)
boolean
ElasticSearchPersistenceServiceImpl. isValidCondition(Condition condition, Item item)
<T extends Item>
List<T>ElasticSearchPersistenceServiceImpl. query(Condition query, String sortBy, Class<T> clazz)
<T extends Item>
PartialList<T>ElasticSearchPersistenceServiceImpl. query(Condition query, String sortBy, Class<T> clazz, int offset, int size)
<T extends Item>
PartialList<T>ElasticSearchPersistenceServiceImpl. query(Condition query, String sortBy, Class<T> clazz, int offset, int size, String scrollTimeValidity)
long
ElasticSearchPersistenceServiceImpl. queryCount(Condition query, String itemType)
PartialList<CustomItem>
ElasticSearchPersistenceServiceImpl. queryCustomItem(Condition query, String sortBy, String customItemType, int offset, int size, String scrollTimeValidity)
<T extends Item>
PartialList<T>ElasticSearchPersistenceServiceImpl. queryFullText(String fulltext, Condition query, String sortBy, Class<T> clazz, int offset, int size)
<T extends Item>
booleanElasticSearchPersistenceServiceImpl. removeByQuery(Condition query, Class<T> clazz)
boolean
ElasticSearchPersistenceServiceImpl. saveQuery(String queryName, Condition query)
boolean
ElasticSearchPersistenceServiceImpl. testMatch(Condition query, Item item)
boolean
ElasticSearchPersistenceServiceImpl. updateWithQueryAndScript(Class<?> clazz, String[] scripts, Map<String,Object>[] scriptParams, Condition[] conditions)
boolean
ElasticSearchPersistenceServiceImpl. updateWithQueryAndScript(Date dateHint, Class<?> clazz, String[] scripts, Map<String,Object>[] scriptParams, Condition[] conditions)
boolean
ElasticSearchPersistenceServiceImpl. updateWithQueryAndStoredScript(Class<?>[] classes, String[] scripts, Map<String,Object>[] scriptParams, Condition[] conditions, boolean waitForComplete)
boolean
ElasticSearchPersistenceServiceImpl. updateWithQueryAndStoredScript(Class<?> clazz, String[] scripts, Map<String,Object>[] scriptParams, Condition[] conditions)
boolean
ElasticSearchPersistenceServiceImpl. updateWithQueryAndStoredScript(Date dateHint, Class<?> clazz, String[] scripts, Map<String,Object>[] scriptParams, Condition[] conditions)
-
Uses of Condition in org.apache.unomi.persistence.elasticsearch.conditions
Methods in org.apache.unomi.persistence.elasticsearch.conditions that return Condition Modifier and Type Method Description static Condition
ConditionContextHelper. getContextualCondition(Condition condition, Map<String,Object> context, ScriptExecutor scriptExecutor)
Methods in org.apache.unomi.persistence.elasticsearch.conditions with parameters of type Condition Modifier and Type Method Description org.elasticsearch.index.query.QueryBuilder
ConditionESQueryBuilderDispatcher. buildFilter(Condition condition)
org.elasticsearch.index.query.QueryBuilder
ConditionESQueryBuilderDispatcher. buildFilter(Condition condition, Map<String,Object> context)
org.elasticsearch.index.query.QueryBuilder
ConditionESQueryBuilder. buildQuery(Condition condition, Map<String,Object> context, ConditionESQueryBuilderDispatcher dispatcher)
default long
ConditionESQueryBuilder. count(Condition condition, Map<String,Object> context, ConditionESQueryBuilderDispatcher dispatcher)
long
ConditionESQueryBuilderDispatcher. count(Condition condition)
long
ConditionESQueryBuilderDispatcher. count(Condition condition, Map<String,Object> context)
boolean
ConditionEvaluator. eval(Condition condition, Item item, Map<String,Object> context, ConditionEvaluatorDispatcher dispatcher)
boolean
ConditionEvaluatorDispatcher. eval(Condition condition, Item item)
boolean
ConditionEvaluatorDispatcher. eval(Condition condition, Item item, Map<String,Object> context)
static Condition
ConditionContextHelper. getContextualCondition(Condition condition, Map<String,Object> context, ScriptExecutor scriptExecutor)
String
ConditionESQueryBuilderDispatcher. getQuery(Condition condition)
org.elasticsearch.index.query.QueryBuilder
ConditionESQueryBuilderDispatcher. getQueryBuilder(Condition condition)
-
Uses of Condition in org.apache.unomi.persistence.spi
Methods in org.apache.unomi.persistence.spi with parameters of type Condition Modifier and Type Method Description Map<String,Long>
PersistenceService. aggregateQuery(Condition filter, BaseAggregate aggregate, String itemType)
Deprecated.As of 1.3.0-incubating, please usePersistenceService.aggregateWithOptimizedQuery(Condition, BaseAggregate, String)
insteadMap<String,Long>
PersistenceService. aggregateWithOptimizedQuery(Condition filter, BaseAggregate aggregate, String itemType)
Retrieves the number of items with the specified type as defined by the Item subclass public fieldITEM_TYPE
matching the optional specified condition and aggregated according to the specifiedBaseAggregate
.Map<String,Long>
PersistenceService. aggregateWithOptimizedQuery(Condition filter, BaseAggregate aggregate, String itemType, int size)
Retrieves the number of items with the specified type as defined by the Item subclass public fieldITEM_TYPE
matching the optional specified condition and aggregated according to the specifiedBaseAggregate
.Map<String,Double>
PersistenceService. getSingleValuesMetrics(Condition condition, String[] metrics, String field, String type)
Retrieves the specified metrics for the specified field of items of the specified type as defined by the Item subclass public fieldITEM_TYPE
and matching the specifiedCondition
.boolean
PersistenceService. isValidCondition(Condition condition, Item item)
validates if a condition throws exception at query build.<T extends Item>
List<T>PersistenceService. query(Condition query, String sortBy, Class<T> clazz)
Same asquery(query, sortBy, clazz, 0, -1).getList()
<T extends Item>
PartialList<T>PersistenceService. query(Condition query, String sortBy, Class<T> clazz, int offset, int size)
Retrieves a list of items satisfying the specifiedCondition
, ordered according to the specifiedsortBy
String and and paged: onlysize
of them are retrieved, starting with theoffset
-th one.<T extends Item>
PartialList<T>PersistenceService. query(Condition query, String sortBy, Class<T> clazz, int offset, int size, String scrollTimeValidity)
Retrieves a list of items satisfying the specifiedCondition
, ordered according to the specifiedsortBy
String and and paged: onlysize
of them are retrieved, starting with theoffset
-th one.long
PersistenceService. queryCount(Condition query, String itemType)
Retrieves the number of items of the specified type as defined by the Item subclass public fieldITEM_TYPE
and matching the specifiedCondition
.PartialList<CustomItem>
PersistenceService. queryCustomItem(Condition query, String sortBy, String customItemType, int offset, int size, String scrollTimeValidity)
Retrieves a list of items satisfying the specifiedCondition
, ordered according to the specifiedsortBy
String and paged: onlysize
of them are retrieved, starting with theoffset
-th one.<T extends Item>
PartialList<T>PersistenceService. queryFullText(String fulltext, Condition query, String sortBy, Class<T> clazz, int offset, int size)
Retrieves the same items asquery(query, sortBy, clazz, 0, -1)
with the added constraints that the matching elements must also have at least a field matching the specified full text query.<T extends Item>
booleanPersistenceService. removeByQuery(Condition query, Class<T> clazz)
Deletes items with the specified Item subclass matching the specifiedCondition
.boolean
PersistenceService. saveQuery(String queryName, Condition query)
Persists the specified query under the specified name.boolean
PersistenceService. testMatch(Condition query, Item item)
Checks whether the specified item satisfies the provided condition.default boolean
PersistenceService. updateWithQueryAndScript(Class<?> clazz, String[] scripts, Map<String,Object>[] scriptParams, Condition[] conditions)
Updates the items of the specified class by a query with a new property value for the specified property name based on provided scripts and script parametersboolean
PersistenceService. updateWithQueryAndScript(Date dateHint, Class<?> clazz, String[] scripts, Map<String,Object>[] scriptParams, Condition[] conditions)
boolean
PersistenceService. updateWithQueryAndStoredScript(Class<?>[] classes, String[] scripts, Map<String,Object>[] scriptParams, Condition[] conditions, boolean waitForComplete)
Updates the items of the specified class by a query with a new property value for the specified property name based on provided stored scripts and script parameters, This one is able to perform an update on multiple types in a single run, be careful with your query as it will be performed on all of them.default boolean
PersistenceService. updateWithQueryAndStoredScript(Class<?> clazz, String[] scripts, Map<String,Object>[] scriptParams, Condition[] conditions)
Updates the items of the specified class by a query with a new property value for the specified property name based on provided stored scripts and script parametersboolean
PersistenceService. updateWithQueryAndStoredScript(Date dateHint, Class<?> clazz, String[] scripts, Map<String,Object>[] scriptParams, Condition[] conditions)
-
Uses of Condition in org.apache.unomi.plugins.baseplugin.conditions
Methods in org.apache.unomi.plugins.baseplugin.conditions that return Condition Modifier and Type Method Description protected static Condition
PastEventConditionESQueryBuilder. getEventCondition(Condition condition, Map<String,Object> context, String profileId, DefinitionsService definitionsService, ScriptExecutor scriptExecutor)
Methods in org.apache.unomi.plugins.baseplugin.conditions with parameters of type Condition Modifier and Type Method Description org.elasticsearch.index.query.QueryBuilder
BooleanConditionESQueryBuilder. buildQuery(Condition condition, Map<String,Object> context, ConditionESQueryBuilderDispatcher dispatcher)
org.elasticsearch.index.query.QueryBuilder
GeoLocationByPointSessionConditionESQueryBuilder. buildQuery(Condition condition, Map<String,Object> context, ConditionESQueryBuilderDispatcher dispatcher)
org.elasticsearch.index.query.QueryBuilder
IdsConditionESQueryBuilder. buildQuery(Condition condition, Map<String,Object> context, ConditionESQueryBuilderDispatcher dispatcher)
org.elasticsearch.index.query.QueryBuilder
MatchAllConditionESQueryBuilder. buildQuery(Condition condition, Map<String,Object> context, ConditionESQueryBuilderDispatcher dispatcher)
org.elasticsearch.index.query.QueryBuilder
NestedConditionESQueryBuilder. buildQuery(Condition condition, Map<String,Object> context, ConditionESQueryBuilderDispatcher dispatcher)
org.elasticsearch.index.query.QueryBuilder
NotConditionESQueryBuilder. buildQuery(Condition condition, Map<String,Object> context, ConditionESQueryBuilderDispatcher dispatcher)
org.elasticsearch.index.query.QueryBuilder
PastEventConditionESQueryBuilder. buildQuery(Condition condition, Map<String,Object> context, ConditionESQueryBuilderDispatcher dispatcher)
org.elasticsearch.index.query.QueryBuilder
PropertyConditionESQueryBuilder. buildQuery(Condition condition, Map<String,Object> context, ConditionESQueryBuilderDispatcher dispatcher)
org.elasticsearch.index.query.QueryBuilder
SourceEventPropertyConditionESQueryBuilder. buildQuery(Condition condition, Map<String,Object> context, ConditionESQueryBuilderDispatcher dispatcher)
long
PastEventConditionESQueryBuilder. count(Condition condition, Map<String,Object> context, ConditionESQueryBuilderDispatcher dispatcher)
boolean
BooleanConditionEvaluator. eval(Condition condition, Item item, Map<String,Object> context, ConditionEvaluatorDispatcher dispatcher)
boolean
GeoLocationByPointSessionConditionEvaluator. eval(Condition condition, Item item, Map<String,Object> context, ConditionEvaluatorDispatcher dispatcher)
boolean
IdsConditionEvaluator. eval(Condition condition, Item item, Map<String,Object> context, ConditionEvaluatorDispatcher dispatcher)
boolean
MatchAllConditionEvaluator. eval(Condition condition, Item item, Map<String,Object> context, ConditionEvaluatorDispatcher dispatcher)
boolean
NestedConditionEvaluator. eval(Condition condition, Item item, Map<String,Object> context, ConditionEvaluatorDispatcher dispatcher)
boolean
NotConditionEvaluator. eval(Condition condition, Item item, Map<String,Object> context, ConditionEvaluatorDispatcher dispatcher)
boolean
PastEventConditionEvaluator. eval(Condition condition, Item item, Map<String,Object> context, ConditionEvaluatorDispatcher dispatcher)
boolean
PropertyConditionEvaluator. eval(Condition condition, Item item, Map<String,Object> context, ConditionEvaluatorDispatcher dispatcher)
boolean
SourceEventPropertyConditionEvaluator. eval(Condition condition, Item item, Map<String,Object> context, ConditionEvaluatorDispatcher dispatcher)
protected static Condition
PastEventConditionESQueryBuilder. getEventCondition(Condition condition, Map<String,Object> context, String profileId, DefinitionsService definitionsService, ScriptExecutor scriptExecutor)
protected boolean
PropertyConditionEvaluator. isMatch(String op, Object actualValue, String expectedValue, Object expectedValueInteger, Object expectedValueDouble, Object expectedValueDate, Object expectedValueDateExpr, Condition condition)
-
Uses of Condition in org.apache.unomi.plugins.events.hover.querybuilders
Methods in org.apache.unomi.plugins.events.hover.querybuilders with parameters of type Condition Modifier and Type Method Description org.elasticsearch.index.query.QueryBuilder
HoverEventConditionESQueryBuilder. buildQuery(Condition condition, Map<String,Object> context, ConditionESQueryBuilderDispatcher dispatcher)
-
Uses of Condition in org.apache.unomi.rest.endpoints
Methods in org.apache.unomi.rest.endpoints with parameters of type Condition Modifier and Type Method Description Map<String,Double>
QueryServiceEndPoint. getMetric(String type, String property, String metricsType, Condition condition)
Retrieves the specified metrics for the specified field of items of the specified type as defined by the Item subclass public fieldITEM_TYPE
and matching the specifiedCondition
.long
QueryServiceEndPoint. getQueryCount(String type, Boolean validate, Condition condition, javax.servlet.http.HttpServletResponse response)
Retrieves the number of items of the specified type as defined by the Item subclass public fieldITEM_TYPE
and matching the specifiedCondition
.boolean
ProfileServiceEndPoint. matchCondition(Condition condition, Profile profile, Session session)
-
Uses of Condition in org.apache.unomi.services.impl.definitions
Methods in org.apache.unomi.services.impl.definitions that return Condition Modifier and Type Method Description Condition
DefinitionsServiceImpl. extractConditionBySystemTag(Condition rootCondition, String systemTag)
Condition
DefinitionsServiceImpl. extractConditionByTag(Condition rootCondition, String tag)
Deprecated.As of version 1.2.0-incubating, useDefinitionsServiceImpl.extractConditionBySystemTag(Condition, String)
insteadMethods in org.apache.unomi.services.impl.definitions that return types with arguments of type Condition Modifier and Type Method Description Set<Condition>
DefinitionsServiceImpl. extractConditionsByType(Condition rootCondition, String typeId)
Methods in org.apache.unomi.services.impl.definitions with parameters of type Condition Modifier and Type Method Description Condition
DefinitionsServiceImpl. extractConditionBySystemTag(Condition rootCondition, String systemTag)
Condition
DefinitionsServiceImpl. extractConditionByTag(Condition rootCondition, String tag)
Deprecated.As of version 1.2.0-incubating, useDefinitionsServiceImpl.extractConditionBySystemTag(Condition, String)
insteadSet<Condition>
DefinitionsServiceImpl. extractConditionsByType(Condition rootCondition, String typeId)
boolean
DefinitionsServiceImpl. resolveConditionType(Condition rootCondition)
-
Uses of Condition in org.apache.unomi.services.impl.events
Methods in org.apache.unomi.services.impl.events with parameters of type Condition Modifier and Type Method Description PartialList<Event>
EventServiceImpl. searchEvents(Condition condition, int offset, int size)
-
Uses of Condition in org.apache.unomi.services.impl.profiles
Methods in org.apache.unomi.services.impl.profiles with parameters of type Condition Modifier and Type Method Description boolean
ProfileServiceImpl. matchCondition(Condition condition, Profile profile, Session session)
-
Uses of Condition in org.apache.unomi.services.impl.queries
Methods in org.apache.unomi.services.impl.queries with parameters of type Condition Modifier and Type Method Description Map<String,Double>
QueryServiceImpl. getMetric(String type, String property, String slashConcatenatedMetrics, Condition condition)
long
QueryServiceImpl. getQueryCount(String itemType, Condition condition)
-
Uses of Condition in org.apache.unomi.services.impl.rules
Methods in org.apache.unomi.services.impl.rules that return types with arguments of type Condition Modifier and Type Method Description Set<Condition>
RulesServiceImpl. getTrackedConditions(Item source)
-
Uses of Condition in org.apache.unomi.services.impl.segments
Methods in org.apache.unomi.services.impl.segments with parameters of type Condition Modifier and Type Method Description String
SegmentServiceImpl. getGeneratedPropertyKey(Condition condition, Condition parentCondition)
void
SegmentServiceImpl. updateAutoGeneratedRules(Metadata metadata, Condition condition)
-