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 NodeAttribute
public void clear()
clear
in class org.apache.lucene.util.AttributeImpl
public void copyTo(org.apache.lucene.util.AttributeImpl target)
copyTo
in class org.apache.lucene.util.AttributeImpl
public void copyNode(org.apache.lucene.util.IntsRef nodePath)
NodeAttribute
copyNode
in interface NodeAttribute
NodeAttribute.node()
public void append(int nodeID)
NodeAttribute
append
in interface NodeAttribute
Copyright © 2014. All rights reserved.