Package | Description |
---|---|
org.apache.lucene.codecs |
Codecs API: API for customization of the encoding and structure of the index.
|
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 transducers
|
org.apache.lucene.util.packed |
Packed integer arrays and streams.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
BufferedIndexOutput
Base implementation class for buffered
IndexOutput . |
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 with
RandomAccessFile.write(byte[], int, int) |
class |
IndexOutput
Abstract base class for output to a file in a Directory.
|
class |
OutputStreamDataOutput
A
DataOutput wrapping a plain OutputStream . |
class |
RAMOutputStream
A memory-resident
IndexOutput implementation. |
Modifier and Type | Class and Description |
---|---|
class |
PagedBytes.PagedBytesDataOutput |
Modifier and Type | Method and Description |
---|---|
void |
ByteBlockPool.writePool(DataOutput out)
Writes the pools content to the given
DataOutput |
Modifier and Type | Method and 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 |
PositiveIntOutputs.write(Long output,
DataOutput out) |
void |
NoOutputs.write(Object prefix,
DataOutput out) |
void |
UpToTwoPositiveIntOutputs.write(Object _output,
DataOutput out) |
void |
PairOutputs.write(PairOutputs.Pair<A,B> output,
DataOutput writer) |
abstract void |
Outputs.write(T output,
DataOutput out) |
Modifier and Type | Field and Description |
---|---|
protected DataOutput |
PackedInts.Writer.out |
Modifier and Type | Method and 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 |
PackedInts.Mutable.save(DataOutput out)
Save this mutable into
out . |
void |
GrowableWriter.save(DataOutput out) |
Constructor and Description |
---|
PackedInts.Writer(DataOutput out,
int valueCount,
int bitsPerValue) |
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.