congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
FSTEnum.pushFirst
Code IndexAdd Tabnine to your IDE (free)

How to use
pushFirst
method
in
org.apache.lucene.util.fst.FSTEnum

Best Java code snippets using org.apache.lucene.util.fst.FSTEnum.pushFirst (Showing top 8 results out of 315)

origin: org.apache.lucene/lucene-core

protected void doNext() throws IOException {
 //System.out.println("FE: next upto=" + upto);
 if (upto == 0) {
  //System.out.println("  init");
  upto = 1;
  fst.readFirstTargetArc(getArc(0), getArc(1), fstReader);
 } else {
  // pop
  //System.out.println("  check pop curArc target=" + arcs[upto].target + " label=" + arcs[upto].label + " isLast?=" + arcs[upto].isLast());
  while (arcs[upto].isLast()) {
   upto--;
   if (upto == 0) {
    //System.out.println("  eof");
    return;
   }
  }
  fst.readNextArc(arcs[upto], fstReader);
 }
 pushFirst();
}
origin: org.apache.lucene/lucene-core

   pushFirst();
   return;
 fst.readNextRealArc(arc, in);
 assert arc.label > targetLabel;
 pushFirst();
 return;
 targetLabel = getTargetLabel();
} else if (arc.label > targetLabel) {
 pushFirst();
 return;
} else if (arc.isLast()) {
   pushFirst();
   return;
origin: harbby/presto-connectors

protected void doNext() throws IOException {
 //System.out.println("FE: next upto=" + upto);
 if (upto == 0) {
  //System.out.println("  init");
  upto = 1;
  fst.readFirstTargetArc(getArc(0), getArc(1), fstReader);
 } else {
  // pop
  //System.out.println("  check pop curArc target=" + arcs[upto].target + " label=" + arcs[upto].label + " isLast?=" + arcs[upto].isLast());
  while (arcs[upto].isLast()) {
   upto--;
   if (upto == 0) {
    //System.out.println("  eof");
    return;
   }
  }
  fst.readNextArc(arcs[upto], fstReader);
 }
 pushFirst();
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.lucene

protected void doNext() throws IOException {
 //System.out.println("FE: next upto=" + upto);
 if (upto == 0) {
  //System.out.println("  init");
  upto = 1;
  fst.readFirstTargetArc(getArc(0), getArc(1), fstReader);
 } else {
  // pop
  //System.out.println("  check pop curArc target=" + arcs[upto].target + " label=" + arcs[upto].label + " isLast?=" + arcs[upto].isLast());
  while (arcs[upto].isLast()) {
   upto--;
   if (upto == 0) {
    //System.out.println("  eof");
    return;
   }
  }
  fst.readNextArc(arcs[upto], fstReader);
 }
 pushFirst();
}
origin: org.infinispan/infinispan-embedded-query

protected void doNext() throws IOException {
 //System.out.println("FE: next upto=" + upto);
 if (upto == 0) {
  //System.out.println("  init");
  upto = 1;
  fst.readFirstTargetArc(getArc(0), getArc(1), fstReader);
 } else {
  // pop
  //System.out.println("  check pop curArc target=" + arcs[upto].target + " label=" + arcs[upto].label + " isLast?=" + arcs[upto].isLast());
  while (arcs[upto].isLast()) {
   upto--;
   if (upto == 0) {
    //System.out.println("  eof");
    return;
   }
  }
  fst.readNextArc(arcs[upto], fstReader);
 }
 pushFirst();
}
origin: org.infinispan/infinispan-embedded-query

   pushFirst();
   return;
 fst.readNextRealArc(arc, in);
 assert arc.label > targetLabel;
 pushFirst();
 return;
 targetLabel = getTargetLabel();
} else if (arc.label > targetLabel) {
 pushFirst();
 return;
} else if (arc.isLast()) {
   pushFirst();
   return;
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.lucene

   pushFirst();
   return;
 fst.readNextRealArc(arc, in);
 assert arc.label > targetLabel;
 pushFirst();
 return;
 targetLabel = getTargetLabel();
} else if (arc.label > targetLabel) {
 pushFirst();
 return;
} else if (arc.isLast()) {
   pushFirst();
   return;
origin: harbby/presto-connectors

   pushFirst();
   return;
 fst.readNextRealArc(arc, in);
 assert arc.label > targetLabel;
 pushFirst();
 return;
 targetLabel = getTargetLabel();
} else if (arc.label > targetLabel) {
 pushFirst();
 return;
} else if (arc.isLast()) {
   pushFirst();
   return;
org.apache.lucene.util.fstFSTEnumpushFirst

Popular methods of FSTEnum

  • doSeekCeil
    Seeks to smallest term that's >= target.
  • doSeekExact
    Seeks to exactly target term.
  • doSeekFloor
    Seeks to largest term that's <= target.
  • getArc
  • getCurrentLabel
  • getTargetLabel
  • grow
  • incr
  • pushLast
  • rewindPrefix
    Rewinds enum state to match the shared prefix between current term and target term
  • setCurrentLabel
  • setCurrentLabel

Popular in Java

  • Parsing JSON documents to java classes using gson
  • requestLocationUpdates (LocationManager)
  • setRequestProperty (URLConnection)
  • addToBackStack (FragmentTransaction)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • Runner (org.openjdk.jmh.runner)
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now