org.apache.lucene.util.fst

Class Builder.UnCompiledNode<T>

    • Constructor Detail

      • UnCompiledNode

        public UnCompiledNode(Builder<T> owner,
                              int depth)
        Parameters:
        depth - The node's depth starting from the automaton root. Needed for LUCENE-2934 (node expansion based on conditions other than the fanout size).
    • Method Detail

      • clear

        public void clear()
      • addArc

        public void addArc(int label,
                           org.apache.lucene.util.fst.Builder.Node target)
      • replaceLast

        public void replaceLast(int labelToMatch,
                                org.apache.lucene.util.fst.Builder.Node target,
                                T nextFinalOutput,
                                boolean isFinal)
      • deleteLast

        public void deleteLast(int label,
                               org.apache.lucene.util.fst.Builder.Node target)
      • setLastOutput

        public void setLastOutput(int labelToMatch,
                                  T newOutput)