Class ContainsAnyOperator
- java.lang.Object
-
- com.tangosol.coherence.dslquery.operator.BaseOperator<ContainsAnyFilter>
-
- com.tangosol.coherence.dslquery.operator.ContainsAnyOperator
-
public class ContainsAnyOperator extends BaseOperator<ContainsAnyFilter>
An operator representing the conditional "contains any" operation.- Since:
- Coherence 12.2.1
- Author:
- jk 2013.12.03
-
-
Field Summary
Fields Modifier and Type Field Description static ContainsAnyOperatorINSTANCEAn instance of the ContainsAnyOperator.-
Fields inherited from class com.tangosol.coherence.dslquery.operator.BaseOperator
f_asAlias, f_fConditional, f_sSymbol
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedContainsAnyOperator()Construct a ContainsAnyOperator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToTokenTable(TokenTable tokenTable)Add this operator to the givenTokenTable.ContainsAnyFiltermakeFilter(Object oLeft, Object oRight)Create aFilterfor thisBaseOperatorusing the specified left and right values.-
Methods inherited from class com.tangosol.coherence.dslquery.operator.BaseOperator
addAliases, getAliases, getSymbol, isConditional, makeExtractor, makeExtractor, makeFilter, toString, unmodifiableSet
-
-
-
-
Field Detail
-
INSTANCE
public static final ContainsAnyOperator INSTANCE
An instance of the ContainsAnyOperator.
-
-
Method Detail
-
makeFilter
public ContainsAnyFilter makeFilter(Object oLeft, Object oRight)
Description copied from class:BaseOperatorCreate aFilterfor thisBaseOperatorusing the specified left and right values.Note: This method should be thread safe as operators are stored in a static map so may be called by multiple threads.
- Overrides:
makeFilterin classBaseOperator<ContainsAnyFilter>- Parameters:
oLeft- the left value to use to build a FilteroRight- the right value to use to build a Filter- Returns:
- a Filter representing this operation
-
addToTokenTable
public void addToTokenTable(TokenTable tokenTable)
Description copied from class:BaseOperatorAdd this operator to the givenTokenTable. This typically means adding this operator using its symbol and also adding any aliases.- Specified by:
addToTokenTablein classBaseOperator<ContainsAnyFilter>- Parameters:
tokenTable- the TokenTable to add this operator to
-
-