public static final class ScriptDocValues.Dates extends ScriptDocValues<org.joda.time.ReadableDateTime>
ScriptDocValues.Booleans, ScriptDocValues.BytesRefs, ScriptDocValues.Dates, ScriptDocValues.Doubles, ScriptDocValues.GeoPoints, ScriptDocValues.Longs, ScriptDocValues.Strings| Constructor and Description |
|---|
Dates(org.apache.lucene.index.SortedNumericDocValues values) |
| Modifier and Type | Method and Description |
|---|---|
org.joda.time.ReadableDateTime |
get(int index) |
org.joda.time.ReadableDateTime |
getValue()
Fetch the first field value or 0 millis after epoch if there are no values.
|
void |
setNextDocId(int docId)
Set the current doc ID.
|
int |
size() |
add, getValues, remove, replaceAll, set, sortadd, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, subListaddAll, contains, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic org.joda.time.ReadableDateTime getValue()
public org.joda.time.ReadableDateTime get(int index)
get in interface java.util.List<org.joda.time.ReadableDateTime>get in class java.util.AbstractList<org.joda.time.ReadableDateTime>public int size()
size in interface java.util.Collection<org.joda.time.ReadableDateTime>size in interface java.util.List<org.joda.time.ReadableDateTime>size in class java.util.AbstractCollection<org.joda.time.ReadableDateTime>public void setNextDocId(int docId)
ScriptDocValuessetNextDocId in class ScriptDocValues<org.joda.time.ReadableDateTime>