Package ai.preferred.cerebro.index.store
Class DoubleStoredField
- java.lang.Object
-
- org.apache.lucene.document.Field
-
- org.apache.lucene.document.StoredField
-
- ai.preferred.cerebro.index.store.DoubleStoredField
-
- All Implemented Interfaces:
org.apache.lucene.index.IndexableField
public class DoubleStoredField extends org.apache.lucene.document.StoredField
Cerebro's class to store a double number into Lucene's index.
-
-
Constructor Summary
Constructors Constructor Description DoubleStoredField(double d)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static double
bytesToDouble(byte[] data)
static byte[]
doubleToBytes(double d)
-
Methods inherited from class org.apache.lucene.document.Field
binaryValue, fieldType, getCharSequenceValue, name, numericValue, readerValue, setBytesValue, setBytesValue, setByteValue, setDoubleValue, setFloatValue, setIntValue, setLongValue, setReaderValue, setShortValue, setStringValue, setTokenStream, stringValue, tokenStream, tokenStreamValue, toString
-
-