Interface OpenTaggedUnion<Tag extends Enum<?>,BaseType>

All Superinterfaces:
TaggedUnion<Tag,BaseType>
All Known Implementing Classes:
Aggregate, Aggregation, Analyzer, CharFilterDefinition, FieldSuggester, Processor, Property, Query, TokenFilterDefinition, TokenizerDefinition

public interface OpenTaggedUnion<Tag extends Enum<?>,BaseType> extends TaggedUnion<Tag,BaseType>
A union that is open, i.e. non-exhaustive, where new variants can be defined on the server using extension plugins.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the actual kind when _kind() equals _Custom (plugin-defined variant).

    Methods inherited from interface co.elastic.clients.util.TaggedUnion

    _get, _kind
  • Method Details

    • _customKind

      @Nullable String _customKind()
      Get the actual kind when _kind() equals _Custom (plugin-defined variant).