Uses of Class
org.apache.lucene.util.fst.FST.Arc
Packages that use FST.Arc
- 
Uses of FST.Arc in org.apache.lucene.util.fstFields in org.apache.lucene.util.fst declared as FST.ArcModifier and TypeFieldDescriptionUtil.FSTPath.arcprotected FST.Arc<T>[]FSTEnum.arcsprotected FST.Arc<T>[]FSTEnum.arcsprotected final FST.Arc<T>FSTEnum.scratchArcprotected final FST.Arc<T>FSTEnum.scratchArcMethods in org.apache.lucene.util.fst that return FST.ArcModifier and TypeMethodDescriptionReturns thisFST.findTargetArc(int labelToMatch, FST.Arc<T> follow, FST.Arc<T> arc, FST.BytesReader in) Finds an arc leaving the incoming arc, replacing the arc in place.FST.getFirstArc(FST.Arc<T> arc) Fills virtual 'start' arc, ie, an empty incoming arc to the FST's start nodestatic <T> FST.Arc<T>Util.readCeilArc(int label, FST<T> fst, FST.Arc<T> follow, FST.Arc<T> arc, FST.BytesReader in) Reads the first arc greater or equal that the given label into the provided arc in place and returns it iff found, otherwise returnnull.FST.readFirstRealTargetArc(long node, FST.Arc<T> arc, FST.BytesReader in) FST.readFirstTargetArc(FST.Arc<T> follow, FST.Arc<T> arc, FST.BytesReader in) Follow thefollowarc and read the first arc of its target; this changes the providedarc(2nd arg) in-place and returns it.FST.readLastTargetArc(FST.Arc<T> follow, FST.Arc<T> arc, FST.BytesReader in) Follows thefollowarc and reads the last arc of its target; this changes the providedarc(2nd arg) in-place and returns it.FST.readNextArc(FST.Arc<T> arc, FST.BytesReader in) In-place read; returns the arc.FST.readNextRealArc(FST.Arc<T> arc, FST.BytesReader in) Never returns null, but you should never call this if arc.isLast() is true.Methods in org.apache.lucene.util.fst with parameters of type FST.ArcModifier and TypeMethodDescriptionvoidUtil.TopNSearcher.addStartPaths(FST.Arc<T> node, T startOutput, boolean allowEmptyString, IntsRef input) Adds all leaving arcs, including 'finished' arc, if the node is final, from this node into the queue.Returns thisFST.findTargetArc(int labelToMatch, FST.Arc<T> follow, FST.Arc<T> arc, FST.BytesReader in) Finds an arc leaving the incoming arc, replacing the arc in place.static IntsRefUtil.getByOutput(FST<Long> fst, long targetOutput, FST.BytesReader in, FST.Arc<Long> arc, FST.Arc<Long> scratchArc, IntsRef result) Expert: likeUtil.getByOutput(FST, long)except reusing BytesReader, initial and scratch Arc, and result.FST.getFirstArc(FST.Arc<T> arc) Fills virtual 'start' arc, ie, an empty incoming arc to the FST's start nodestatic <T> FST.Arc<T>Util.readCeilArc(int label, FST<T> fst, FST.Arc<T> follow, FST.Arc<T> arc, FST.BytesReader in) Reads the first arc greater or equal that the given label into the provided arc in place and returns it iff found, otherwise returnnull.FST.readFirstRealTargetArc(long node, FST.Arc<T> arc, FST.BytesReader in) FST.readFirstTargetArc(FST.Arc<T> follow, FST.Arc<T> arc, FST.BytesReader in) Follow thefollowarc and read the first arc of its target; this changes the providedarc(2nd arg) in-place and returns it.FST.readLastTargetArc(FST.Arc<T> follow, FST.Arc<T> arc, FST.BytesReader in) Follows thefollowarc and reads the last arc of its target; this changes the providedarc(2nd arg) in-place and returns it.FST.readNextArc(FST.Arc<T> arc, FST.BytesReader in) In-place read; returns the arc.intFST.readNextArcLabel(FST.Arc<T> arc, FST.BytesReader in) Peeks at next arc's label; does not alter arc.FST.readNextRealArc(FST.Arc<T> arc, FST.BytesReader in) Never returns null, but you should never call this if arc.isLast() is true.voidFST.readRootArcs(FST.Arc<T>[] arcs) static <T> Util.MinResult<T>[]Util.shortestPaths(FST<T> fst, FST.Arc<T> fromNode, T startOutput, Comparator<T> comparator, int topN, boolean allowEmptyString) Starting from node, find the top N min cost completions to a final node.static <T> booleanFST.targetHasArcs(FST.Arc<T> arc) returns true if the node at this address has any outgoing arcsConstructors in org.apache.lucene.util.fst with parameters of type FST.Arc