Uses of Class
org.apache.lucene.store.DataOutput
Packages that use DataOutput
Package
Description
Compressing helper classes.
Lucene 5.0 file format.
Lucene 8.4 file format.
Lucene 8.7 file format.
Lucene 9.0 file format.
Legacy PackedInts methods
store helper
Codecs API: API for customization of the encoding and structure of the index.
Same postings format as Lucene50, except the terms dictionary also supports ords, i.e.
Codec PostingsFormat for fast access to low-frequency terms such as primary key fields.
Compressing helper classes.
Lucene 9.0 file format.
BlockTree terms dictionary.
Lucene 9.0 compressing format.
Lucene 9.9 file format.
Term dictionary, DocValues or Postings formats that are read entirely into memory.
Simpletext Codec: writes human readable postings.
Pluggable term index / block terms dictionary implementations.
Pluggable term index / block terms dictionary implementations.
Code to maintain and access indices.
Misc index tools and index support.
Misc Directory implementations.
Misc FST classes.
A primary-key postings format that associates a version (long) with each term and can provide
fail-fast lookups by ID and version.
Code to search indices.
Support for Autocomplete/Autosuggest
Analyzer based autosuggest.
Support for document suggestion
Finite-state based autosuggest.
Ternary Search Tree based autosuggest.
Binary i/o API, used for all index data.
Some utility classes.
Block KD-tree, implementing the generic spatial data structure described in this paper.
Compression utilities.
Finite state transducers
Packed integer arrays and streams.
-
Uses of DataOutput in org.apache.lucene.backward_codecs.compressing
Methods in org.apache.lucene.backward_codecs.compressing with parameters of type DataOutputModifier and TypeMethodDescriptionvoid
CompressionMode.DeflateCompressor.compress
(byte[] bytes, int off, int len, DataOutput out) void
CompressionMode.LZ4FastCompressor.compress
(byte[] bytes, int off, int len, DataOutput out) void
CompressionMode.LZ4HighCompressor.compress
(byte[] bytes, int off, int len, DataOutput out) abstract void
Compressor.compress
(byte[] bytes, int off, int len, DataOutput out) Compress bytes intoout
. -
Uses of DataOutput in org.apache.lucene.backward_codecs.lucene50
Methods in org.apache.lucene.backward_codecs.lucene50 with parameters of type DataOutputModifier and TypeMethodDescriptionvoid
Lucene50StoredFieldsFormat.LZ4FastCompressor.compress
(byte[] bytes, int off, int len, DataOutput out) Constructors in org.apache.lucene.backward_codecs.lucene50 with parameters of type DataOutputModifierConstructorDescription(package private)
ForUtil
(float acceptableOverheadRatio, DataOutput out) Create a newForUtil
instance and save state intoout
. -
Uses of DataOutput in org.apache.lucene.backward_codecs.lucene84
Methods in org.apache.lucene.backward_codecs.lucene84 with parameters of type DataOutputModifier and TypeMethodDescription(package private) void
ForUtil.encode
(long[] longs, int bitsPerValue, DataOutput out) Encode 128 integers fromlongs
intoout
.(package private) void
PForUtil.encode
(long[] longs, DataOutput out) Encode 128 integers fromlongs
intoout
.(package private) void
ForDeltaUtil.encodeDeltas
(long[] longs, DataOutput out) Encode deltas of a strictly monotonically increasing sequence of integers. -
Uses of DataOutput in org.apache.lucene.backward_codecs.lucene87
Methods in org.apache.lucene.backward_codecs.lucene87 with parameters of type DataOutputModifier and TypeMethodDescriptionvoid
DeflateWithPresetDictCompressionMode.DeflateWithPresetDictCompressor.compress
(byte[] bytes, int off, int len, DataOutput out) void
LZ4WithPresetDictCompressionMode.LZ4WithPresetDictCompressor.compress
(byte[] bytes, int off, int len, DataOutput out) private void
DeflateWithPresetDictCompressionMode.DeflateWithPresetDictCompressor.doCompress
(byte[] bytes, int off, int len, DataOutput out) private void
LZ4WithPresetDictCompressionMode.LZ4WithPresetDictCompressor.doCompress
(byte[] bytes, int dictLen, int len, DataOutput out) -
Uses of DataOutput in org.apache.lucene.backward_codecs.lucene90
Methods in org.apache.lucene.backward_codecs.lucene90 with parameters of type DataOutputModifier and TypeMethodDescription(package private) void
ForUtil.encode
(long[] longs, int bitsPerValue, DataOutput out) Encode 128 integers fromlongs
intoout
.(package private) void
PForUtil.encode
(long[] longs, DataOutput out) Encode 128 integers fromlongs
intoout
.void
Lucene90PostingsWriter.encodeTerm
(DataOutput out, FieldInfo fieldInfo, BlockTermState _state, boolean absolute) (package private) static void
Lucene90SkipWriter.writeImpacts
(CompetitiveImpactAccumulator acc, DataOutput out) protected void
Lucene90SkipWriter.writeSkipData
(int level, DataOutput skipBuffer) -
Uses of DataOutput in org.apache.lucene.backward_codecs.packed
Fields in org.apache.lucene.backward_codecs.packed declared as DataOutputMethods in org.apache.lucene.backward_codecs.packed with parameters of type DataOutputModifier and TypeMethodDescriptionstatic LegacyDirectWriter
LegacyDirectWriter.getInstance
(DataOutput output, long numValues, int bitsPerValue) Returns an instance suitable for encodingnumValues
usingbitsPerValue
Constructors in org.apache.lucene.backward_codecs.packed with parameters of type DataOutputModifierConstructorDescription(package private)
LegacyDirectWriter
(DataOutput output, long numValues, int bitsPerValue) -
Uses of DataOutput in org.apache.lucene.backward_codecs.store
Subclasses of DataOutput in org.apache.lucene.backward_codecs.storeModifier and TypeClassDescription(package private) class
(package private) final class
AIndexOutput
wrapper that changes the endianness of the provided index output.Fields in org.apache.lucene.backward_codecs.store declared as DataOutputModifier and TypeFieldDescription(package private) final DataOutput
EndiannessReverserDataOutput.out
Methods in org.apache.lucene.backward_codecs.store that return DataOutputModifier and TypeMethodDescriptionstatic DataOutput
EndiannessReverserUtil.wrapDataOutput
(DataOutput dataOutput) wraps a data outputMethods in org.apache.lucene.backward_codecs.store with parameters of type DataOutputModifier and TypeMethodDescriptionstatic DataOutput
EndiannessReverserUtil.wrapDataOutput
(DataOutput dataOutput) wraps a data outputConstructors in org.apache.lucene.backward_codecs.store with parameters of type DataOutput -
Uses of DataOutput in org.apache.lucene.codecs
Methods in org.apache.lucene.codecs with parameters of type DataOutputModifier and TypeMethodDescriptionabstract void
PostingsWriterBase.encodeTerm
(DataOutput out, FieldInfo fieldInfo, BlockTermState state, boolean absolute) Encode metadata as long[] and byte[].static void
CodecUtil.verifyAndCopyIndexHeader
(IndexInput in, DataOutput out, byte[] expectedID) Expert: verifies the incomingIndexInput
has an index header and that its segment ID matches the expected one, and then copies that index header into the providedDataOutput
.static void
CodecUtil.writeBEInt
(DataOutput out, int i) write int value on header / footer with big endian orderstatic void
CodecUtil.writeBELong
(DataOutput out, long l) write long value on header / footer with big endian orderprotected void
MultiLevelSkipListWriter.writeChildPointer
(long childPointer, DataOutput skipBuffer) Writes the child pointer of a block to the given output.static void
CodecUtil.writeHeader
(DataOutput out, String codec, int version) Writes a codec header, which records both a string to identify the file and a version number.static void
CodecUtil.writeIndexHeader
(DataOutput out, String codec, int version, byte[] id, String suffix) Writes a codec header for an index file, which records both a string to identify the format of the file, a version number, and data to identify the file instance (ID and auxiliary suffix such as generation).protected abstract void
MultiLevelSkipListWriter.writeSkipData
(int level, DataOutput skipBuffer) Subclasses must implement the actual skip data encoding in this method. -
Uses of DataOutput in org.apache.lucene.codecs.blocktreeords
Methods in org.apache.lucene.codecs.blocktreeords with parameters of type DataOutputModifier and TypeMethodDescriptionvoid
FSTOrdsOutputs.write
(FSTOrdsOutputs.Output prefix, DataOutput out) -
Uses of DataOutput in org.apache.lucene.codecs.bloom
Methods in org.apache.lucene.codecs.bloom with parameters of type DataOutputModifier and TypeMethodDescriptionvoid
FuzzySet.serialize
(DataOutput out) Serializes the data set to file using the following format: FuzzySet -->hashCount,BloomSize, NumBitSetWords,BitSetWordNumBitSetWords hashCount -->Uint32
The number of hash functions (k). -
Uses of DataOutput in org.apache.lucene.codecs.compressing
Methods in org.apache.lucene.codecs.compressing with parameters of type DataOutputModifier and TypeMethodDescriptionvoid
CompressionMode.DeflateCompressor.compress
(ByteBuffersDataInput buffersInput, DataOutput out) void
CompressionMode.LZ4FastCompressor.compress
(ByteBuffersDataInput buffersInput, DataOutput out) void
CompressionMode.LZ4HighCompressor.compress
(ByteBuffersDataInput buffersInput, DataOutput out) abstract void
Compressor.compress
(ByteBuffersDataInput buffersInput, DataOutput out) Compress bytes intoout
. -
Uses of DataOutput in org.apache.lucene.codecs.lucene90
Methods in org.apache.lucene.codecs.lucene90 with parameters of type DataOutputModifier and TypeMethodDescriptionvoid
DeflateWithPresetDictCompressionMode.DeflateWithPresetDictCompressor.compress
(ByteBuffersDataInput buffersInput, DataOutput out) void
LZ4WithPresetDictCompressionMode.LZ4WithPresetDictCompressor.compress
(ByteBuffersDataInput buffersInput, DataOutput out) private void
DeflateWithPresetDictCompressionMode.DeflateWithPresetDictCompressor.doCompress
(byte[] bytes, int off, int len, DataOutput out) private void
LZ4WithPresetDictCompressionMode.LZ4WithPresetDictCompressor.doCompress
(byte[] bytes, int dictLen, int len, DataOutput out) -
Uses of DataOutput in org.apache.lucene.codecs.lucene90.blocktree
Fields in org.apache.lucene.codecs.lucene90.blocktree declared as DataOutputModifier and TypeFieldDescriptionprivate final DataOutput
Lucene90BlockTreeTermsWriter.StatsWriter.out
Methods in org.apache.lucene.codecs.lucene90.blocktree with parameters of type DataOutputModifier and TypeMethodDescriptionprivate static void
Lucene90BlockTreeTermsWriter.writeBytesRef
(DataOutput out, BytesRef bytes) (package private) static void
Lucene90BlockTreeTermsWriter.writeMSBVLong
(long l, DataOutput scratchBytes) Encodes long value to variable length byte[], in MSB order.Constructors in org.apache.lucene.codecs.lucene90.blocktree with parameters of type DataOutput -
Uses of DataOutput in org.apache.lucene.codecs.lucene90.compressing
Methods in org.apache.lucene.codecs.lucene90.compressing with parameters of type DataOutputModifier and TypeMethodDescriptionprivate static void
Lucene90CompressingStoredFieldsWriter.saveInts
(int[] values, int length, DataOutput out) (package private) static void
StoredFieldsInts.writeInts
(int[] values, int start, int count, DataOutput out) private static void
StoredFieldsInts.writeInts16
(DataOutput out, int count, int[] values, int offset) private static void
StoredFieldsInts.writeInts32
(DataOutput out, int count, int[] values, int offset) private static void
StoredFieldsInts.writeInts8
(DataOutput out, int count, int[] values, int offset) (package private) static void
Lucene90CompressingStoredFieldsWriter.writeTLong
(DataOutput out, long l) Writes a long in a variable-length format.(package private) static void
Lucene90CompressingStoredFieldsWriter.writeZDouble
(DataOutput out, double d) Writes a float in a variable-length format.(package private) static void
Lucene90CompressingStoredFieldsWriter.writeZFloat
(DataOutput out, float f) Writes a float in a variable-length format. -
Uses of DataOutput in org.apache.lucene.codecs.lucene99
Methods in org.apache.lucene.codecs.lucene99 with parameters of type DataOutputModifier and TypeMethodDescription(package private) void
ForUtil.encode
(long[] longs, int bitsPerValue, DataOutput out) Encode 128 integers fromlongs
intoout
.(package private) void
PForUtil.encode
(long[] longs, DataOutput out) Encode 128 integers fromlongs
intoout
.(package private) void
ForDeltaUtil.encodeDeltas
(long[] longs, DataOutput out) Encode deltas of a strictly monotonically increasing sequence of integers.void
Lucene99PostingsWriter.encodeTerm
(DataOutput out, FieldInfo fieldInfo, BlockTermState _state, boolean absolute) static void
Lucene99SkipWriter.writeImpacts
(CompetitiveImpactAccumulator acc, DataOutput out) private void
Lucene99SegmentInfoFormat.writeSegmentInfo
(DataOutput output, SegmentInfo si) protected void
Lucene99SkipWriter.writeSkipData
(int level, DataOutput skipBuffer) -
Uses of DataOutput in org.apache.lucene.codecs.memory
Methods in org.apache.lucene.codecs.memory with parameters of type DataOutputModifier and TypeMethodDescriptionvoid
FSTTermOutputs.write
(FSTTermOutputs.TermData data, DataOutput out) -
Uses of DataOutput in org.apache.lucene.codecs.simpletext
Subclasses of DataOutput in org.apache.lucene.codecs.simpletextModifier and TypeClassDescription(package private) static class
Methods in org.apache.lucene.codecs.simpletext with parameters of type DataOutputModifier and TypeMethodDescriptionstatic void
SimpleTextUtil.write
(DataOutput out, String s, BytesRefBuilder scratch) static void
SimpleTextUtil.write
(DataOutput out, BytesRef b) protected void
SimpleTextSkipWriter.writeChildPointer
(long childPointer, DataOutput skipBuffer) static void
SimpleTextUtil.writeNewline
(DataOutput out) protected void
SimpleTextSkipWriter.writeSkipData
(int level, DataOutput skipBuffer) -
Uses of DataOutput in org.apache.lucene.codecs.uniformsplit
Methods in org.apache.lucene.codecs.uniformsplit with parameters of type DataOutputModifier and TypeMethodDescriptionvoid
BlockHeader.Serializer.write
(DataOutput output, BlockHeader blockHeader) void
FieldMetadata.Serializer.write
(DataOutput output, FieldMetadata fieldMetadata) void
FSTDictionary.write
(DataOutput output, BlockEncoder blockEncoder) void
IndexDictionary.write
(DataOutput output, BlockEncoder blockEncoder) Writes this dictionary to the provided output.protected int
UniformSplitTermsWriter.writeFieldTerms
(BlockWriter blockWriter, DataOutput fieldsOutput, TermsEnum termsEnum, FieldInfo fieldInfo, NormsProducer normsProducer) protected void
BlockLine.Serializer.writeIncrementallyEncodedTerm
(TermBytes termBytes, TermBytes previousTermBytes, boolean isIncrementalEncodingSeed, DataOutput blockOutput) void
BlockLine.Serializer.writeLine
(DataOutput blockOutput, BlockLine line, BlockLine previousLine, int termStateRelativeOffset, boolean isIncrementalEncodingSeed) Writes a line and its offset to the corresponding term state details in the details region.protected void
BlockLine.Serializer.writeLineTermState
(DataOutput termStatesOutput, BlockLine line, FieldInfo fieldInfo, DeltaBaseTermStateSerializer encoder) Writes the term state details of a line in the details region.void
DeltaBaseTermStateSerializer.writeTermState
(DataOutput termStatesOutput, FieldInfo fieldInfo, BlockTermState termState) Writes aBlockTermState
to the providedDataOutput
.void
BlockEncoder.WritableBytes.writeTo
(DataOutput dataOutput) Writes the bytes to the providedDataOutput
. -
Uses of DataOutput in org.apache.lucene.index
Fields in org.apache.lucene.index declared as DataOutputModifier and TypeFieldDescriptionprivate final DataOutput
BinaryDocValuesWriter.bytesOut
private final DataOutput
PointValuesWriter.bytesOut
Methods in org.apache.lucene.index with parameters of type DataOutputModifier and TypeMethodDescriptionprivate void
FreqProxTermsWriter.SortingPostingsEnum.addPositions
(PostingsEnum in, DataOutput out) static void
SortFieldProvider.write
(SortField sf, DataOutput output) Writes a SortField to a DataOutputabstract void
SortFieldProvider.writeSortField
(SortField sf, DataOutput out) Writes a SortField to a DataOutputlong
ByteSliceReader.writeTo
(DataOutput out) (package private) void
DocValuesUpdate.BinaryDocValuesUpdate.writeTo
(DataOutput out) (package private) void
DocValuesUpdate.NumericDocValuesUpdate.writeTo
(DataOutput out) (package private) abstract void
DocValuesUpdate.writeTo
(DataOutput output) Constructors in org.apache.lucene.index with parameters of type DataOutputModifierConstructorDescriptionCorruptIndexException
(String message, DataOutput output) Create exception with a message onlyCorruptIndexException
(String message, DataOutput output, Throwable cause) Create exception with message and root cause. -
Uses of DataOutput in org.apache.lucene.misc.index
Methods in org.apache.lucene.misc.index with parameters of type DataOutputModifier and TypeMethodDescription(package private) static void
BPIndexReorderer.writeMonotonicInts
(int[] ints, int len, DataOutput out) Simple bit packing that focuses on the common / efficient case when term IDs can be encoded on 16 bits.private int
BPIndexReorderer.writePostings
(CodecReader reader, Set<String> fields, Directory tempDir, DataOutput postingsOut) -
Uses of DataOutput in org.apache.lucene.misc.store
Subclasses of DataOutput in org.apache.lucene.misc.storeModifier and TypeClassDescriptionclass
AnIndexOutput
that wraps another instance and tracks the number of bytes writtenprivate static final class
-
Uses of DataOutput in org.apache.lucene.misc.util.fst
Methods in org.apache.lucene.misc.util.fst with parameters of type DataOutputModifier and TypeMethodDescriptionvoid
ListOfOutputs.write
(Object output, DataOutput out) void
UpToTwoPositiveIntOutputs.write
(Object _output, DataOutput out) void
ListOfOutputs.writeFinalOutput
(Object output, DataOutput out) -
Uses of DataOutput in org.apache.lucene.sandbox.codecs.idversion
Methods in org.apache.lucene.sandbox.codecs.idversion with parameters of type DataOutputModifier and TypeMethodDescriptionvoid
IDVersionPostingsWriter.encodeTerm
(DataOutput out, FieldInfo fieldInfo, BlockTermState _state, boolean absolute) -
Uses of DataOutput in org.apache.lucene.search
Methods in org.apache.lucene.search with parameters of type DataOutputModifier and TypeMethodDescriptionprivate void
SortedNumericSortField.serialize
(DataOutput out) private void
SortedSetSortField.serialize
(DataOutput out) private void
SortField.serialize
(DataOutput out) void
SortedNumericSortField.Provider.writeSortField
(SortField sf, DataOutput out) void
SortedSetSortField.Provider.writeSortField
(SortField sf, DataOutput out) void
SortField.Provider.writeSortField
(SortField sf, DataOutput out) -
Uses of DataOutput in org.apache.lucene.search.suggest
Methods in org.apache.lucene.search.suggest with parameters of type DataOutputModifier and TypeMethodDescriptionabstract boolean
Lookup.store
(DataOutput output) Persist the constructed lookup data to a directory. -
Uses of DataOutput in org.apache.lucene.search.suggest.analyzing
Methods in org.apache.lucene.search.suggest.analyzing with parameters of type DataOutputModifier and TypeMethodDescriptionboolean
AnalyzingInfixSuggester.store
(DataOutput in) boolean
AnalyzingSuggester.store
(DataOutput output) boolean
FreeTextSuggester.store
(DataOutput output) -
Uses of DataOutput in org.apache.lucene.search.suggest.document
Methods in org.apache.lucene.search.suggest.document with parameters of type DataOutputModifier and TypeMethodDescriptionboolean
NRTSuggesterBuilder.store
(DataOutput output) Builds and stores a FST that can be loaded withNRTSuggester.load(IndexInput, CompletionPostingsFormat.FSTLoadMode)
)} -
Uses of DataOutput in org.apache.lucene.search.suggest.fst
Methods in org.apache.lucene.search.suggest.fst with parameters of type DataOutputModifier and TypeMethodDescriptionboolean
FSTCompletionLookup.store
(DataOutput output) boolean
WFSTCompletionLookup.store
(DataOutput output) -
Uses of DataOutput in org.apache.lucene.search.suggest.tst
Methods in org.apache.lucene.search.suggest.tst with parameters of type DataOutputModifier and TypeMethodDescriptionboolean
TSTLookup.store
(DataOutput output) private void
TSTLookup.writeRecursively
(DataOutput out, TernaryTreeNode node) -
Uses of DataOutput in org.apache.lucene.store
Subclasses of DataOutput in org.apache.lucene.storeModifier and TypeClassDescriptionclass
DataOutput backed by a byte array.final class
ADataOutput
storing data in a list ofByteBuffer
s.final class
AnIndexOutput
writing to aByteBuffersDataOutput
.class
IndexOutput implementation that delegates calls to another directory.(package private) final class
class
ADataOutput
for appending data to a file in aDirectory
.class
ADataOutput
wrapping a plainOutputStream
.class
Implementation class for bufferedIndexOutput
that writes to anOutputStream
.final class
Methods in org.apache.lucene.store with parameters of type DataOutputModifier and TypeMethodDescriptionvoid
ByteBuffersDataOutput.copyTo
(DataOutput output) Copy the current content of this object into anotherDataOutput
. -
Uses of DataOutput in org.apache.lucene.util
Subclasses of DataOutput in org.apache.lucene.utilModifier and TypeClassDescriptionfinal class
Output that transparently spills to new pages as necessaryMethods in org.apache.lucene.util with parameters of type DataOutputModifier and TypeMethodDescriptionstatic void
GroupVIntUtil.writeGroupVInts
(DataOutput out, byte[] scratch, long[] values, int limit) The implementation for group-varint encoding, It uses a maximum ofGroupVIntUtil.MAX_LENGTH_PER_GROUP
bytes scratch buffer. -
Uses of DataOutput in org.apache.lucene.util.bkd
Methods in org.apache.lucene.util.bkd with parameters of type DataOutputModifier and TypeMethodDescriptionprivate void
BKDWriter.writeActualBounds
(DataOutput out, int[] commonPrefixLengths, int count, IntFunction<BytesRef> packedValues) private void
BKDWriter.writeCommonPrefixes
(DataOutput out, int[] commonPrefixes, byte[] packedValue) (package private) void
DocIdsWriter.writeDocIds
(int[] docIds, int start, int count, DataOutput out) private void
BKDWriter.writeHighCardinalityLeafBlockPackedValues
(DataOutput out, int[] commonPrefixLengths, int count, int sortedDim, IntFunction<BytesRef> packedValues, int compressedByteOffset) private static void
DocIdsWriter.writeIdsAsBitSet
(int[] docIds, int start, int count, DataOutput out) private void
BKDWriter.writeLeafBlockDocs
(DataOutput out, int[] docIDs, int start, int count) private void
BKDWriter.writeLeafBlockPackedValues
(DataOutput out, int[] commonPrefixLengths, int count, int sortedDim, IntFunction<BytesRef> packedValues, int leafCardinality) private void
BKDWriter.writeLeafBlockPackedValuesRange
(DataOutput out, int[] commonPrefixLengths, int start, int end, IntFunction<BytesRef> packedValues) private void
BKDWriter.writeLowCardinalityLeafBlockPackedValues
(DataOutput out, int[] commonPrefixLengths, int count, IntFunction<BytesRef> packedValues) -
Uses of DataOutput in org.apache.lucene.util.compress
Methods in org.apache.lucene.util.compress with parameters of type DataOutputModifier and TypeMethodDescriptionstatic boolean
LowercaseAsciiCompression.compress
(byte[] in, int len, byte[] tmp, DataOutput out) Compressin[0:len]
intoout
.static void
LZ4.compress
(byte[] bytes, int off, int len, DataOutput out, LZ4.HashTable ht) Compressbytes[off:off+len]
intoout
using at most 16kB of memory.static void
LZ4.compressWithDictionary
(byte[] bytes, int dictOff, int dictLen, int len, DataOutput out, LZ4.HashTable ht) Compressbytes[dictOff+dictLen:dictOff+dictLen+len]
intoout
using at most 16kB of memory.private static void
LZ4.encodeLastLiterals
(byte[] bytes, int anchor, int literalLen, DataOutput out) private static void
LZ4.encodeLen
(int l, DataOutput out) private static void
LZ4.encodeLiterals
(byte[] bytes, int token, int anchor, int literalLen, DataOutput out) private static void
LZ4.encodeSequence
(byte[] bytes, int anchor, int matchRef, int matchOff, int matchLen, DataOutput out) -
Uses of DataOutput in org.apache.lucene.util.fst
Subclasses of DataOutput in org.apache.lucene.util.fstModifier and TypeClassDescription(package private) final class
(package private) final class
An adapter class to useByteBuffersDataOutput
as aFSTReader
.Fields in org.apache.lucene.util.fst declared as DataOutputModifier and TypeFieldDescriptionprivate DataOutput
FSTCompiler.Builder.dataOutput
(package private) final DataOutput
FSTCompiler.dataOutput
Methods in org.apache.lucene.util.fst that return DataOutputModifier and TypeMethodDescriptionstatic DataOutput
FSTCompiler.getOnHeapReaderWriter
(int blockBits) Get an on-heap DataOutput that allows the FST to be read immediately after writing, and also optionally saved to an external DataOutput.Methods in org.apache.lucene.util.fst with parameters of type DataOutputModifier and TypeMethodDescriptionFSTCompiler.Builder.dataOutput
(DataOutput dataOutput) Set theDataOutput
which is used for low-level writing of FST.void
FST.save
(DataOutput metaOut, DataOutput out) Save the FST to DataOutput.void
FST.saveMetadata
(DataOutput metaOut) Save the metadata to a DataOutputvoid
ByteSequenceOutputs.write
(BytesRef prefix, DataOutput out) void
CharSequenceOutputs.write
(CharsRef prefix, DataOutput out) void
IntSequenceOutputs.write
(IntsRef prefix, DataOutput out) void
NoOutputs.write
(Object prefix, DataOutput out) abstract void
Outputs.write
(T output, DataOutput out) Encode an output value into aDataOutput
.void
PairOutputs.write
(PairOutputs.Pair<A, B> output, DataOutput writer) void
PositiveIntOutputs.write
(Long output, DataOutput out) void
Outputs.writeFinalOutput
(T output, DataOutput out) Encode an final node output value into aDataOutput
.private void
FSTCompiler.writeLabel
(DataOutput out, int v) void
FSTCompiler.NullFSTReader.writeTo
(DataOutput out) void
FSTReader.writeTo
(DataOutput out) Write this FST to another DataOutputvoid
GrowableByteArrayDataOutput.writeTo
(DataOutput out) Writes all of our bytes to the targetDataOutput
.void
OffHeapFSTStore.writeTo
(DataOutput out) void
OnHeapFSTStore.writeTo
(DataOutput out) void
ReadWriteDataOutput.writeTo
(DataOutput out) Constructors in org.apache.lucene.util.fst with parameters of type DataOutputModifierConstructorDescriptionprivate
FSTCompiler
(FST.INPUT_TYPE inputType, double suffixRAMLimitMB, Outputs<T> outputs, boolean allowFixedLengthArcs, DataOutput dataOutput, float directAddressingMaxOversizingFactor, int version) -
Uses of DataOutput in org.apache.lucene.util.packed
Fields in org.apache.lucene.util.packed declared as DataOutputModifier and TypeFieldDescriptionprotected DataOutput
AbstractBlockPackedWriter.out
(package private) final DataOutput
PackedDataOutput.out
protected final DataOutput
PackedInts.Writer.out
(package private) final DataOutput
DirectWriter.output
Methods in org.apache.lucene.util.packed with parameters of type DataOutputModifier and TypeMethodDescriptionstatic DirectWriter
DirectWriter.getInstance
(DataOutput output, long numValues, int bitsPerValue) Returns an instance suitable for encodingnumValues
usingbitsPerValue
static PackedInts.Writer
PackedInts.getWriterNoHeader
(DataOutput out, PackedInts.Format format, int valueCount, int bitsPerValue, int mem) Expert: Create a packed integer array writer for the given output, format, value count, and number of bits per value.void
AbstractBlockPackedWriter.reset
(DataOutput out) Reset this writer to wrapout
.(package private) static void
AbstractBlockPackedWriter.writeVLong
(DataOutput out, long i) Constructors in org.apache.lucene.util.packed with parameters of type DataOutputModifierConstructorDescriptionprotected
AbstractBlockPackedWriter
(DataOutput out, int blockSize) Sole constructor.BlockPackedWriter
(DataOutput out, int blockSize) Sole constructor.(package private)
DirectWriter
(DataOutput output, long numValues, int bitsPerValue) MonotonicBlockPackedWriter
(DataOutput out, int blockSize) Sole constructor.Create a new instance that wrapsout
.(package private)
PackedWriter
(PackedInts.Format format, DataOutput out, int valueCount, int bitsPerValue, int mem) protected
Writer
(DataOutput out, int valueCount, int bitsPerValue)