public static class ScriptDocValues.Longs extends AbstractList<Long> implements ScriptDocValues<Long>
ScriptDocValues.Doubles, ScriptDocValues.GeoPoints, ScriptDocValues.Longs, ScriptDocValues.StringsmodCount| Constructor and Description |
|---|
ScriptDocValues.Longs(org.apache.lucene.index.SortedNumericDocValues values) |
| Modifier and Type | Method and Description |
|---|---|
Long |
get(int index) |
org.joda.time.MutableDateTime |
getDate() |
org.apache.lucene.index.SortedNumericDocValues |
getInternalValues() |
long |
getValue() |
List<Long> |
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, toStringpublic ScriptDocValues.Longs(org.apache.lucene.index.SortedNumericDocValues values)
public void setNextDocId(int docId)
ScriptDocValuessetNextDocId in interface ScriptDocValues<Long>public org.apache.lucene.index.SortedNumericDocValues getInternalValues()
public long getValue()
public List<Long> getValues()
ScriptDocValuesgetValues in interface ScriptDocValues<Long>public org.joda.time.MutableDateTime getDate()
public Long get(int index)
public int size()
size in interface Collection<Long>size in interface List<Long>size in class AbstractCollection<Long>Copyright © 2009–2016. All rights reserved.