public class DoubleConstValueSource extends ConstNumberSource
| Constructor and Description |
|---|
DoubleConstValueSource(double constant) |
| Modifier and Type | Method and Description |
|---|---|
String |
description()
description of field, used in explain()
|
boolean |
equals(Object o) |
double |
getDouble() |
float |
getFloat() |
int |
getInt() |
long |
getLong() |
Number |
getNumber() |
DocValues |
getValues(Map context,
IndexReader reader)
Gets the values for this reader and the context that was previously
passed to createWeight()
|
int |
hashCode() |
createWeight, getSortField, getValues, newContext, toStringpublic String description()
ValueSourcedescription in class ValueSourcepublic DocValues getValues(Map context, IndexReader reader) throws IOException
ValueSourcegetValues in class ValueSourceIOExceptionpublic int hashCode()
hashCode in class ValueSourcepublic boolean equals(Object o)
equals in class ValueSourcepublic int getInt()
getInt in class ConstNumberSourcepublic long getLong()
getLong in class ConstNumberSourcepublic float getFloat()
getFloat in class ConstNumberSourcepublic double getDouble()
getDouble in class ConstNumberSourcepublic Number getNumber()
getNumber in class ConstNumberSource