Package org.opensearch.index.fielddata
Class ScriptDocValues<T>
java.lang.Object
java.util.AbstractCollection<T>
java.util.AbstractList<T>
org.opensearch.index.fielddata.ScriptDocValues<T>
- All Implemented Interfaces:
Iterable<T>
,Collection<T>
,List<T>
- Direct Known Subclasses:
IpFieldMapper.IpFieldType.IpScriptDocValues
,ScriptDocValues.Booleans
,ScriptDocValues.BytesRefs
,ScriptDocValues.Dates
,ScriptDocValues.Doubles
,ScriptDocValues.GeoPoints
,ScriptDocValues.Longs
,ScriptDocValues.Strings
,ScriptDocValues.UnsignedLongs
Script level doc values, the assumption is that any implementation will
implement a
getValue
method.
Implementations should not internally re-use objects for the values that they
return as a single ScriptDocValues
instance can be reused to return
values form multiple documents.
- Opensearch.api:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Boolean values for scripted doc valuesstatic final class
BytesRef values for scripted doc valuesstatic final class
Date values for scripted doc valuesstatic final class
Double values for scripted doc valuesstatic final class
Geo points for scripted doc valuesstatic final class
Long values for scripted doc valuesstatic class
String class for scripted doc valuesstatic final class
Unsigned long values for scripted doc values (returned asBigInteger
) -
Field Summary
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
final boolean
final void
replaceAll
(UnaryOperator<T> operator) final T
abstract void
setNextDocId
(int docId) Set the current doc ID.final void
sort
(Comparator<? super T> c) Methods inherited from class java.util.AbstractList
add, addAll, clear, equals, get, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, subList
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, removeAll, retainAll, size, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
ScriptDocValues
public ScriptDocValues()
-
-
Method Details
-
setNextDocId
Set the current doc ID.- Throws:
IOException
-
add
-
remove
- Specified by:
remove
in interfaceCollection<T>
- Specified by:
remove
in interfaceList<T>
- Overrides:
remove
in classAbstractCollection<T>
-
replaceAll
-
set
-
sort
-