org.apache.xindice.core.indexer.helpers
Class IndexQueryNBW
java.lang.Object
org.apache.xindice.core.indexer.IndexQuery
org.apache.xindice.core.indexer.helpers.IndexQueryNBW
- public final class IndexQueryNBW
- extends IndexQuery
IndexQueryNBW
- Version:
- $Revision: 541508 $, $Date: 2007-05-24 21:54:12 -0400 (Thu, 24 May 2007) $
Fields inherited from class org.apache.xindice.core.indexer.IndexQuery |
ANY, BW, BWX, EQ, GEQ, GT, IN, LEQ, LT, NBW, NBWX, NEQ, NIN, NSW, op, pattern, SW, TQ, vals |
Method Summary |
int |
getOperator()
getOperator returns the operator associated with this query. |
boolean |
testValue(Value value)
testValue tests the specified value for validity against this
IndexQuery. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexQueryNBW
public IndexQueryNBW(IndexPattern pattern,
Value val1,
Value val2)
IndexQueryNBW
public IndexQueryNBW(IndexPattern pattern,
String val1,
String val2)
getOperator
public int getOperator()
- Description copied from class:
IndexQuery
- getOperator returns the operator associated with this query.
- Overrides:
getOperator
in class IndexQuery
- Returns:
- The operator
testValue
public boolean testValue(Value value)
- Description copied from class:
IndexQuery
- testValue tests the specified value for validity against this
IndexQuery. The helper classes in org.apache.xindice.core.indexer.helpers
should be used for optimized performance.
- Overrides:
testValue
in class IndexQuery
- Parameters:
value
- The Value to compare
- Returns:
- Whether or not the value matches
Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.