class ContainsExpression extends EqualExpression
| Constructor and Description |
|---|
ContainsExpression(Val val1,
Val val2)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ExpState |
initialize(Select sel,
ExpContext ctx,
Map contains)
Initialize the expression.
|
protected boolean |
isDirectComparison()
Subclasses can override this method if, when they compare to another,
value, the comparison is indirect.
|
appendToacceptVisit, appendTo, getValue1, getValue2, selectColumnspublic ExpState initialize(Select sel, ExpContext ctx, Map contains)
Expinitialize in interface Expinitialize in class CompareEqualExpressioncontains - map of relation paths to the number of times
the paths appear in a contains() expression;
used to ensure paths used for contains() within
the same AND expression used different aliasesprotected boolean isDirectComparison()
CompareEqualExpressionisDirectComparison in class CompareEqualExpressionCopyright © 2006–2015 Apache Software Foundation. All rights reserved.