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 and Description |
---|---|
protected static DeprecationLogger |
deprecationLogger |
Constructor and Description |
---|
Dates(org.apache.lucene.index.SortedNumericDocValues in) |
Modifier and Type | Method and 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() |
add, getValues, remove, replaceAll, set, sort
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, subList
addAll, contains, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
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 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) throws java.io.IOException
ScriptDocValues
setNextDocId
in class ScriptDocValues<org.joda.time.ReadableDateTime>
java.io.IOException