public static final class ScriptDocValues.Strings 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 |
|---|---|
Strings(SortedBinaryDocValues in) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
get(int index) |
|
org.apache.lucene.util.BytesRef |
getBytesValue() |
|
java.lang.String |
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, toStringadd, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, subListaddAll, contains, containsAll, isEmpty, of, of, of, of, of, of, of, of, of, of, of, of, removeAll, retainAll, spliterator, toArray, toArrayclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, getValues, remove, replaceAll, set, sortprotected org.apache.lucene.util.BytesRefBuilder[] values
protected int count
public Strings(SortedBinaryDocValues in)
public java.lang.String get(int index)
get in class java.util.AbstractList<java.lang.String>public org.apache.lucene.util.BytesRef getBytesValue()
public java.lang.String 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 class java.util.AbstractCollection<T>