Package org.elasticsearch.script.field
Interface Field
- All Known Subinterfaces:
DocValuesField
- All Known Implementing Classes:
DelegateDocValuesField
,EmptyField
public interface Field
A field in a document accessible via scripting.
-
Method Summary
-
Method Details
-
getName
String getName()Returns the name of this field. -
isEmpty
boolean isEmpty()Returnstrue
if this field has no values, otherwisefalse
. -
size
int size()Returns the number of values this field has.
-