Class AssertionRunEvent
- java.lang.Object
-
- io.datahubproject.openapi.generated.AssertionRunEvent
-
- All Implemented Interfaces:
OneOfEnvelopedAspectValue
,OneOfGenericAspectValue
@Validated @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2023-05-10T05:58:32.374063Z[Etc/UTC]") public class AssertionRunEvent extends java.lang.Object implements OneOfEnvelopedAspectValue, OneOfGenericAspectValue
An event representing the current status of evaluating an assertion on a batch. AssertionRunEvent should be used for reporting the status of a run as an assertion evaluation progresses.
-
-
Constructor Summary
Constructors Constructor Description AssertionRunEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssertionRunEvent
asserteeUrn(java.lang.String asserteeUrn)
AssertionRunEvent
assertionUrn(java.lang.String assertionUrn)
AssertionRunEvent
batchSpec(BatchSpec batchSpec)
boolean
equals(java.lang.Object o)
AssertionRunEvent
eventGranularity(TimeWindowSize eventGranularity)
@NotNull java.lang.String
get__type()
Name of this subclass in SimpleClassName format@NotNull java.lang.String
getAsserteeUrn()
Get asserteeUrn@NotNull java.lang.String
getAssertionUrn()
Get assertionUrn@Valid BatchSpec
getBatchSpec()
Get batchSpec@Valid TimeWindowSize
getEventGranularity()
Get eventGranularityjava.lang.String
getMessageId()
The optional messageId, if provided serves as a custom user-defined unique identifier for an aspect value.@NotNull @Valid PartitionSpec
getPartitionSpec()
Get partitionSpec@Valid AssertionResult
getResult()
Get result@NotNull java.lang.String
getRunId()
Native (platform-specific) identifier for this runjava.util.Map<java.lang.String,java.lang.String>
getRuntimeContext()
Runtime parameters of evaluation@NotNull @Valid AssertionRunStatus
getStatus()
Get status@NotNull @Min(-9223372036854775808L) @Max(9223372036854775807L) java.lang.Long
getTimestampMillis()
The event timestamp field as epoch at UTC in milli seconds.int
hashCode()
AssertionRunEvent
messageId(java.lang.String messageId)
AssertionRunEvent
partitionSpec(PartitionSpec partitionSpec)
AssertionRunEvent
putRuntimeContextItem(java.lang.String key, java.lang.String runtimeContextItem)
AssertionRunEvent
result(AssertionResult result)
AssertionRunEvent
runId(java.lang.String runId)
AssertionRunEvent
runtimeContext(java.util.Map<java.lang.String,java.lang.String> runtimeContext)
void
setAsserteeUrn(java.lang.String asserteeUrn)
void
setAssertionUrn(java.lang.String assertionUrn)
void
setBatchSpec(BatchSpec batchSpec)
void
setEventGranularity(TimeWindowSize eventGranularity)
void
setMessageId(java.lang.String messageId)
void
setPartitionSpec(PartitionSpec partitionSpec)
void
setResult(AssertionResult result)
void
setRunId(java.lang.String runId)
void
setRuntimeContext(java.util.Map<java.lang.String,java.lang.String> runtimeContext)
void
setStatus(AssertionRunStatus status)
void
setTimestampMillis(java.lang.Long timestampMillis)
AssertionRunEvent
status(AssertionRunStatus status)
AssertionRunEvent
timestampMillis(java.lang.Long timestampMillis)
java.lang.String
toString()
-
-
-
Method Detail
-
get__type
@NotNull public @NotNull java.lang.String get__type()
Name of this subclass in SimpleClassName format- Returns:
- __type
-
timestampMillis
public AssertionRunEvent 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 AssertionRunEvent eventGranularity(TimeWindowSize eventGranularity)
-
getEventGranularity
@Valid public @Valid TimeWindowSize getEventGranularity()
Get eventGranularity- Returns:
- eventGranularity
-
setEventGranularity
public void setEventGranularity(TimeWindowSize eventGranularity)
-
partitionSpec
public AssertionRunEvent partitionSpec(PartitionSpec partitionSpec)
-
getPartitionSpec
@NotNull @Valid public @NotNull @Valid PartitionSpec getPartitionSpec()
Get partitionSpec- Returns:
- partitionSpec
-
setPartitionSpec
public void setPartitionSpec(PartitionSpec partitionSpec)
-
messageId
public AssertionRunEvent 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)
-
runId
public AssertionRunEvent runId(java.lang.String runId)
-
getRunId
@NotNull public @NotNull java.lang.String getRunId()
Native (platform-specific) identifier for this run- Returns:
- runId
-
setRunId
public void setRunId(java.lang.String runId)
-
assertionUrn
public AssertionRunEvent assertionUrn(java.lang.String assertionUrn)
-
getAssertionUrn
@NotNull public @NotNull java.lang.String getAssertionUrn()
Get assertionUrn- Returns:
- assertionUrn
-
setAssertionUrn
public void setAssertionUrn(java.lang.String assertionUrn)
-
asserteeUrn
public AssertionRunEvent asserteeUrn(java.lang.String asserteeUrn)
-
getAsserteeUrn
@NotNull public @NotNull java.lang.String getAsserteeUrn()
Get asserteeUrn- Returns:
- asserteeUrn
-
setAsserteeUrn
public void setAsserteeUrn(java.lang.String asserteeUrn)
-
batchSpec
public AssertionRunEvent batchSpec(BatchSpec batchSpec)
-
getBatchSpec
@Valid public @Valid BatchSpec getBatchSpec()
Get batchSpec- Returns:
- batchSpec
-
setBatchSpec
public void setBatchSpec(BatchSpec batchSpec)
-
status
public AssertionRunEvent status(AssertionRunStatus status)
-
getStatus
@NotNull @Valid public @NotNull @Valid AssertionRunStatus getStatus()
Get status- Returns:
- status
-
setStatus
public void setStatus(AssertionRunStatus status)
-
result
public AssertionRunEvent result(AssertionResult result)
-
getResult
@Valid public @Valid AssertionResult getResult()
Get result- Returns:
- result
-
setResult
public void setResult(AssertionResult result)
-
runtimeContext
public AssertionRunEvent runtimeContext(java.util.Map<java.lang.String,java.lang.String> runtimeContext)
-
putRuntimeContextItem
public AssertionRunEvent putRuntimeContextItem(java.lang.String key, java.lang.String runtimeContextItem)
-
getRuntimeContext
public java.util.Map<java.lang.String,java.lang.String> getRuntimeContext()
Runtime parameters of evaluation- Returns:
- runtimeContext
-
setRuntimeContext
public void setRuntimeContext(java.util.Map<java.lang.String,java.lang.String> runtimeContext)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-