Interface TaggedUnion<BaseType>

All Known Implementing Classes:
Aggregation, Analyzer, CharFilter, ClusterRemoteInfo, CompositeAggregationSource, Condition, DataframeAnalysis, DataframeAnalysisFeatureProcessor, DataframeAnalyticsStats, DataframeEvaluation, FieldRule, FunctionScore, Input, Intervals, IntervalsFilter, IntervalsQuery, LifecycleExplain, Normalizer, Operation, PinnedQuery, PivotGroupBy, Preprocessor, Processor, Property, Query, ResponseItem, RetentionPolicy, RoleMappingRule, Schedule, SmoothingModel, SpanQuery, Suggest, Sync, TokenFilter, Tokenizer, Transform, Trigger, TriggerEvent

public interface TaggedUnion<BaseType>
  • Method Summary

    Modifier and Type Method Description
    BaseType _get()  
    default boolean _is​(java.lang.String type)
    Checks if this object is of a given variant type.
    java.lang.String _type()
    Get the of the type of the variant held by this union object.
  • Method Details

    • _type

      java.lang.String _type()
      Get the of the type of the variant held by this union object.
      Returns:
      the variant type
    • _get

      BaseType _get()
    • _is

      default boolean _is​(java.lang.String type)
      Checks if this object is of a given variant type.