java.lang.Iterable<java.lang.Long>
, java.util.Collection<java.lang.Long>
, java.util.List<java.lang.Long>
public static final class ScriptDocValues.Longs extends ScriptDocValues<java.lang.Long>
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 |
---|---|
Longs(org.apache.lucene.index.SortedNumericDocValues in) |
Standard constructor.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.Long |
get(int index) |
|
org.joda.time.ReadableDateTime |
getDate() |
Deprecated.
|
java.util.List<org.joda.time.ReadableDateTime> |
getDates() |
Deprecated.
|
org.apache.lucene.index.SortedNumericDocValues |
getInternalValues() |
|
long |
getValue() |
|
protected void |
resize(int newSize) |
|
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, 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 Longs(org.apache.lucene.index.SortedNumericDocValues in)
public void setNextDocId(int docId) throws java.io.IOException
ScriptDocValues
setNextDocId
in class ScriptDocValues<java.lang.Long>
java.io.IOException
protected void resize(int newSize)
public org.apache.lucene.index.SortedNumericDocValues getInternalValues()
public long getValue()
@Deprecated public org.joda.time.ReadableDateTime getDate() throws java.io.IOException
java.io.IOException
@Deprecated public java.util.List<org.joda.time.ReadableDateTime> getDates() throws java.io.IOException
java.io.IOException
public java.lang.Long get(int index)
get
in interface java.util.List<java.lang.Long>
get
in class java.util.AbstractList<java.lang.Long>
public int size()
size
in interface java.util.Collection<java.lang.Long>
size
in interface java.util.List<java.lang.Long>
size
in class java.util.AbstractCollection<java.lang.Long>