java.lang.Object
org.elasticsearch.script.field.NestedDocument
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
exists()
Has this NestedDocument been removed?Get aWriteField
inside this NestedDocument, all operation on theWriteField
are relative to this NestedDocument.Stream allWriteField
s in this NestedDocument.getDoc()
Return the underlying doc for using this class as a root supplier.boolean
isEmpty()
Are there anyWriteField
s inside this NestedDocument?void
remove()
Remove this NestedDocumentint
size()
The number of fields in this NestedDocument.
-
Constructor Details
-
NestedDocument
-
-
Method Details
-
field
Get aWriteField
inside this NestedDocument, all operation on theWriteField
are relative to this NestedDocument. -
fields
Stream allWriteField
s in this NestedDocument. -
isEmpty
public boolean isEmpty()Are there anyWriteField
s inside this NestedDocument? -
size
public int size()The number of fields in this NestedDocument. -
exists
public boolean exists()Has this NestedDocument been removed? -
remove
public void remove()Remove this NestedDocument -
getDoc
Return the underlying doc for using this class as a root supplier.
-