|
Siena (v.1.5.5) API documentation | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsiena.Op
public class Op
Siena selection operators.
Op defines a set of constants that represent the selection
operators offered by Siena. For example, Op.EQ
represents the ``equality'' operator, Op.GT
represents
the ``greater than'' operator, Op.LE
represents
the ``less or equal'' operator, etc.
Op also offers a convenient translation function that returns
operator codes based on their textual representation. For example,
Op.op("=")
returns Op.EQ
,
Op.op(">")
returns Op.GT
, ,
Op.op("<=")
returns Op.LE
, etc.
AttributeConstraint
,
Filter
Field Summary | |
---|---|
static short |
ANY
any operator |
static short |
EQ
equality operator |
static short |
GE
greater o equal operator |
static short |
GT
greater than operator |
static short |
LE
less or equal operator |
static short |
LT
less than operator |
static short |
NE
not equal operator |
static java.lang.String[] |
operators
string representation of operators |
static short |
PF
has prefix operator (for strings only, e.g., "software" PF "soft") x Op.PF y iff x begins with the prefix y |
static short |
SF
has suffix operator (for strings only, e.g., "software" SF "ware") x Op.SF y iff x ends with the suffix y |
static short |
SS
substring operator (for strings only, e.g., "software" SS "war") x Op.SS y iff x contains the substring y |
Constructor Summary | |
---|---|
Op()
|
Method Summary | |
---|---|
static short |
op(java.lang.String strop)
returns the operator corresponding to the given string representation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final short EQ
public static final short LT
public static final short GT
public static final short GE
public static final short LE
public static final short PF
public static final short SF
public static final short ANY
public static final short NE
public static final short SS
public static final java.lang.String[] operators
Constructor Detail |
---|
public Op()
Method Detail |
---|
public static short op(java.lang.String strop)
strop
- string representation of the operator (e.g. "=" returns
Operator.EQ
)
|
Siena (v.1.5.5) API documentation | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |