public static final class ScriptDocValues.BytesRefs extends ScriptDocValues<T>
ScriptDocValues.Booleans, ScriptDocValues.BytesRefs, ScriptDocValues.Dates, ScriptDocValues.Doubles, ScriptDocValues.GeoPoints, ScriptDocValues.Longs, ScriptDocValues.Strings
Modifier and Type | Field | Description |
---|---|---|
protected int |
count |
|
protected org.apache.lucene.util.BytesRefBuilder[] |
values |
Constructor | Description |
---|---|
BytesRefs(SortedBinaryDocValues in) |
Modifier and Type | Method | Description |
---|---|---|
org.apache.lucene.util.BytesRef |
get(int index) |
|
org.apache.lucene.util.BytesRef |
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, of, of, of, of, of, of, of, of, of, of, of, of, removeAll, retainAll, spliterator, toArray, toArray
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
add, getValues, remove, replaceAll, set, sort
protected org.apache.lucene.util.BytesRefBuilder[] values
protected int count
public BytesRefs(SortedBinaryDocValues in)
public org.apache.lucene.util.BytesRef get(int index)
get
in class java.util.AbstractList<org.apache.lucene.util.BytesRef>
public org.apache.lucene.util.BytesRef getValue()
public void setNextDocId(int docId) throws java.io.IOException
ScriptDocValues
setNextDocId
in class ScriptDocValues<T>
java.io.IOException
protected void resize(int newSize)
public int size()
size
in class java.util.AbstractCollection<T>