|
dbXML API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.dbxml.db.core.indexer.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
Any And All Matches |
static int |
BW
Between (Inclusive) |
static int |
BWX
Between (Exclusive) |
static int |
EQ
Equal To |
static int |
GT
Greater Than |
static int |
GTE
Greater Than Or Equal To |
static int |
IN
In The Set |
static int |
LT
Less Than |
static int |
LTE
Less Than Or Equal To |
static int |
NBW
Not Between (Inclusive) |
static int |
NBWX
Not Between (Exclusive) |
static int |
NEQ
Not Equal To |
static int |
NIN
Not In The Set |
static int |
NSW
Not Starts-with |
static int |
SW
Starts-with |
Constructor Summary | |
IndexQuery(IndexPattern pattern)
|
|
IndexQuery(IndexPattern pattern,
int op,
Value val1)
|
|
IndexQuery(IndexPattern pattern,
int op,
Value[] vals)
|
|
IndexQuery(IndexPattern pattern,
int op,
Value val1,
Value val2)
|
|
IndexQuery(IndexPattern pattern,
Value val1)
|
|
IndexQuery(IndexPattern pattern,
Value[] vals)
|
|
IndexQuery(IndexPattern pattern,
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. |
IndexPattern |
getPattern()
getPattern returns the IndexPattern 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(Value v)
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 LTE
public static final int LT
public static final int GTE
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 SW
public static final int NSW
Constructor Detail |
public IndexQuery(IndexPattern pattern)
public IndexQuery(IndexPattern pattern, int op, Value[] vals)
public IndexQuery(IndexPattern pattern, Value[] vals)
public IndexQuery(IndexPattern pattern, int op, Value val1)
public IndexQuery(IndexPattern pattern, Value val1)
public IndexQuery(IndexPattern pattern, int op, Value val1, Value val2)
public IndexQuery(IndexPattern pattern, Value val1, Value val2)
Method Detail |
public IndexPattern getPattern()
public int getOperator()
public final Value getValue(int index)
index
- The Value index
public Value[] getValues()
public final int getLength()
public boolean testValue(Value v)
|
dbXML API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |