public class SearchState<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
private long |
bytesRead |
private Node |
currentNode |
private Map<SearchTerm<T>,List<Long>> |
resultMap |
| Constructor and Description |
|---|
SearchState(Node rootNode) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
addResult(SearchTerm matchingTerm) |
boolean |
foundMatch() |
Node |
getCurrentNode() |
Map<SearchTerm<T>,List<Long>> |
getResults() |
(package private) void |
incrementBytesRead(long increment) |
(package private) void |
setCurrentNode(Node curr) |
private Node currentNode
private final Map<SearchTerm<T>,List<Long>> resultMap
private long bytesRead
SearchState(Node rootNode)
void incrementBytesRead(long increment)
void setCurrentNode(Node curr)
public Node getCurrentNode()
public Map<SearchTerm<T>,List<Long>> getResults()
void addResult(SearchTerm matchingTerm)
public boolean foundMatch()
Copyright © 2023 Apache NiFi Project. All rights reserved.