Package org.elasticsearch.script.field
Interface Field<T>
- All Superinterfaces:
Iterable<T>
- All Known Subinterfaces:
DocValuesField<T>
- All Known Implementing Classes:
AbstractKeywordDocValuesField,AbstractLongDocValuesField,BinaryDocValuesField,BooleanDocValuesField,ByteDocValuesField,DateMillisDocValuesField,DateNanosDocValuesField,DelegateDocValuesField,DoubleDocValuesField,EmptyField,FlattenedDocValuesField,FloatDocValuesField,GeoPointDocValuesField,HalfFloatDocValuesField,IntegerDocValuesField,IpDocValuesField,KeywordDocValuesField,LongDocValuesField,ScaledFloatDocValuesField,SeqNoDocValuesField,ShortDocValuesField,VersionDocValuesField
A field in a document accessible via scripting.
-
Method Summary
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
getName
String getName()Returns the name of this field. -
isEmpty
boolean isEmpty()Returnstrueif this field has no values, otherwisefalse. -
size
int size()Returns the number of values this field has.
-