|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.filter.IndexHelper
public class IndexHelper
Utility class for matching filter parameters to indizes. Matches are indicated by the index FilterParamIndexBase
and the filter parameter FilterSpecParam
featuring the same event property name and filter operator.
Constructor Summary | |
---|---|
IndexHelper()
|
Method Summary | |
---|---|
static Pair<FilterValueSetParam,FilterParamIndexBase> |
findIndex(java.util.ArrayDeque<FilterValueSetParam> parameters,
java.util.List<FilterParamIndexBase> indizes)
Find an index that matches one of the filter parameters passed. |
static FilterValueSetParam |
findParameter(java.util.ArrayDeque<FilterValueSetParam> parameters,
FilterParamIndexBase index)
Determine among the passed in filter parameters any parameter that matches the given index on property name and filter operator type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IndexHelper()
Method Detail |
---|
public static Pair<FilterValueSetParam,FilterParamIndexBase> findIndex(java.util.ArrayDeque<FilterValueSetParam> parameters, java.util.List<FilterParamIndexBase> indizes)
parameters
- is the list of sorted filter parametersindizes
- is the collection of indexes
public static FilterValueSetParam findParameter(java.util.ArrayDeque<FilterValueSetParam> parameters, FilterParamIndexBase index)
parameters
- is the filter parameter listindex
- is a filter parameter constant value index
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |