Class ScheduledQueryRunSummary

    • Method Detail

      • invocationTime

        public final Instant invocationTime()

        InvocationTime for this run. This is the time at which the query is scheduled to run. Parameter @scheduled_runtime can be used in the query to get the value.

        Returns:
        InvocationTime for this run. This is the time at which the query is scheduled to run. Parameter @scheduled_runtime can be used in the query to get the value.
      • triggerTime

        public final Instant triggerTime()

        The actual time when the query was run.

        Returns:
        The actual time when the query was run.
      • executionStats

        public final ExecutionStats executionStats()

        Runtime statistics for a scheduled run.

        Returns:
        Runtime statistics for a scheduled run.
      • errorReportLocation

        public final ErrorReportLocation errorReportLocation()

        S3 location for error report.

        Returns:
        S3 location for error report.
      • failureReason

        public final String failureReason()

        Error message for the scheduled query in case of failure. You might have to look at the error report to get more detailed error reasons.

        Returns:
        Error message for the scheduled query in case of failure. You might have to look at the error report to get more detailed error reasons.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)