Class CharacterRunAutomaton
- java.lang.Object
-
- org.apache.pinot.segment.local.utils.nativefst.automaton.RunAutomaton
-
- org.apache.pinot.segment.local.utils.nativefst.automaton.CharacterRunAutomaton
-
- All Implemented Interfaces:
Serializable
public class CharacterRunAutomaton extends RunAutomaton
Automaton representation for matching char[].- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CharacterRunAutomaton(Automaton a)Constructor specifying determinizeWorkLimit.
-
Method Summary
-
Methods inherited from class org.apache.pinot.segment.local.utils.nativefst.automaton.RunAutomaton
getInitialState, getSize, isAccept, load, load, newMatcher, newMatcher, run, step, step, store, toString
-
-
-
-
Constructor Detail
-
CharacterRunAutomaton
public CharacterRunAutomaton(Automaton a)
Constructor specifying determinizeWorkLimit.- Parameters:
a- Automaton to match
-
-
Method Detail
-
run
public boolean run(String s)
Description copied from class:RunAutomatonReturns true if the given string is accepted by this automaton.- Overrides:
runin classRunAutomaton
-
run
public boolean run(char[] s, int offset, int length)
-
-