public static final class ScriptDocValues.Strings extends AbstractList<String> implements ScriptDocValues<String>
ScriptDocValues.Doubles, ScriptDocValues.GeoPoints, ScriptDocValues.Longs, ScriptDocValues.Strings
modCount
Constructor and Description |
---|
ScriptDocValues.Strings(SortedBinaryDocValues values) |
Modifier and Type | Method and Description |
---|---|
String |
get(int index) |
org.apache.lucene.util.BytesRef |
getBytesValue() |
SortedBinaryDocValues |
getInternalValues() |
String |
getValue() |
List<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
public ScriptDocValues.Strings(SortedBinaryDocValues values)
public void setNextDocId(int docId)
ScriptDocValues
setNextDocId
in interface ScriptDocValues<String>
public SortedBinaryDocValues getInternalValues()
public org.apache.lucene.util.BytesRef getBytesValue()
public String getValue()
public List<String> getValues()
ScriptDocValues
getValues
in interface ScriptDocValues<String>
public String get(int index)
public int size()
size
in interface Collection<String>
size
in interface List<String>
size
in class AbstractCollection<String>
Copyright © 2009–2016. All rights reserved.