Class SearchState<T>
java.lang.Object
org.apache.nifi.util.search.ahocorasick.SearchState<T>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) void
addResult
(SearchTerm matchingTerm) boolean
Map
<SearchTerm<T>, List<Long>> (package private) void
incrementBytesRead
(long increment) (package private) void
setCurrentNode
(Node curr)
-
Field Details
-
currentNode
-
resultMap
-
bytesRead
private long bytesRead
-
-
Constructor Details
-
SearchState
SearchState(Node rootNode)
-
-
Method Details
-
incrementBytesRead
void incrementBytesRead(long increment) -
setCurrentNode
-
getCurrentNode
-
getResults
-
addResult
-
foundMatch
public boolean foundMatch()
-