Codota Logo
BytesStore.getForwardReader
Code IndexAdd Codota to your IDE (free)

How to use
getForwardReader
method
in
org.apache.lucene.util.fst.BytesStore

Best Java code snippets using org.apache.lucene.util.fst.BytesStore.getForwardReader (Showing top 4 results out of 315)

  • Common ways to obtain BytesStore
private void myMethod () {
BytesStore b =
  • Codota Iconnew BytesStore(blockBits)
  • Smart code suggestions by Codota
}
origin: org.infinispan/infinispan-embedded-query

/** Returns a {@link BytesReader} for this FST, positioned at
 *  position 0. */
public BytesReader getBytesReader() {
 if (packed) {
  if (bytesArray != null) {
   return new ForwardBytesReader(bytesArray);
  } else {
   return bytes.getForwardReader();
  }
 } else {
  if (bytesArray != null) {
   return new ReverseBytesReader(bytesArray);
  } else {
   return bytes.getReverseReader();
  }
 }
}
origin: harbby/presto-connectors

/** Returns a {@link BytesReader} for this FST, positioned at
 *  position 0. */
public BytesReader getBytesReader() {
 if (packed) {
  if (bytesArray != null) {
   return new ForwardBytesReader(bytesArray);
  } else {
   return bytes.getForwardReader();
  }
 } else {
  if (bytesArray != null) {
   return new ReverseBytesReader(bytesArray);
  } else {
   return bytes.getReverseReader();
  }
 }
}
origin: org.infinispan/infinispan-embedded-query

 reader = emptyBytes.getForwardReader();
} else {
 reader = emptyBytes.getReverseReader();
origin: harbby/presto-connectors

 reader = emptyBytes.getForwardReader();
} else {
 reader = emptyBytes.getReverseReader();
org.apache.lucene.util.fstBytesStoregetForwardReader

Popular methods of BytesStore

  • <init>
    Pulls bytes from the provided IndexInput.
  • copyBytes
  • finish
  • getPosition
  • getReverseReader
  • ramBytesUsed
  • reverse
    Reverse from srcPos, inclusive, to destPos, inclusive.
  • skipBytes
  • writeByte
    Absolute write byte; you must ensure dest is < max position written so far.
  • writeBytes
  • writeTo
    Writes all of our bytes to the target DataOutput.
  • writeVLong
  • writeTo,
  • writeVLong,
  • getBlockBits,
  • truncate,
  • writeVInt

Popular in Java

  • Making http post requests using okhttp
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • putExtra (Intent)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • PrintWriter (java.io)
    Prints formatted representations of objects to a text-output stream. This class implements all of th
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now