Tabnine Logo
BytesStore.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.apache.lucene.util.fst.BytesStore
constructor

Best Java code snippets using org.apache.lucene.util.fst.BytesStore.<init> (Showing top 10 results out of 315)

origin: org.apache.lucene/lucene-core

FST(INPUT_TYPE inputType, Outputs<T> outputs, int bytesPageBits) {
 this.inputType = inputType;
 this.outputs = outputs;
 version = VERSION_CURRENT;
 bytesArray = null;
 bytes = new BytesStore(bytesPageBits);
 // pad: ensure no node gets address 0 which is reserved to mean
 // the stop state w/ no arcs
 bytes.writeByte((byte) 0);
 emptyOutput = null;
}
origin: org.apache.lucene/lucene-core

 BytesStore emptyBytes = new BytesStore(10);
 int numBytes = in.readVInt();
 emptyBytes.copyBytes(in, numBytes);
if (numBytes > 1 << maxBlockBits) {
 bytes = new BytesStore(in, numBytes, 1<<maxBlockBits);
 bytesArray = null;
} else {
origin: org.infinispan/infinispan-embedded-query

private FST(INPUT_TYPE inputType, Outputs<T> outputs, int bytesPageBits) {
 version = VERSION_CURRENT;
 packed = true;
 this.inputType = inputType;
 bytesArray = null;
 bytes = new BytesStore(bytesPageBits);
 this.outputs = outputs;
}
origin: harbby/presto-connectors

private FST(INPUT_TYPE inputType, Outputs<T> outputs, int bytesPageBits) {
 version = VERSION_CURRENT;
 packed = true;
 this.inputType = inputType;
 bytesArray = null;
 bytes = new BytesStore(bytesPageBits);
 this.outputs = outputs;
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.lucene

FST(INPUT_TYPE inputType, Outputs<T> outputs, int bytesPageBits) {
 this.inputType = inputType;
 this.outputs = outputs;
 version = VERSION_CURRENT;
 bytesArray = null;
 bytes = new BytesStore(bytesPageBits);
 // pad: ensure no node gets address 0 which is reserved to mean
 // the stop state w/ no arcs
 bytes.writeByte((byte) 0);
 emptyOutput = null;
}
origin: org.infinispan/infinispan-embedded-query

FST(INPUT_TYPE inputType, Outputs<T> outputs, boolean willPackFST, float acceptableOverheadRatio, int bytesPageBits) {
 this.inputType = inputType;
 this.outputs = outputs;
 version = VERSION_CURRENT;
 bytesArray = null;
 bytes = new BytesStore(bytesPageBits);
 // pad: ensure no node gets address 0 which is reserved to mean
 // the stop state w/ no arcs
 bytes.writeByte((byte) 0);
 if (willPackFST) {
  nodeAddress = new GrowableWriter(15, 8, acceptableOverheadRatio);
  inCounts = new GrowableWriter(1, 8, acceptableOverheadRatio);
 } else {
  nodeAddress = null;
  inCounts = null;
 }
 emptyOutput = null;
 packed = false;
 nodeRefToAddress = null;
}
origin: harbby/presto-connectors

FST(INPUT_TYPE inputType, Outputs<T> outputs, boolean willPackFST, float acceptableOverheadRatio, int bytesPageBits) {
 this.inputType = inputType;
 this.outputs = outputs;
 version = VERSION_CURRENT;
 bytesArray = null;
 bytes = new BytesStore(bytesPageBits);
 // pad: ensure no node gets address 0 which is reserved to mean
 // the stop state w/ no arcs
 bytes.writeByte((byte) 0);
 if (willPackFST) {
  nodeAddress = new GrowableWriter(15, 8, acceptableOverheadRatio);
  inCounts = new GrowableWriter(1, 8, acceptableOverheadRatio);
 } else {
  nodeAddress = null;
  inCounts = null;
 }
 emptyOutput = null;
 packed = false;
 nodeRefToAddress = null;
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.lucene

 BytesStore emptyBytes = new BytesStore(10);
 int numBytes = in.readVInt();
 emptyBytes.copyBytes(in, numBytes);
if (numBytes > 1 << maxBlockBits) {
 bytes = new BytesStore(in, numBytes, 1<<maxBlockBits);
 bytesArray = null;
} else {
origin: org.infinispan/infinispan-embedded-query

 BytesStore emptyBytes = new BytesStore(10);
 int numBytes = in.readVInt();
 emptyBytes.copyBytes(in, numBytes);
if (numBytes > 1 << maxBlockBits) {
 bytes = new BytesStore(in, numBytes, 1<<maxBlockBits);
 bytesArray = null;
} else {
origin: harbby/presto-connectors

 BytesStore emptyBytes = new BytesStore(10);
 int numBytes = in.readVInt();
 emptyBytes.copyBytes(in, numBytes);
if (numBytes > 1 << maxBlockBits) {
 bytes = new BytesStore(in, numBytes, 1<<maxBlockBits);
 bytesArray = null;
} else {
org.apache.lucene.util.fstBytesStore<init>

Javadoc

Pulls bytes from the provided IndexInput.

Popular methods of BytesStore

  • 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
  • getBlockBits
  • writeVLong,
  • getBlockBits,
  • getForwardReader,
  • truncate,
  • writeVInt

Popular in Java

  • Reading from database using SQL prepared statement
  • findViewById (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getExternalFilesDir (Context)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Top plugins for WebStorm
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