|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exist.storage.btree.IndexQuery
IndexQuery represents the most primitive form of index querying. Instances of this object should be created by QueryResolvers and cached in Query instances.
Field Summary | |
static int |
ANY
|
static int |
BW
|
static int |
BWX
|
static int |
EQ
|
static int |
GEQ
|
static int |
GT
|
static int |
IN
|
static int |
LEQ
|
static int |
LT
|
static int |
NBW
|
static int |
NBWX
|
static int |
NEQ
|
static int |
NIN
|
static int |
REGEXP
|
static int |
TRUNC_LEFT
|
static int |
TRUNC_RIGHT
|
Constructor Summary | |
IndexQuery()
|
|
IndexQuery(int op,
java.lang.String val1)
|
|
IndexQuery(int op,
java.lang.String val1,
java.lang.String val2)
|
|
IndexQuery(int op,
Value val1)
|
|
IndexQuery(int op,
Value[] vals)
|
|
IndexQuery(int op,
Value val1,
Value val2)
|
|
IndexQuery(java.lang.String val1)
|
|
IndexQuery(java.lang.String val1,
java.lang.String val2)
|
|
IndexQuery(Value val1)
|
|
IndexQuery(Value[] vals)
|
|
IndexQuery(Value val1,
Value val2)
|
Method Summary | |
int |
getLength()
getLength returns the length of the Value set associated with this query. |
int |
getOperator()
getOperator returns the operator associated with this query. |
Value |
getValue(int index)
getValue returns one of the Values associated with this query. |
Value[] |
getValues()
getValues returns the Values associated with this query. |
boolean |
testValue(java.lang.String value)
testValue tests the specified value for validity against this IndexQuery. |
boolean |
testValue(Value value)
testValue tests the specified value for validity against this IndexQuery. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int ANY
public static final int EQ
public static final int NEQ
public static final int GT
public static final int LEQ
public static final int LT
public static final int GEQ
public static final int BW
public static final int NBW
public static final int BWX
public static final int NBWX
public static final int IN
public static final int NIN
public static final int TRUNC_RIGHT
public static final int TRUNC_LEFT
public static final int REGEXP
Constructor Detail |
public IndexQuery()
public IndexQuery(int op, Value[] vals)
public IndexQuery(Value[] vals)
public IndexQuery(int op, Value val1)
public IndexQuery(Value val1)
public IndexQuery(int op, Value val1, Value val2)
public IndexQuery(Value val1, Value val2)
public IndexQuery(int op, java.lang.String val1)
public IndexQuery(java.lang.String val1)
public IndexQuery(int op, java.lang.String val1, java.lang.String val2)
public IndexQuery(java.lang.String val1, java.lang.String val2)
Method Detail |
public int getOperator()
public final Value getValue(int index)
index
- The Value index
public Value[] getValues()
public final int getLength()
public boolean testValue(Value value)
value
- The Value to compare
public final boolean testValue(java.lang.String value)
value
- The Value to compare
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |