Class PivotGroupBy
java.lang.Object
co.elastic.clients.elasticsearch.transform.PivotGroupBy
- All Implemented Interfaces:
- JsonpSerializable,- TaggedUnion<PivotGroupBy.Kind,- Object> 
@JsonpDeserializable
public class PivotGroupBy
extends Object
implements TaggedUnion<PivotGroupBy.Kind,Object>, JsonpSerializable 
- See Also:
- 
Nested Class SummaryNested Classes
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfinal Object_get()final PivotGroupBy.Kind_kind()Get the of the kind of variant held by this object.Get thedate_histogramvariant value.Get thegeotile_gridvariant value.Get thehistogramvariant value.booleanIs this variant instance of kinddate_histogram?booleanIs this variant instance of kindgeotile_grid?booleanIs this variant instance of kindhistogram?booleanisTerms()Is this variant instance of kindterms?static PivotGroupByvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidterms()Get thetermsvariant value.toString()
- 
Field Details- 
_DESERIALIZER
 
- 
- 
Constructor Details- 
PivotGroupBy
 
- 
- 
Method Details- 
_kindDescription copied from interface:TaggedUnionGet the of the kind of variant held by this object.- Specified by:
- _kindin interface- TaggedUnion<PivotGroupBy.Kind,- Object> 
- Returns:
- the variant kind
 
- 
_get- Specified by:
- _getin interface- TaggedUnion<PivotGroupBy.Kind,- Object> 
 
- 
of
- 
isDateHistogrampublic boolean isDateHistogram()Is this variant instance of kinddate_histogram?
- 
dateHistogramGet thedate_histogramvariant value.- Throws:
- IllegalStateException- if the current variant is not of the- date_histogramkind.
 
- 
isGeotileGridpublic boolean isGeotileGrid()Is this variant instance of kindgeotile_grid?
- 
geotileGridGet thegeotile_gridvariant value.- Throws:
- IllegalStateException- if the current variant is not of the- geotile_gridkind.
 
- 
isHistogrampublic boolean isHistogram()Is this variant instance of kindhistogram?
- 
histogramGet thehistogramvariant value.- Throws:
- IllegalStateException- if the current variant is not of the- histogramkind.
 
- 
isTermspublic boolean isTerms()Is this variant instance of kindterms?
- 
termsGet thetermsvariant value.- Throws:
- IllegalStateException- if the current variant is not of the- termskind.
 
- 
serialize- Specified by:
- serializein interface- JsonpSerializable
 
- 
toString
- 
setupPivotGroupByDeserializer
 
-