Uses of Class
org.apache.lucene.store.DataOutput
-
Packages that use DataOutput Package Description org.apache.lucene.codecs Codecs API: API for customization of the encoding and structure of the index.org.apache.lucene.codecs.compressing StoredFieldsFormat that allows cross-document and cross-field compression of stored fields.org.apache.lucene.codecs.lucene41 Lucene 4.1 file format.org.apache.lucene.store Binary i/o API, used for all index data.org.apache.lucene.util Some utility classes.org.apache.lucene.util.fst Finite state transducersorg.apache.lucene.util.packed Packed integer arrays and streams. -
-
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(long[] longs, DataOutput out, FieldInfo fieldInfo, BlockTermState state, boolean absolute)
Encode metadata as long[] and byte[].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. -
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 void
Compressor. compress(byte[] bytes, int off, int len, DataOutput out)
Compress bytes intoout
. -
Uses of DataOutput in org.apache.lucene.codecs.lucene41
Methods in org.apache.lucene.codecs.lucene41 with parameters of type DataOutput Modifier and Type Method Description void
Lucene41PostingsWriter. encodeTerm(long[] longs, DataOutput out, FieldInfo fieldInfo, BlockTermState _state, boolean absolute)
-
Uses of DataOutput in org.apache.lucene.store
Subclasses of DataOutput in org.apache.lucene.store Modifier and Type Class Description class
BufferedIndexOutput
Base implementation class for bufferedIndexOutput
.class
ByteArrayDataOutput
DataOutput backed by a byte array.class
ChecksumIndexOutput
Writes bytes through to a primary IndexOutput, computing checksum.protected static class
FSDirectory.FSIndexOutput
Writes output withRandomAccessFile.write(byte[], int, int)
class
IndexOutput
Abstract base class for output to a file in a Directory.class
OutputStreamDataOutput
ADataOutput
wrapping a plainOutputStream
.class
RAMOutputStream
A memory-residentIndexOutput
implementation.Methods in org.apache.lucene.store with parameters of type DataOutput Modifier and Type Method Description void
RAMOutputStream. writeTo(DataOutput out)
Copy the current contents of this buffer to the named output. -
Uses of DataOutput in org.apache.lucene.util
Subclasses of DataOutput in org.apache.lucene.util Modifier and Type Class Description class
GrowableByteArrayDataOutput
ADataOutput
that can be used to build a byte[].class
PagedBytes.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 void
FST. save(DataOutput out)
void
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
. -
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
protected DataOutput
AbstractBlockPackedWriter. out
protected DataOutput
PackedInts.Writer. out
Methods in org.apache.lucene.util.packed with parameters of type DataOutput Modifier and Type Method Description static PackedInts.Writer
PackedInts. 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.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
GrowableWriter. save(DataOutput out)
void
PackedInts.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.MonotonicBlockPackedWriter(DataOutput out, int blockSize)
Sole constructor.PackedDataOutput(DataOutput out)
Create a new instance that wrapsout
.Writer(DataOutput out, int valueCount, int bitsPerValue)
-