Interface ValueQueryNode<T>

All Superinterfaces:
QueryNode, Serializable
All Known Subinterfaces:
All Known Implementing Classes:
FieldQueryNode, FuzzyQueryNode, NumericQueryNode, ParametricQueryNode, PrefixWildcardQueryNode, QuotedFieldQueryNode, WildcardQueryNode

public interface ValueQueryNode<T>
extends QueryNode

This interface should be implemented by a QueryNode that holds an arbitrary value.

Method Summary
 T getValue()
 void setValue(T value)
Methods inherited from interface org.apache.lucene.queryParser.core.nodes.QueryNode
add, add, cloneTree, containsTag, containsTag, getChildren, getParent, getTag, getTag, getTagMap, getTags, isLeaf, set, setTag, setTag, toQueryString, toString, unsetTag, unsetTag

Method Detail


void setValue(T value)


T getValue()

Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.