Uses of Class
org.apache.lucene.store.DataOutput
-
Packages that use DataOutput Package Description org.apache.lucene.backward_codecs.compressing Compressing helper classes.org.apache.lucene.backward_codecs.lucene50 Lucene 5.0 file format.org.apache.lucene.backward_codecs.lucene84 Lucene 8.4 file format.org.apache.lucene.backward_codecs.lucene87 Lucene 8.7 file format.org.apache.lucene.backward_codecs.lucene90 Lucene 9.0 file format.org.apache.lucene.backward_codecs.packed Legacy PackedInts methodsorg.apache.lucene.backward_codecs.store store helperorg.apache.lucene.codecs Codecs API: API for customization of the encoding and structure of the index.org.apache.lucene.codecs.blocktreeords Same postings format as Lucene50, except the terms dictionary also supports ords, i.e.org.apache.lucene.codecs.bloom Codec PostingsFormat for fast access to low-frequency terms such as primary key fields.org.apache.lucene.codecs.compressing Compressing helper classes.org.apache.lucene.codecs.lucene90 Lucene 9.0 file format.org.apache.lucene.codecs.lucene90.blocktree BlockTree terms dictionary.org.apache.lucene.codecs.lucene90.compressing Lucene 9.0 compressing format.org.apache.lucene.codecs.lucene99 Lucene 9.9 file format.org.apache.lucene.codecs.memory Term dictionary, DocValues or Postings formats that are read entirely into memory.org.apache.lucene.codecs.simpletext Simpletext Codec: writes human readable postings.org.apache.lucene.codecs.uniformsplit Pluggable term index / block terms dictionary implementations.org.apache.lucene.codecs.uniformsplit.sharedterms Pluggable term index / block terms dictionary implementations.org.apache.lucene.index Code to maintain and access indices.org.apache.lucene.misc.index Misc index tools and index support.org.apache.lucene.misc.store Misc Directory implementations.org.apache.lucene.misc.util.fst Misc FST classes.org.apache.lucene.sandbox.codecs.idversion A primary-key postings format that associates a version (long) with each term and can provide fail-fast lookups by ID and version.org.apache.lucene.search Code to search indices.org.apache.lucene.search.suggest Support for Autocomplete/Autosuggestorg.apache.lucene.search.suggest.analyzing Analyzer based autosuggest.org.apache.lucene.search.suggest.document Support for document suggestionorg.apache.lucene.search.suggest.fst Finite-state based autosuggest.org.apache.lucene.search.suggest.tst Ternary Search Tree based autosuggest.org.apache.lucene.store Binary i/o API, used for all index data.org.apache.lucene.util Some utility classes.org.apache.lucene.util.bkd Block KD-tree, implementing the generic spatial data structure described in this paper.org.apache.lucene.util.compress Compression utilities.org.apache.lucene.util.fst Finite state transducersorg.apache.lucene.util.packed 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 DataOutput Modifier and Type Method Description void
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 DataOutput Modifier and Type Method Description void
Lucene50StoredFieldsFormat.LZ4FastCompressor. compress(byte[] bytes, int off, int len, DataOutput out)
Constructors in org.apache.lucene.backward_codecs.lucene50 with parameters of type DataOutput Constructor Description 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 DataOutput Modifier and Type Method Description (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 DataOutput Modifier and Type Method Description void
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 DataOutput Modifier and Type Method Description (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 DataOutput Modifier and Type Field Description (package private) DataOutput
LegacyDirectWriter. output
Methods in org.apache.lucene.backward_codecs.packed with parameters of type DataOutput Modifier and Type Method Description static 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 DataOutput Constructor Description 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.store Modifier and Type Class Description (package private) class
EndiannessReverserDataOutput
(package private) class
EndiannessReverserIndexOutput
AIndexOutput
wrapper that changes the endianness of the provided index output.Fields in org.apache.lucene.backward_codecs.store declared as DataOutput Modifier and Type Field Description (package private) DataOutput
EndiannessReverserDataOutput. out
Methods in org.apache.lucene.backward_codecs.store that return DataOutput Modifier and Type Method Description static DataOutput
EndiannessReverserUtil. wrapDataOutput(DataOutput dataOutput)
wraps a data outputMethods in org.apache.lucene.backward_codecs.store with parameters of type DataOutput Modifier and Type Method Description static DataOutput
EndiannessReverserUtil. wrapDataOutput(DataOutput dataOutput)
wraps a data outputConstructors in org.apache.lucene.backward_codecs.store with parameters of type DataOutput Constructor Description EndiannessReverserDataOutput(DataOutput out)
-
Uses of DataOutput in org.apache.lucene.codecs
Methods in org.apache.lucene.codecs with parameters of type DataOutput Modifier and Type Method Description abstract 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, java.lang.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, java.lang.String codec, int version, byte[] id, java.lang.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 DataOutput Modifier and Type Method Description void
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 DataOutput Modifier and Type Method Description void
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 DataOutput Modifier and Type Method Description void
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 DataOutput Modifier and Type Method Description void
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 DataOutput Modifier and Type Field Description private DataOutput
Lucene90BlockTreeTermsWriter.StatsWriter. out
Methods in org.apache.lucene.codecs.lucene90.blocktree with parameters of type DataOutput Modifier and Type Method Description private 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 Constructor Description StatsWriter(DataOutput out, boolean hasFreqs)
-
Uses of DataOutput in org.apache.lucene.codecs.lucene90.compressing
Methods in org.apache.lucene.codecs.lucene90.compressing with parameters of type DataOutput Modifier and Type Method Description private 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 DataOutput Modifier and Type Method Description (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)
void
GroupVIntWriter. writeValues(DataOutput out, long[] values, int limit)
-
Uses of DataOutput in org.apache.lucene.codecs.memory
Methods in org.apache.lucene.codecs.memory with parameters of type DataOutput Modifier and Type Method Description void
FSTTermOutputs. write(FSTTermOutputs.TermData data, DataOutput out)
-
Uses of DataOutput in org.apache.lucene.codecs.simpletext
Subclasses of DataOutput in org.apache.lucene.codecs.simpletext Modifier and Type Class Description (package private) static class
SimpleTextSegmentInfoFormat.BytesRefOutput
Methods in org.apache.lucene.codecs.simpletext with parameters of type DataOutput Modifier and Type Method Description static void
SimpleTextUtil. write(DataOutput out, java.lang.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 DataOutput Modifier and Type Method Description void
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.codecs.uniformsplit.sharedterms
Methods in org.apache.lucene.codecs.uniformsplit.sharedterms with parameters of type DataOutput Modifier and Type Method Description void
STBlockLine.Serializer. writeLineTermStates(DataOutput termStatesOutput, STBlockLine line, DeltaBaseTermStateSerializer encoder)
Writes all theBlockTermState
of the providedSTBlockLine
to the given output. -
Uses of DataOutput in org.apache.lucene.index
Fields in org.apache.lucene.index declared as DataOutput Modifier and Type Field Description private DataOutput
BinaryDocValuesWriter. bytesOut
private DataOutput
PointValuesWriter. bytesOut
Methods in org.apache.lucene.index with parameters of type DataOutput Modifier and Type Method Description private 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 DataOutput Constructor Description CorruptIndexException(java.lang.String message, DataOutput output)
Create exception with a message onlyCorruptIndexException(java.lang.String message, DataOutput output, java.lang.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 DataOutput Modifier and Type Method Description (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, java.util.Set<java.lang.String> fields, Directory tempDir, DataOutput postingsOut)
-
Uses of DataOutput in org.apache.lucene.misc.store
Subclasses of DataOutput in org.apache.lucene.misc.store Modifier and Type Class Description class
ByteTrackingIndexOutput
AnIndexOutput
that wraps another instance and tracks the number of bytes writtenprivate static class
DirectIODirectory.DirectIOIndexOutput
-
Uses of DataOutput in org.apache.lucene.misc.util.fst
Methods in org.apache.lucene.misc.util.fst with parameters of type DataOutput Modifier and Type Method Description void
ListOfOutputs. write(java.lang.Object output, DataOutput out)
void
UpToTwoPositiveIntOutputs. write(java.lang.Object _output, DataOutput out)
void
ListOfOutputs. writeFinalOutput(java.lang.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 DataOutput Modifier and Type Method Description void
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 DataOutput Modifier and Type Method Description private 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 DataOutput Modifier and Type Method Description abstract 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 DataOutput Modifier and Type Method Description boolean
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 DataOutput Modifier and Type Method Description boolean
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 DataOutput Modifier and Type Method Description boolean
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 DataOutput Modifier and Type Method Description boolean
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.store Modifier and Type Class Description class
ByteArrayDataOutput
DataOutput backed by a byte array.class
ByteBuffersDataOutput
ADataOutput
storing data in a list ofByteBuffer
s.class
ByteBuffersIndexOutput
AnIndexOutput
writing to aByteBuffersDataOutput
.class
FilterIndexOutput
IndexOutput implementation that delegates calls to another directory.(package private) class
FSDirectory.FSIndexOutput
class
IndexOutput
ADataOutput
for appending data to a file in aDirectory
.class
OutputStreamDataOutput
ADataOutput
wrapping a plainOutputStream
.class
OutputStreamIndexOutput
Implementation class for bufferedIndexOutput
that writes to anOutputStream
.class
RateLimitedIndexOutput
Methods in org.apache.lucene.store with parameters of type DataOutput Modifier and Type Method Description void
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.util Modifier and Type Class Description class
PagedBytes.PagedBytesDataOutput
Output that transparently spills to new pages as necessary -
Uses of DataOutput in org.apache.lucene.util.bkd
Methods in org.apache.lucene.util.bkd with parameters of type DataOutput Modifier and Type Method Description private void
BKDWriter. writeActualBounds(DataOutput out, int[] commonPrefixLengths, int count, java.util.function.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, java.util.function.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, java.util.function.IntFunction<BytesRef> packedValues, int leafCardinality)
private void
BKDWriter. writeLeafBlockPackedValuesRange(DataOutput out, int[] commonPrefixLengths, int start, int end, java.util.function.IntFunction<BytesRef> packedValues)
private void
BKDWriter. writeLowCardinalityLeafBlockPackedValues(DataOutput out, int[] commonPrefixLengths, int count, java.util.function.IntFunction<BytesRef> packedValues)
-
Uses of DataOutput in org.apache.lucene.util.compress
Methods in org.apache.lucene.util.compress with parameters of type DataOutput Modifier and Type Method Description static 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.fst Modifier and Type Class Description (package private) class
BytesStore
Methods in org.apache.lucene.util.fst with parameters of type DataOutput Modifier and Type Method Description void
FST. save(DataOutput metaOut, DataOutput out)
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(java.lang.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(java.lang.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
BytesStore. writeTo(DataOutput out)
Writes all of our bytes to the targetDataOutput
.void
FSTReader. writeTo(DataOutput out)
Write this FST to another DataOutputvoid
OffHeapFSTStore. writeTo(DataOutput out)
void
OnHeapFSTStore. writeTo(DataOutput out)
-
Uses of DataOutput in org.apache.lucene.util.packed
Fields in org.apache.lucene.util.packed declared as DataOutput Modifier and Type Field Description protected DataOutput
AbstractBlockPackedWriter. out
(package private) DataOutput
PackedDataOutput. out
protected DataOutput
PackedInts.Writer. out
(package private) DataOutput
DirectWriter. output
Methods in org.apache.lucene.util.packed with parameters of type DataOutput Modifier and Type Method Description static 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 DataOutput Constructor Description AbstractBlockPackedWriter(DataOutput out, int blockSize)
Sole constructor.BlockPackedWriter(DataOutput out, int blockSize)
Sole constructor.DirectWriter(DataOutput output, long numValues, int bitsPerValue)
MonotonicBlockPackedWriter(DataOutput out, int blockSize)
Sole constructor.PackedDataOutput(DataOutput out)
Create a new instance that wrapsout
.PackedWriter(PackedInts.Format format, DataOutput out, int valueCount, int bitsPerValue, int mem)
Writer(DataOutput out, int valueCount, int bitsPerValue)
-