Class LikeOperator
java.lang.Object
com.tangosol.coherence.dslquery.operator.BaseOperator<LikeFilter>
com.tangosol.coherence.dslquery.operator.LikeOperator
- Direct Known Subclasses:
 ILikeOperator
A class representing the "like" operator.
- Since:
 - Coherence 12.2.1
 - Author:
 - jk 2013.12.03
 
- 
Field Summary
FieldsFields inherited from class com.tangosol.coherence.dslquery.operator.BaseOperator
f_asAlias, f_fConditional, f_sSymbol - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstruct a LikeOperator.protectedLikeOperator(String sSymbol, boolean fConditional, String... asAlias) Construct a LikeOperator. - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddToTokenTable(TokenTable tokenTable) Add this operator to the givenTokenTable.protected booleanmakeFilter(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 Details
- 
INSTANCE
An instance of the LikeOperator. 
 - 
 - 
Constructor Details
- 
LikeOperator
protected LikeOperator()Construct a LikeOperator. - 
LikeOperator
Construct a LikeOperator. 
 - 
 - 
Method Details
- 
makeFilter
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<LikeFilter>- 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
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<LikeFilter>- Parameters:
 tokenTable- the TokenTable to add this operator to
 - 
isIgnoreCase
protected boolean isIgnoreCase()- Returns:
 - the 
LikeOperatoris case-sensitive, therefore this returnsfalse - Since:
 - 21.06
 
 
 -