Class TimeseriesAspectBase
- java.lang.Object
-
- io.datahubproject.openapi.generated.TimeseriesAspectBase
-
@Validated @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2023-12-06T11:25:47.362934Z[Etc/UTC]") public class TimeseriesAspectBase extends java.lang.ObjectTimeseriesAspectBase
-
-
Constructor Summary
Constructors Constructor Description TimeseriesAspectBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)TimeseriesAspectBaseeventGranularity(TimeWindowSize eventGranularity)@Valid TimeWindowSizegetEventGranularity()Get eventGranularityjava.lang.StringgetMessageId()The optional messageId, if provided serves as a custom user-defined unique identifier for an aspect value.@NotNull @Valid PartitionSpecgetPartitionSpec()Get partitionSpec@NotNull @Min(-9223372036854775808L) @Max(9223372036854775807L) java.lang.LonggetTimestampMillis()The event timestamp field as epoch at UTC in milli seconds.inthashCode()TimeseriesAspectBasemessageId(java.lang.String messageId)TimeseriesAspectBasepartitionSpec(PartitionSpec partitionSpec)voidsetEventGranularity(TimeWindowSize eventGranularity)voidsetMessageId(java.lang.String messageId)voidsetPartitionSpec(PartitionSpec partitionSpec)voidsetTimestampMillis(java.lang.Long timestampMillis)TimeseriesAspectBasetimestampMillis(java.lang.Long timestampMillis)java.lang.StringtoString()
-
-
-
Method Detail
-
timestampMillis
public TimeseriesAspectBase timestampMillis(java.lang.Long timestampMillis)
-
getTimestampMillis
@NotNull @Min(-9223372036854775808L) @Max(9223372036854775807L) public @NotNull @Min(-9223372036854775808L) @Max(9223372036854775807L) java.lang.Long getTimestampMillis()
The event timestamp field as epoch at UTC in milli seconds. minimum: -9223372036854775808 maximum: 9223372036854775807- Returns:
- timestampMillis
-
setTimestampMillis
public void setTimestampMillis(java.lang.Long timestampMillis)
-
eventGranularity
public TimeseriesAspectBase eventGranularity(TimeWindowSize eventGranularity)
-
getEventGranularity
@Valid public @Valid TimeWindowSize getEventGranularity()
Get eventGranularity- Returns:
- eventGranularity
-
setEventGranularity
public void setEventGranularity(TimeWindowSize eventGranularity)
-
partitionSpec
public TimeseriesAspectBase partitionSpec(PartitionSpec partitionSpec)
-
getPartitionSpec
@NotNull @Valid public @NotNull @Valid PartitionSpec getPartitionSpec()
Get partitionSpec- Returns:
- partitionSpec
-
setPartitionSpec
public void setPartitionSpec(PartitionSpec partitionSpec)
-
messageId
public TimeseriesAspectBase messageId(java.lang.String messageId)
-
getMessageId
public java.lang.String getMessageId()
The optional messageId, if provided serves as a custom user-defined unique identifier for an aspect value.- Returns:
- messageId
-
setMessageId
public void setMessageId(java.lang.String messageId)
-
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
-
-