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

  • Finding current android device location
  • setScale (BigDecimal)
  • getContentResolver (Context)
  • scheduleAtFixedRate (Timer)
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • JFileChooser (javax.swing)
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Github Copilot alternatives
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