public class IndexNode extends TrieNode
| Constructor and Description |
|---|
IndexNode(CharTrie trie,
int index)
Instantiates a new Index node.
|
IndexNode(CharTrie trie,
short depth,
int index,
TrieNode parent)
Instantiates a new Index node.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<? extends IndexNode> |
getChild(char token)
Gets child.
|
Stream<? extends IndexNode> |
getChildren()
Gets children.
|
Stream<Cursor> |
getCursors()
Gets cursors.
|
Map<CharSequence,List<Cursor>> |
getCursorsByDocument()
Gets cursors by document.
|
IndexNode |
godparent()
Godparent trie node.
|
protected TrieNode |
newNode(int index)
New node trie node.
|
IndexNode |
refresh()
Refresh trie node.
|
TrieNode |
split()
Split trie node.
|
IndexNode |
traverse(long cursorId)
Traverse trie node.
|
IndexNode |
traverse(String str)
Traverse trie node.
|
IndexNode |
visitFirstIndex(Consumer<? super IndexNode> visitor)
Visit first index index node.
|
IndexNode |
visitLastIndex(Consumer<? super IndexNode> visitor)
Visit last index index node.
|
bitsTo, containsCursor, decrementCursorCount, equals, getChar, getChildrenMap, getContinuation, getCursorCount, getCursorIndex, getDebugString, getDebugString, getDebugToken, getDepth, getGodChildren, getNumberOfChildren, getParent, getRawString, getString, getString, getToken, getTrie, hasChildren, hashCode, intervalTo, isStringTerminal, removeCursorCount, streamDecendents, visitFirst, visitLastpublic IndexNode(CharTrie trie, short depth, int index, TrieNode parent)
trie - the triedepth - the depthindex - the indexparent - the parentpublic IndexNode(CharTrie trie, int index)
trie - the trieindex - the indexpublic Map<CharSequence,List<Cursor>> getCursorsByDocument()
public TrieNode split()
protected TrieNode newNode(int index)
TrieNodepublic IndexNode visitFirstIndex(Consumer<? super IndexNode> visitor)
visitor - the visitorpublic IndexNode visitLastIndex(Consumer<? super IndexNode> visitor)
visitor - the visitorpublic Stream<? extends IndexNode> getChildren()
TrieNodegetChildren in class TrieNodepublic Optional<? extends IndexNode> getChild(char token)
TrieNodepublic IndexNode traverse(String str)
TrieNodeCopyright © 2019 SimiaCryptus Software. All rights reserved.