public static final class ScriptDocValues.BytesRefs extends ScriptDocValues<org.apache.lucene.util.BytesRef>
ScriptDocValues.Booleans, ScriptDocValues.BytesRefs, ScriptDocValues.Dates, ScriptDocValues.Doubles, ScriptDocValues.GeoPoints, ScriptDocValues.Longs, ScriptDocValues.Strings
Constructor and Description |
---|
BytesRefs(SortedBinaryDocValues values) |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.util.BytesRef |
get(int index) |
SortedBinaryDocValues |
getInternalValues() |
org.apache.lucene.util.BytesRef |
getValue() |
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
public BytesRefs(SortedBinaryDocValues values)
public void setNextDocId(int docId)
ScriptDocValues
setNextDocId
in class ScriptDocValues<org.apache.lucene.util.BytesRef>
public SortedBinaryDocValues getInternalValues()
public org.apache.lucene.util.BytesRef getValue()
public org.apache.lucene.util.BytesRef get(int index)
get
in interface java.util.List<org.apache.lucene.util.BytesRef>
get
in class java.util.AbstractList<org.apache.lucene.util.BytesRef>
public int size()
size
in interface java.util.Collection<org.apache.lucene.util.BytesRef>
size
in interface java.util.List<org.apache.lucene.util.BytesRef>
size
in class java.util.AbstractCollection<org.apache.lucene.util.BytesRef>