|
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
public abstract class Expr
This is the base class for all other expr classes. It provides common utility methods.
| Field Summary |
|---|
| Fields inherited from class inetsoft.uql.path.ConditionExpression |
|---|
ALL, ANY, SOME |
| Constructor Summary | |
|---|---|
Expr()
|
|
| Method Summary | |
|---|---|
static Object |
aggregate(String op,
Object[] arr)
Calculate the aggregate value of a collection of values. |
static String[] |
append(String[] v1,
String[] v2)
Append two arrays. |
static boolean |
booleanValue(Object val)
Convert a value to a boolean. |
static int |
compare(Object expr1,
Object expr2)
Compare to values. |
static boolean |
compare(Object v1,
String op,
Object v2)
Compare two values according to the operator. |
static double |
doubleValue(Object val)
Convert a value to a double. |
abstract Expr[] |
getExpressions()
Get the expressions used in this expr. |
static Object |
getScalar(Object val)
Get a scalar value. |
static String |
getScalarString(Object val)
Get the scalar value as a string, apply formatting if necessary. |
String[] |
getVariables()
Get all variables used in the condition. |
static Object[] |
toArray(XNode node)
Convert a node to an array. |
static String |
toString(Object val)
Convert a value to string. |
String |
toStringNot()
|
static Vector |
toVector(XNode node)
Convert the first column of a table to a vector. |
| Methods inherited from class inetsoft.uql.path.ConditionExpression |
|---|
execute, parse |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Expr()
| Method Detail |
|---|
public String[] getVariables()
getVariables in class ConditionExpressionpublic static boolean booleanValue(Object val)
public static double doubleValue(Object val)
public static Object getScalar(Object val)
public static String getScalarString(Object val)
public static int compare(Object expr1,
Object expr2)
public static boolean compare(Object v1,
String op,
Object v2)
public static String toString(Object val)
public static String[] append(String[] v1,
String[] v2)
public static Vector toVector(XNode node)
public static Object[] toArray(XNode node)
public static Object aggregate(String op,
Object[] arr)
public String toStringNot()
public abstract Expr[] getExpressions()
|
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 | ||||||||