public abstract class ComparisonOperator extends BaseOperator<ComparisonFilter>
f_asAlias, f_fConditional, f_sSymbol| Modifier | Constructor and Description | 
|---|---|
protected | 
ComparisonOperator(String sSymbol, String... asAliases)
Construct a comparison operator with the given symbol and aliases. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
abstract BaseOperator<ComparisonFilter> | 
flip()
Return the operator to use if this operation needs to be flipped due to the CohQL statement having the literal on the left hand side. 
 | 
ComparisonFilter | 
makeFilter(Term termLeft, Term termRight, TermWalker walker)
 | 
addAliases, addToTokenTable, getAliases, getSymbol, isConditional, makeExtractor, makeExtractor, makeFilter, toString, unmodifiableSetpublic ComparisonFilter makeFilter(Term termLeft, Term termRight, TermWalker walker)
BaseOperatorFilter for this BaseOperator using the specified left and right Terms.
Note: This method should be thread safe as operators are stored in a static map so may be called by multiple threads.
makeFilter in class BaseOperator<ComparisonFilter>termLeft - the left term to use to build a FiltertermRight - the right term to use to build a Filterwalker - the TermWalker to use to process the left and right termspublic abstract BaseOperator<ComparisonFilter> flip()