|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.uql.path.ConditionExpression
inetsoft.uql.path.expr.Expr
inetsoft.uql.path.expr.ListComparisonExpr
public class ListComparisonExpr
Compare a value with a list of values.
| Field Summary |
|---|
| Fields inherited from class inetsoft.uql.path.ConditionExpression |
|---|
ALL, ANY, SOME |
| Constructor Summary | |
|---|---|
ListComparisonExpr(Expr expr1,
Expr expr2,
String op,
int type)
Create a list comparison expression. |
|
| Method Summary | |
|---|---|
Object |
execute(XNode tree,
VariableTable vars)
Execute the expression on a data tree. |
Expr |
getExpression()
Get the value expression. |
Expr[] |
getExpressions()
Get the expressions used in this expr. |
Expr |
getListExpression()
Get the list expression. |
String |
getOperator()
Get the comparison operator. |
int |
getType()
Get the comparison type, ALL or ANY. |
String[] |
getVariables()
Get all variables used in the condition. |
String |
toString()
|
| Methods inherited from class inetsoft.uql.path.expr.Expr |
|---|
aggregate, append, booleanValue, compare, compare, doubleValue, getScalar, getScalarString, toArray, toString, toStringNot, toVector |
| Methods inherited from class inetsoft.uql.path.ConditionExpression |
|---|
parse |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ListComparisonExpr(Expr expr1,
Expr expr2,
String op,
int type)
expr1 - the value to compare.expr2 - list value.op - comparison operator.type - a constant of ALL, ANY, or SOME.| Method Detail |
|---|
public Expr getExpression()
public String getOperator()
public Expr getListExpression()
public int getType()
public String[] getVariables()
getVariables in class Expr
public Object execute(XNode tree,
VariableTable vars)
throws Exception
execute in class ConditionExpressiontree - data tree.vars - variable table.
Exceptionpublic Expr[] getExpressions()
getExpressions in class Exprpublic String toString()
toString in class Object
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||