Class Operation

    • Constructor Detail

      • Operation

        public Operation()
    • Method Detail

      • get__type

        @NotNull
        public @NotNull java.lang.String get__type()
        Name of this subclass in SimpleClassName format
        Returns:
        __type
      • timestampMillis

        public Operation 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)
      • getEventGranularity

        @Valid
        public @Valid TimeWindowSize getEventGranularity()
        Get eventGranularity
        Returns:
        eventGranularity
      • setEventGranularity

        public void setEventGranularity​(TimeWindowSize eventGranularity)
      • getPartitionSpec

        @NotNull
        @Valid
        public @NotNull @Valid PartitionSpec getPartitionSpec()
        Get partitionSpec
        Returns:
        partitionSpec
      • setPartitionSpec

        public void setPartitionSpec​(PartitionSpec partitionSpec)
      • messageId

        public Operation 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)
      • actor

        public Operation actor​(java.lang.String actor)
      • getActor

        public java.lang.String getActor()
        Actor who issued this operation.
        Returns:
        actor
      • setActor

        public void setActor​(java.lang.String actor)
      • getOperationType

        @NotNull
        @Valid
        public @NotNull @Valid OperationType getOperationType()
        Get operationType
        Returns:
        operationType
      • setOperationType

        public void setOperationType​(OperationType operationType)
      • customOperationType

        public Operation customOperationType​(java.lang.String customOperationType)
      • getCustomOperationType

        public java.lang.String getCustomOperationType()
        A custom type of operation. Required if operationType is CUSTOM.
        Returns:
        customOperationType
      • setCustomOperationType

        public void setCustomOperationType​(java.lang.String customOperationType)
      • numAffectedRows

        public Operation numAffectedRows​(java.lang.Long numAffectedRows)
      • getNumAffectedRows

        @Min(-9223372036854775808L)
        @Max(9223372036854775807L)
        public @Min(-9223372036854775808L) @Max(9223372036854775807L) java.lang.Long getNumAffectedRows()
        How many rows were affected by this operation. minimum: -9223372036854775808 maximum: 9223372036854775807
        Returns:
        numAffectedRows
      • setNumAffectedRows

        public void setNumAffectedRows​(java.lang.Long numAffectedRows)
      • affectedDatasets

        public Operation affectedDatasets​(java.util.List<java.lang.String> affectedDatasets)
      • addAffectedDatasetsItem

        public Operation addAffectedDatasetsItem​(java.lang.String affectedDatasetsItem)
      • getAffectedDatasets

        public java.util.List<java.lang.String> getAffectedDatasets()
        Which other datasets were affected by this operation.
        Returns:
        affectedDatasets
      • setAffectedDatasets

        public void setAffectedDatasets​(java.util.List<java.lang.String> affectedDatasets)
      • getSourceType

        @Valid
        public @Valid OperationSourceType getSourceType()
        Get sourceType
        Returns:
        sourceType
      • customProperties

        public Operation customProperties​(java.util.Map<java.lang.String,​java.lang.String> customProperties)
      • putCustomPropertiesItem

        public Operation putCustomPropertiesItem​(java.lang.String key,
                                                 java.lang.String customPropertiesItem)
      • getCustomProperties

        public java.util.Map<java.lang.String,​java.lang.String> getCustomProperties()
        Custom properties
        Returns:
        customProperties
      • setCustomProperties

        public void setCustomProperties​(java.util.Map<java.lang.String,​java.lang.String> customProperties)
      • lastUpdatedTimestamp

        public Operation lastUpdatedTimestamp​(java.lang.Long lastUpdatedTimestamp)
      • getLastUpdatedTimestamp

        @NotNull
        @Min(-9223372036854775808L)
        @Max(9223372036854775807L)
        public @NotNull @Min(-9223372036854775808L) @Max(9223372036854775807L) java.lang.Long getLastUpdatedTimestamp()
        The time at which the operation occurred. minimum: -9223372036854775808 maximum: 9223372036854775807
        Returns:
        lastUpdatedTimestamp
      • setLastUpdatedTimestamp

        public void setLastUpdatedTimestamp​(java.lang.Long lastUpdatedTimestamp)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object