org.elasticsearch.index.field.data.doubles
Class SingleValueDoubleFieldData
java.lang.Object
org.elasticsearch.index.field.data.FieldData<Doc>
org.elasticsearch.index.field.data.NumericFieldData<DoubleDocFieldData>
org.elasticsearch.index.field.data.doubles.DoubleFieldData
org.elasticsearch.index.field.data.doubles.SingleValueDoubleFieldData
public class SingleValueDoubleFieldData
- extends DoubleFieldData
Methods inherited from class org.elasticsearch.index.field.data.doubles.DoubleFieldData |
byteValue, createFieldData, docFieldData, doubleValue, floatValue, forEachValue, forEachValue, intValue, load, longValue, shortValue, stringValue, type, values |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SingleValueDoubleFieldData
public SingleValueDoubleFieldData(java.lang.String fieldName,
int[] ordinals,
double[] values)
computeSizeInBytes
protected long computeSizeInBytes()
- Overrides:
computeSizeInBytes
in class DoubleFieldData
multiValued
public boolean multiValued()
- Description copied from class:
FieldData
- Is the field data a multi valued one (has multiple values / terms per document id) or not.
- Specified by:
multiValued
in class FieldData<DoubleDocFieldData>
hasValue
public boolean hasValue(int docId)
- Description copied from class:
FieldData
- Is there a value associated with this document id.
- Specified by:
hasValue
in class FieldData<DoubleDocFieldData>
forEachValueInDoc
public void forEachValueInDoc(int docId,
FieldData.StringValueInDocProc proc)
- Specified by:
forEachValueInDoc
in class FieldData<DoubleDocFieldData>
forEachValueInDoc
public void forEachValueInDoc(int docId,
NumericFieldData.DoubleValueInDocProc proc)
- Specified by:
forEachValueInDoc
in class NumericFieldData<DoubleDocFieldData>
forEachValueInDoc
public void forEachValueInDoc(int docId,
NumericFieldData.LongValueInDocProc proc)
- Specified by:
forEachValueInDoc
in class NumericFieldData<DoubleDocFieldData>
forEachValueInDoc
public void forEachValueInDoc(int docId,
NumericFieldData.MissingDoubleValueInDocProc proc)
- Specified by:
forEachValueInDoc
in class NumericFieldData<DoubleDocFieldData>
forEachValueInDoc
public void forEachValueInDoc(int docId,
NumericFieldData.MissingLongValueInDocProc proc)
- Specified by:
forEachValueInDoc
in class NumericFieldData<DoubleDocFieldData>
forEachValueInDoc
public void forEachValueInDoc(int docId,
DoubleFieldData.ValueInDocProc proc)
- Specified by:
forEachValueInDoc
in class DoubleFieldData
forEachOrdinalInDoc
public void forEachOrdinalInDoc(int docId,
FieldData.OrdinalInDocProc proc)
- Specified by:
forEachOrdinalInDoc
in class FieldData<DoubleDocFieldData>
doubleValues
public double[] doubleValues(int docId)
- Specified by:
doubleValues
in class NumericFieldData<DoubleDocFieldData>
value
public double value(int docId)
- Specified by:
value
in class DoubleFieldData
values
public double[] values(int docId)
- Specified by:
values
in class DoubleFieldData