Class GroupingBucket
- java.lang.Object
-
- io.datahubproject.openapi.generated.GroupingBucket
-
@Validated @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2023-12-06T11:25:47.362934Z[Etc/UTC]") public class GroupingBucket extends java.lang.ObjectDefines the group by bucket components/schemas for time series requests.
-
-
Constructor Summary
Constructors Constructor Description GroupingBucket()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)@NotNull java.lang.StringgetKey()Key that specifies the column name to be used as the timestamp field for bucketing.@Valid TimeWindowSizegetTimeWindowSize()Get timeWindowSize@NotNull @Valid GroupingBucketTypegetType()Get typeinthashCode()GroupingBucketkey(java.lang.String key)voidsetKey(java.lang.String key)voidsetTimeWindowSize(TimeWindowSize timeWindowSize)voidsetType(GroupingBucketType type)GroupingBuckettimeWindowSize(TimeWindowSize timeWindowSize)java.lang.StringtoString()GroupingBuckettype(GroupingBucketType type)
-
-
-
Method Detail
-
type
public GroupingBucket type(GroupingBucketType type)
-
getType
@NotNull @Valid public @NotNull @Valid GroupingBucketType getType()
Get type- Returns:
- type
-
setType
public void setType(GroupingBucketType type)
-
key
public GroupingBucket key(java.lang.String key)
-
getKey
@NotNull public @NotNull java.lang.String getKey()
Key that specifies the column name to be used as the timestamp field for bucketing.- Returns:
- key
-
setKey
public void setKey(java.lang.String key)
-
timeWindowSize
public GroupingBucket timeWindowSize(TimeWindowSize timeWindowSize)
-
getTimeWindowSize
@Valid public @Valid TimeWindowSize getTimeWindowSize()
Get timeWindowSize- Returns:
- timeWindowSize
-
setTimeWindowSize
public void setTimeWindowSize(TimeWindowSize timeWindowSize)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-