org.apache.lucene.codecs.lucene40.values
Class Floats
java.lang.Object
org.apache.lucene.codecs.lucene40.values.Floats
public class Floats
- extends Object
Exposes Writer
and reader (DocValues.Source
) for 32 bit and 64 bit
floating point values.
Current implementations store either 4 byte or 8 byte floating points with
full precision without any compression.
- WARNING: This API is experimental and might change in incompatible ways in the next release.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
Floats
public Floats()
getWriter
public static DocValuesConsumer getWriter(Directory dir,
String id,
Counter bytesUsed,
IOContext context,
DocValues.Type type)
getValues
public static DocValues getValues(Directory dir,
String id,
int maxDoc,
IOContext context,
DocValues.Type type)
throws IOException
- Throws:
IOException
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.