public static final class ScriptDocValues.Booleans extends ScriptDocValues<java.lang.Boolean>
ScriptDocValues.Booleans, ScriptDocValues.BytesRefs, ScriptDocValues.Dates, ScriptDocValues.Doubles, ScriptDocValues.GeoPoints, ScriptDocValues.Longs, ScriptDocValues.Strings
Constructor and Description |
---|
Booleans(org.apache.lucene.index.SortedNumericDocValues in) |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
get(int index) |
boolean |
getValue() |
protected void |
resize(int newSize)
|
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 void setNextDocId(int docId) throws java.io.IOException
ScriptDocValues
setNextDocId
in class ScriptDocValues<java.lang.Boolean>
java.io.IOException
protected void resize(int newSize)
public boolean getValue()
public java.lang.Boolean get(int index)
get
in interface java.util.List<java.lang.Boolean>
get
in class java.util.AbstractList<java.lang.Boolean>
public int size()
size
in interface java.util.Collection<java.lang.Boolean>
size
in interface java.util.List<java.lang.Boolean>
size
in class java.util.AbstractCollection<java.lang.Boolean>