Package org.elasticsearch.script.field
Class EmptyField
java.lang.Object
org.elasticsearch.script.field.EmptyField
A script
Field
with no mapping, always returns defaultValue
.-
Constructor Details
-
EmptyField
-
-
Method Details
-
getName
Description copied from interface:Field
Returns the name of this field. -
isEmpty
public boolean isEmpty()Description copied from interface:Field
Returnstrue
if this field has no values, otherwisefalse
. -
size
public int size()Description copied from interface:Field
Returns the number of values this field has. -
get
-
get
-
iterator
-