public final class Ints extends Object
| Modifier and Type | Field and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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. |
protected static final String CODEC_NAME
protected static final int VERSION_START
protected static final int VERSION_CURRENT
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.IOExceptionCopyright © 2000-2012 Apache Software Foundation. All Rights Reserved.