|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FieldableNode
A query node implements 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.
Method Summary | |
---|---|
CharSequence |
getField()
Returns the field associated to the node and every node under it. |
void |
setField(CharSequence fieldName)
Associates the node to a field. |
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 |
---|
CharSequence getField()
void setField(CharSequence fieldName)
fieldName
- the field name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |