public class JsonNodeAttributeImpl extends org.apache.lucene.util.AttributeImpl implements NodeAttribute, Cloneable, Serializable
NodeAttribute for a token coming from the
JsonTokenizer.| Constructor and Description |
|---|
JsonNodeAttributeImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
append(int nodeID)
Append a new node id to the node path
|
void |
clear() |
void |
copyNode(org.apache.lucene.util.IntsRef nodePath)
Set the node path.
|
void |
copyTo(org.apache.lucene.util.AttributeImpl target) |
boolean |
equals(Object other) |
int |
hashCode() |
org.apache.lucene.util.IntsRef |
node()
Returns this Token's node path.
|
String |
toString() |
public org.apache.lucene.util.IntsRef node()
node in interface NodeAttributepublic void clear()
clear in class org.apache.lucene.util.AttributeImplpublic void copyTo(org.apache.lucene.util.AttributeImpl target)
copyTo in class org.apache.lucene.util.AttributeImplpublic void copyNode(org.apache.lucene.util.IntsRef nodePath)
NodeAttributecopyNode in interface NodeAttributeNodeAttribute.node()public void append(int nodeID)
NodeAttributeappend in interface NodeAttributeCopyright © 2014. All rights reserved.