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

  • Running tasks concurrently on multiple threads
  • getExternalFilesDir (Context)
  • setRequestProperty (URLConnection)
  • requestLocationUpdates (LocationManager)
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • Top 12 Jupyter Notebook Extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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