Field
Base class for leaf metamodel fields, i.e. fields that do not contain nested fields.
A Field always belongs to a Container (an ObjectField/Document or a MultiField) that it registers itself with on construction, which makes path traversal and parent lookup possible.
Type Parameters
T
the Kotlin type carried by this field
Inheritors
Functions
Link copied to clipboard
Returns the KClass for this field's type, or null if the type is not a concrete class (e.g., if it's a type parameter or complex type intersection).
Link copied to clipboard
Returns true if any ancestor container is marked as nested in Elasticsearch.
Link copied to clipboard
Returns the paths of the ancestor containers that are marked as nested, closest first.