public static class ScriptDocValues.Doubles extends AbstractList<Double> implements ScriptDocValues<Double>
ScriptDocValues.Doubles, ScriptDocValues.GeoPoints, ScriptDocValues.Longs, ScriptDocValues.StringsmodCount| Constructor and Description |
|---|
Doubles(SortedNumericDoubleValues values) |
| Modifier and Type | Method and Description |
|---|---|
Double |
get(int index) |
SortedNumericDoubleValues |
getInternalValues() |
double |
getValue() |
List<Double> |
getValues()
Return a copy of the list of the values for the current document.
|
void |
setNextDocId(int docId)
Set the current doc ID.
|
int |
size() |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, sort, spliterator, subList, toArray, toArrayparallelStream, removeIf, streampublic Doubles(SortedNumericDoubleValues values)
public void setNextDocId(int docId)
ScriptDocValuessetNextDocId in interface ScriptDocValues<Double>public SortedNumericDoubleValues getInternalValues()
public double getValue()
public List<Double> getValues()
ScriptDocValuesgetValues in interface ScriptDocValues<Double>public Double get(int index)
public int size()
size in interface Collection<Double>size in interface List<Double>size in class AbstractCollection<Double>Copyright © 2009–2016. All rights reserved.