Xindice API
version 1.2m1

org.apache.xindice.core.indexer.helpers
Class IndexQueryNSW

java.lang.Object
  extended byorg.apache.xindice.core.indexer.IndexQuery
      extended byorg.apache.xindice.core.indexer.helpers.IndexQueryNSW

public final class IndexQueryNSW
extends IndexQuery

IndexQueryNSW

Version:
$Revision: 541508 $, $Date: 2007-05-24 21:54:12 -0400 (Thu, 24 May 2007) $

Field Summary
 
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
 
Constructor Summary
IndexQueryNSW(IndexPattern pattern, String val1)
           
IndexQueryNSW(IndexPattern pattern, Value val1)
           
 
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 org.apache.xindice.core.indexer.IndexQuery
getLength, getPattern, getValue, getValues, testValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexQueryNSW

public IndexQueryNSW(IndexPattern pattern,
                     Value val1)

IndexQueryNSW

public IndexQueryNSW(IndexPattern pattern,
                     String val1)
Method Detail

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

Xindice API
version 1.2m1

Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.