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
Modifier and Type | Field | Description |
---|---|---|
protected static DeprecationLogger |
deprecationLogger |
Constructor | Description |
---|---|
Dates(org.apache.lucene.index.SortedNumericDocValues in) |
Modifier and Type | Method | Description |
---|---|---|
org.joda.time.ReadableDateTime |
get(int index) |
|
org.joda.time.ReadableDateTime |
getDate() |
Deprecated.
|
java.util.List<org.joda.time.ReadableDateTime> |
getDates() |
Deprecated.
|
org.joda.time.ReadableDateTime |
getValue() |
Fetch the first field value or 0 millis after epoch if there are no
in.
|
void |
setNextDocId(int docId) |
Set the current doc ID.
|
int |
size() |
addAll, contains, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toString
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, subList
addAll, contains, containsAll, isEmpty, of, of, of, of, of, of, of, of, of, of, of, of, removeAll, retainAll, spliterator, toArray, toArray
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
add, getValues, remove, replaceAll, set, sort
protected static final DeprecationLogger deprecationLogger
public org.joda.time.ReadableDateTime getValue()
@Deprecated public org.joda.time.ReadableDateTime getDate()
ScriptDocValues.Longs
.@Deprecated public java.util.List<org.joda.time.ReadableDateTime> getDates()
ScriptDocValues.Longs
.public org.joda.time.ReadableDateTime get(int index)
get
in class java.util.AbstractList<org.joda.time.ReadableDateTime>
public int size()
size
in class java.util.AbstractCollection<org.joda.time.ReadableDateTime>
public void setNextDocId(int docId) throws java.io.IOException
ScriptDocValues
setNextDocId
in class ScriptDocValues<org.joda.time.ReadableDateTime>
java.io.IOException