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.
|
appendTo
acceptVisit, appendTo, getValue1, getValue2, selectColumns
public ExpState initialize(Select sel, ExpContext ctx, Map contains)
Exp
initialize
in interface Exp
initialize
in class CompareEqualExpression
contains
- 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()
CompareEqualExpression
isDirectComparison
in class CompareEqualExpression
Copyright © 2006–2015 Apache Software Foundation. All rights reserved.