org.apache.lucene.codecs.lucene40.values
Class Ints

java.lang.Object
  extended by org.apache.lucene.codecs.lucene40.values.Ints

public final class Ints
extends Object

Stores ints packed and fixed with fixed-bit precision.

WARNING: This API is experimental and might change in incompatible ways in the next release.

Field Summary
protected static String CODEC_NAME
           
protected static int VERSION_CURRENT
           
protected static int VERSION_START
           
 
Method Summary
static DocValues getValues(Directory dir, String id, int numDocs, DocValues.Type type, IOContext context)
           
static DocValuesConsumer getWriter(Directory dir, String id, Counter bytesUsed, DocValues.Type type, IOContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CODEC_NAME

protected static final String CODEC_NAME
See Also:
Constant Field Values

VERSION_START

protected static final int VERSION_START
See Also:
Constant Field Values

VERSION_CURRENT

protected static final int VERSION_CURRENT
See Also:
Constant Field Values
Method Detail

getWriter

public static DocValuesConsumer getWriter(Directory dir,
                                          String id,
                                          Counter bytesUsed,
                                          DocValues.Type type,
                                          IOContext context)

getValues

public static DocValues getValues(Directory dir,
                                  String id,
                                  int numDocs,
                                  DocValues.Type type,
                                  IOContext context)
                           throws IOException
Throws:
IOException


Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.