| Package | Description |
|---|---|
| org.apache.lucene.index |
Code to maintain and access indices.
|
| org.apache.lucene.search |
Code to search indices.
|
| org.apache.lucene.util.packed |
Packed integer arrays and streams.
|
| Modifier and Type | Method and Description |
|---|---|
abstract PackedInts.Reader |
DocValues.SortedSource.getDocToOrd()
Returns the PackedInts.Reader impl that maps document to ord.
|
| Modifier and Type | Method and Description |
|---|---|
abstract PackedInts.Reader |
FieldCache.DocTermsIndex.getDocToOrd() |
| Modifier and Type | Interface and Description |
|---|---|
static interface |
PackedInts.Mutable
A packed integer array that can be modified.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GrowableWriter
Implements
PackedInts.Mutable, but grows the
bit count of the underlying packed ints on-demand. |
| Modifier and Type | Method and Description |
|---|---|
static PackedInts.Reader |
PackedInts.getDirectReader(IndexInput in)
Construct a direct
PackedInts.Reader from an IndexInput. |
static PackedInts.Reader |
PackedInts.getDirectReaderNoHeader(IndexInput in,
PackedInts.Format format,
int version,
int valueCount,
int bitsPerValue)
Expert: Construct a direct
PackedInts.Reader from a stream without reading
metadata at the beginning of the stream. |
static PackedInts.Reader |
PackedInts.getReader(DataInput in)
Restore a
PackedInts.Reader from a stream. |
static PackedInts.Reader |
PackedInts.getReaderNoHeader(DataInput in,
PackedInts.Format format,
int version,
int valueCount,
int bitsPerValue)
Expert: Restore a
PackedInts.Reader from a stream without reading metadata at
the beginning of the stream. |
| Modifier and Type | Method and Description |
|---|---|
static void |
PackedInts.copy(PackedInts.Reader src,
int srcPos,
PackedInts.Mutable dest,
int destPos,
int len,
int mem)
Copy
src[srcPos:srcPos+len] into
dest[destPos:destPos+len] using at most mem
bytes. |
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.