Package org.apache.lucene.util.automaton
Class ByteRunAutomaton
java.lang.Object
org.apache.lucene.util.automaton.RunAutomaton
org.apache.lucene.util.automaton.ByteRunAutomaton
- All Implemented Interfaces:
Accountable,ByteRunnable
Automaton representation for matching UTF-8 byte[].
-
Field Summary
Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE -
Constructor Summary
ConstructorsConstructorDescriptionConverts incoming automaton to byte-based (UTF32ToUTF8) firstByteRunAutomaton(Automaton a, boolean isBinary) expert: if isBinary is true, the input is already byte-based -
Method Summary
Methods inherited from class org.apache.lucene.util.automaton.RunAutomaton
equals, getCharIntervals, getSize, hashCode, isAccept, ramBytesUsed, step, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.lucene.util.Accountable
getChildResourcesMethods inherited from interface org.apache.lucene.util.automaton.ByteRunnable
getSize, isAccept, run, step
-
Constructor Details
-
ByteRunAutomaton
Converts incoming automaton to byte-based (UTF32ToUTF8) first- Throws:
IllegalArgumentException- if the automaton is not deterministic
-
ByteRunAutomaton
expert: if isBinary is true, the input is already byte-based- Throws:
IllegalArgumentException- if the automaton is not deterministic
-