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 and Description |
|---|---|
protected int |
count |
protected org.apache.lucene.util.BytesRefBuilder[] |
values |
| Constructor and Description |
|---|
BytesRefs(SortedBinaryDocValues in) |
| Modifier and Type | Method and 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() |
add, getValues, remove, replaceAll, set, sortadd, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, subListaddAll, contains, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitprotected org.apache.lucene.util.BytesRefBuilder[] values
protected int count
public BytesRefs(SortedBinaryDocValues in)
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 org.apache.lucene.util.BytesRef getValue()
public void setNextDocId(int docId)
throws java.io.IOException
ScriptDocValuessetNextDocId in class ScriptDocValues<T>java.io.IOExceptionprotected void resize(int newSize)
public int size()
size in interface java.util.Collection<T>size in interface java.util.List<T>size in class java.util.AbstractCollection<T>