public static final class ScriptDocValues.Strings extends java.util.AbstractList<java.lang.String> implements ScriptDocValues<java.lang.String>
ScriptDocValues.Doubles, ScriptDocValues.GeoPoints, ScriptDocValues.Longs, ScriptDocValues.Strings
Constructor and Description |
---|
Strings(SortedBinaryDocValues values) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
get(int index) |
org.apache.lucene.util.BytesRef |
getBytesValue() |
SortedBinaryDocValues |
getInternalValues() |
java.lang.String |
getValue() |
java.util.List<java.lang.String> |
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, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public Strings(SortedBinaryDocValues values)
public void setNextDocId(int docId)
ScriptDocValues
setNextDocId
in interface ScriptDocValues<java.lang.String>
public SortedBinaryDocValues getInternalValues()
public org.apache.lucene.util.BytesRef getBytesValue()
public java.lang.String getValue()
public java.util.List<java.lang.String> getValues()
ScriptDocValues
getValues
in interface ScriptDocValues<java.lang.String>
public java.lang.String get(int index)
get
in interface java.util.List<java.lang.String>
get
in class java.util.AbstractList<java.lang.String>
public int size()
size
in interface java.util.Collection<java.lang.String>
size
in interface java.util.List<java.lang.String>
size
in class java.util.AbstractCollection<java.lang.String>