Class DaciukMihovAutomatonBuilder

    • Constructor Detail

      • DaciukMihovAutomatonBuilder

        private DaciukMihovAutomatonBuilder()
        Deprecated.
        The default constructor is private. Use static methods directly.
    • Method Detail

      • setPrevious

        private boolean setPrevious​(BytesRef current)
        Deprecated.
        Copy current into an internal buffer.
      • completeAndConvert

        private Automaton completeAndConvert()
        Deprecated.
        Called after adding all terms. Performs final minimization and converts to a standard Automaton instance.
      • build

        @Deprecated
        public static Automaton build​(java.lang.Iterable<BytesRef> input)
        Deprecated.
        Build a minimal, deterministic automaton from a sorted list of BytesRef representing strings in UTF-8. These strings must be binary-sorted.
      • build

        static Automaton build​(java.lang.Iterable<BytesRef> input,
                               boolean asBinary)
        Deprecated.
        Build a minimal, deterministic automaton from a sorted list of BytesRef representing strings in UTF-8. These strings must be binary-sorted.
      • build

        static Automaton build​(BytesRefIterator input,
                               boolean asBinary)
                        throws java.io.IOException
        Deprecated.
        Build a minimal, deterministic automaton from a sorted list of BytesRef representing strings in UTF-8. These strings must be binary-sorted. Creates an Automaton with either UTF-8 codepoints as transition labels or binary (compiled) transition labels based on asBinary.
        Throws:
        java.io.IOException
      • add

        private void add​(BytesRef current,
                         boolean asBinary)
        Deprecated.
      • replaceOrRegister

        private void replaceOrRegister​(DaciukMihovAutomatonBuilder.State state)
        Deprecated.
        Replace last child of state with an already registered state or stateRegistry the last child state.