public class EventRowRegexHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static java.util.Comparator<RegexNFAStateEntry> |
END_STATE_COMPARATOR |
Constructor and Description |
---|
EventRowRegexHelper() |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<java.lang.String,java.util.Set<java.lang.String>> |
determineVisibility(RowRegexExprNode pattern) |
protected static RegexNFAStrandResult |
recursiveBuildStartStates(RowRegexExprNode parent,
java.util.Map<java.lang.String,Pair<ExprNode,ExprEvaluator>> variableDefinitions,
java.util.Map<java.lang.String,Pair<java.lang.Integer,java.lang.Boolean>> variableStreams,
boolean[] exprRequiresMultimatchState)
Build a list of start states from the parent node.
|
static EventRowRegexNFAViewService |
recursiveFindRegexService(Viewable top) |
protected static void |
recursiveInspectVariables(RowRegexExprNode parent,
boolean isMultiple,
java.util.Set<java.lang.String> variablesSingle,
java.util.Set<java.lang.String> variablesMultiple)
Inspect variables recursively.
|
protected static final java.util.Comparator<RegexNFAStateEntry> END_STATE_COMPARATOR
public static EventRowRegexNFAViewService recursiveFindRegexService(Viewable top)
protected static void recursiveInspectVariables(RowRegexExprNode parent, boolean isMultiple, java.util.Set<java.lang.String> variablesSingle, java.util.Set<java.lang.String> variablesMultiple)
parent
- parent regex expression nodeisMultiple
- if the variable in the stack is multiple of singlevariablesSingle
- single variables listvariablesMultiple
- group variables listprotected static RegexNFAStrandResult recursiveBuildStartStates(RowRegexExprNode parent, java.util.Map<java.lang.String,Pair<ExprNode,ExprEvaluator>> variableDefinitions, java.util.Map<java.lang.String,Pair<java.lang.Integer,java.lang.Boolean>> variableStreams, boolean[] exprRequiresMultimatchState)
parent
- to build start state forvariableDefinitions
- each variable and its expressionsvariableStreams
- variable name and its stream numberexprRequiresMultimatchState
- indicator whether multi-match state requiredpublic static java.util.Map<java.lang.String,java.util.Set<java.lang.String>> determineVisibility(RowRegexExprNode pattern)