Package org.elasticsearch.script.field
Interface DocValuesField<T>
- All Known Implementing Classes:
AbstractKeywordDocValuesField
,AbstractLongDocValuesField
,BinaryDocValuesField
,BooleanDocValuesField
,ByteDocValuesField
,DateMillisDocValuesField
,DateNanosDocValuesField
,DelegateDocValuesField
,DoubleDocValuesField
,FlattenedDocValuesField
,FloatDocValuesField
,GeoPointDocValuesField
,HalfFloatDocValuesField
,IntegerDocValuesField
,IpDocValuesField
,KeywordDocValuesField
,LongDocValuesField
,ScaledFloatDocValuesField
,SeqNoDocValuesField
,ShortDocValuesField
,VersionDocValuesField
-
Method Summary
Modifier and TypeMethodDescriptionReturns aScriptDocValues
of the appropriate type for this field.void
setNextDocId
(int docId) Set the current document ID.Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
setNextDocId
Set the current document ID.- Throws:
IOException
-
getScriptDocValues
ScriptDocValues<?> getScriptDocValues()Returns aScriptDocValues
of the appropriate type for this field. This is used to support backwards compatibility for accessing field values through thedoc
variable.
-