QueryNode
, Serializable
FieldValuePairQueryNode<T>
, RangeQueryNode<T>
AbstractRangeQueryNode
, FieldQueryNode
, FuzzyQueryNode
, MultiPhraseQueryNode
, NumericQueryNode
, NumericRangeQueryNode
, ParametricQueryNode
, ParametricRangeQueryNode
, PhraseSlopQueryNode
, PrefixWildcardQueryNode
, QuotedFieldQueryNode
, RangeQueryNode
, SlopQueryNode
, TermRangeQueryNode
, TokenizedPhraseQueryNode
, WildcardQueryNode
public interface FieldableNode extends QueryNode
FieldableNode
interface to indicate that its
children and itself are associated to a specific field.
If it has any children which also implements this interface, it must ensure
the children are associated to the same field.Modifier and Type | Method | Description |
---|---|---|
CharSequence |
getField() |
Returns the field associated to the node and every node under it.
|
void |
setField(CharSequence fieldName) |
Associates the node to a field.
|
add, add, cloneTree, containsTag, containsTag, getChildren, getParent, getTag, getTag, getTagMap, getTags, isLeaf, set, setTag, setTag, toQueryString, toString, unsetTag, unsetTag
CharSequence getField()
void setField(CharSequence fieldName)
fieldName
- the field nameCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.