java.lang.Object
java.util.AbstractCollection<T>
java.util.AbstractList<T>
org.elasticsearch.index.fielddata.ScriptDocValues<T>
- All Implemented Interfaces:
Iterable<T>,Collection<T>,List<T>,SequencedCollection<T>
- Direct Known Subclasses:
DenseVectorScriptDocValues,RankVectorsScriptDocValues,ScriptDocValues.BaseGeometry,ScriptDocValues.Booleans,ScriptDocValues.BytesRefs,ScriptDocValues.Dates,ScriptDocValues.Doubles,ScriptDocValues.Longs,ScriptDocValues.Strings
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.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classScriptDocValues.BaseGeometry<T extends SpatialPoint,V> static classstatic final classstatic classstatic classstatic classstatic interfacestatic interfaceScriptDocValues.GeometrySupplier<T extends SpatialPoint,V> static classstatic classstatic classstatic classstatic interfaceSupplies values to different ScriptDocValues as we convert them to wrappers aroundDocValuesScriptFieldFactory. -
Field Summary
FieldsFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidfinal booleanfinal voidreplaceAll(UnaryOperator<T> operator) final Tfinal voidsort(Comparator<? super T> c) protected voidthrowIfBeyondLength(int i) protected voidMethods inherited from class java.util.AbstractList
add, addAll, clear, equals, get, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, subListMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, removeAll, retainAll, size, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
addAll, addFirst, addLast, contains, containsAll, getFirst, getLast, isEmpty, removeAll, removeFirst, removeLast, retainAll, reversed, size, spliterator, toArray, toArray
-
Field Details
-
supplier
-
-
Constructor Details
-
ScriptDocValues
-
-
Method Details
-
getSupplier
-
add
-
remove
- Specified by:
removein interfaceCollection<T>- Specified by:
removein interfaceList<T>- Overrides:
removein classAbstractCollection<T>
-
replaceAll
-
set
-
sort
-
throwIfEmpty
protected void throwIfEmpty() -
throwIfBeyondLength
protected void throwIfBeyondLength(int i)
-