Class CompareQuery<ValueType>

  extended by
      extended by<ValueType>
Type Parameters:
ValueType -
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
CompareLengthQuery, CompareNameQuery, ComparePathQuery, CompareStringQuery

public abstract class CompareQuery<ValueType>

A Lucene Query implementation that is used to apply a Comparison constraint against the Path of nodes. This query implementation works by using the weight and scorer of the wrapped query to score (and return) only those documents that correspond to nodes with Paths that satisfy the constraint.

See Also:
Serialized Form

Method Summary createWeight( searcher)
 String toString(String field)
Methods inherited from class
clone, combine, equals, extractTerms, getBoost, getSimilarity, hashCode, mergeBooleanQueries, rewrite, setBoost, toString, weight
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

Method Detail


public createWeight( searcher)

createWeight in class
See Also:


public String toString(String field)

Specified by:
toString in class
See Also:

Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.