Class TernaryTreeNode
- java.lang.Object
-
- org.apache.lucene.search.suggest.tst.TernaryTreeNode
-
public class TernaryTreeNode extends java.lang.ObjectThe class creates a TST node.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) TernaryTreeNodeeqKida reference object to the node containing character next to this node's character as occurring in the inserted token.(package private) TernaryTreeNodehiKida reference object to the node containing character higher than this node's character.(package private) TernaryTreeNodeloKida reference object to the node containing character smaller than this node's character.(package private) charsplitcharthe character stored by a node.(package private) java.lang.Stringtokenused by leaf nodes to store the complete tokens to be added to suggest list while auto-completing the prefix.(package private) java.lang.Objectval
-
Constructor Summary
Constructors Constructor Description TernaryTreeNode()Creates a new empty node
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) longsizeInBytes()
-
-
-
Field Detail
-
splitchar
char splitchar
the character stored by a node.
-
loKid
TernaryTreeNode loKid
a reference object to the node containing character smaller than this node's character.
-
eqKid
TernaryTreeNode eqKid
a reference object to the node containing character next to this node's character as occurring in the inserted token.
-
hiKid
TernaryTreeNode hiKid
a reference object to the node containing character higher than this node's character.
-
token
java.lang.String token
used by leaf nodes to store the complete tokens to be added to suggest list while auto-completing the prefix.
-
val
java.lang.Object val
-
-