|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.codecs.lucene40.values.Ints
public final class Ints
Stores ints packed and fixed with fixed-bit precision.
Field Summary | |
---|---|
protected static String |
CODEC_NAME
Codec name, written in the header. |
protected static int |
VERSION_CURRENT
Current version. |
protected static int |
VERSION_START
Initial version. |
Method Summary | |
---|---|
static DocValues |
getValues(Directory dir,
String id,
int numDocs,
DocValues.Type type,
IOContext context)
Creates and returns a DocValues to
read previously written int values. |
static DocValuesConsumer |
getWriter(Directory dir,
String id,
Counter bytesUsed,
DocValues.Type type,
IOContext context)
Creates and returns a DocValuesConsumer to
write int values. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final String CODEC_NAME
protected static final int VERSION_START
protected static final int VERSION_CURRENT
Method Detail |
---|
public static DocValuesConsumer getWriter(Directory dir, String id, Counter bytesUsed, DocValues.Type type, IOContext context)
DocValuesConsumer
to
write int values.
public static DocValues getValues(Directory dir, String id, int numDocs, DocValues.Type type, IOContext context) throws IOException
DocValues
to
read previously written int values.
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |