Uses of Class
org.apache.lucene.store.DataOutput
-
-
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 voidPostingsWriterBase. encodeTerm(long[] longs, DataOutput out, FieldInfo fieldInfo, BlockTermState state, boolean absolute)Encode metadata as long[] and byte[].static voidCodecUtil. verifyAndCopyIndexHeader(IndexInput in, DataOutput out, byte[] expectedID)Expert: verifies the incomingIndexInputhas an index header and that its segment ID matches the expected one, and then copies that index header into the providedDataOutput.static voidCodecUtil. 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 voidCodecUtil. 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). -
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 abstract voidCompressor. compress(byte[] bytes, int off, int len, DataOutput out)Compress bytes intoout. -
Uses of DataOutput in org.apache.lucene.codecs.lucene84
Methods in org.apache.lucene.codecs.lucene84 with parameters of type DataOutput Modifier and Type Method Description voidLucene84PostingsWriter. encodeTerm(long[] longs, DataOutput out, FieldInfo fieldInfo, BlockTermState _state, boolean absolute) -
Uses of DataOutput in org.apache.lucene.index
Constructors in org.apache.lucene.index with parameters of type DataOutput Constructor Description CorruptIndexException(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.search.suggest
Methods in org.apache.lucene.search.suggest with parameters of type DataOutput Modifier and Type Method Description abstract booleanLookup. store(DataOutput output)Persist the constructed lookup data to a directory. -
Uses of DataOutput in org.apache.lucene.store
Subclasses of DataOutput in org.apache.lucene.store Modifier and Type Class Description classByteArrayDataOutputDataOutput backed by a byte array.classByteBuffersDataOutputADataOutputstoring data in a list ofByteBuffers.classGrowableByteArrayDataOutputADataOutputthat can be used to build a byte[].classIndexOutputADataOutputfor appending data to a file in aDirectory.classOutputStreamDataOutputADataOutputwrapping a plainOutputStream.classOutputStreamIndexOutputImplementation class for bufferedIndexOutputthat writes to anOutputStream.classRAMOutputStreamDeprecated.This class uses inefficient synchronization and is discouraged in favor ofMMapDirectory.classRateLimitedIndexOutputMethods in org.apache.lucene.store with parameters of type DataOutput Modifier and Type Method Description voidByteBuffersDataOutput. copyTo(DataOutput output)Copy the current content of this object into anotherDataOutput.voidRAMOutputStream. writeTo(DataOutput out)Deprecated.Copy the current contents of this buffer to the providedDataOutput. -
Uses of DataOutput in org.apache.lucene.util
Subclasses of DataOutput in org.apache.lucene.util Modifier and Type Class Description classPagedBytes.PagedBytesDataOutput -
Uses of DataOutput in org.apache.lucene.util.fst
Methods in org.apache.lucene.util.fst with parameters of type DataOutput Modifier and Type Method Description voidFST. save(DataOutput out)voidByteSequenceOutputs. write(BytesRef prefix, DataOutput out)voidCharSequenceOutputs. write(CharsRef prefix, DataOutput out)voidIntSequenceOutputs. write(IntsRef prefix, DataOutput out)abstract voidOutputs. write(T output, DataOutput out)Encode an output value into aDataOutput.voidPairOutputs. write(PairOutputs.Pair<A,B> output, DataOutput writer)voidPositiveIntOutputs. write(Long output, DataOutput out)voidOutputs. writeFinalOutput(T output, DataOutput out)Encode an final node output value into aDataOutput.voidFSTStore. writeTo(DataOutput out)voidOffHeapFSTStore. writeTo(DataOutput out)voidOnHeapFSTStore. 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 DataOutputAbstractBlockPackedWriter. outprotected DataOutputPackedInts.Writer. outMethods in org.apache.lucene.util.packed with parameters of type DataOutput Modifier and Type Method Description static PackedInts.WriterPackedInts. getWriter(DataOutput out, int valueCount, int bitsPerValue, float acceptableOverheadRatio)Create a packed integer array writer for the given output, format, value count, and number of bits per value.static PackedInts.WriterPackedInts. 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.voidGrowableWriter. save(DataOutput out)voidPackedInts.Mutable. save(DataOutput out)Save this mutable intoout.Constructors in org.apache.lucene.util.packed with parameters of type DataOutput Constructor Description BlockPackedWriter(DataOutput out, int blockSize)Sole constructor.Writer(DataOutput out, int valueCount, int bitsPerValue) -
Uses of DataOutput in org.elasticsearch.common.lucene.store
Subclasses of DataOutput in org.elasticsearch.common.lucene.store Modifier and Type Class Description classFilterIndexOutputIndexOutput that delegates all calls to another IndexOutput -
Uses of DataOutput in org.elasticsearch.index.store
Subclasses of DataOutput in org.elasticsearch.index.store Modifier and Type Class Description classVerifyingIndexOutputabstract class for verifying what was written.
-