Class WindowSummary

    • Method Detail

      • testWindowStart

        public final Instant testWindowStart()

        The timestamp that defines the start of the window.

        Returns:
        The timestamp that defines the start of the window.
      • testWindowEnd

        public final Instant testWindowEnd()

        The timestamp that defines the end of the window.

        Returns:
        The timestamp that defines the end of the window.
      • itemCount

        public final Integer itemCount()

        The number of data points within the window.

        Returns:
        The number of data points within the window.
      • evaluationType

        public final EvaluationType evaluationType()

        The type of evaluation.

        • SUMMARY - The average metrics across all windows.

        • COMPUTED - The metrics for the specified window.

        If the service returns an enum value that is not available in the current SDK version, evaluationType will return EvaluationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from evaluationTypeAsString().

        Returns:
        The type of evaluation.

        • SUMMARY - The average metrics across all windows.

        • COMPUTED - The metrics for the specified window.

        See Also:
        EvaluationType
      • evaluationTypeAsString

        public final String evaluationTypeAsString()

        The type of evaluation.

        • SUMMARY - The average metrics across all windows.

        • COMPUTED - The metrics for the specified window.

        If the service returns an enum value that is not available in the current SDK version, evaluationType will return EvaluationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from evaluationTypeAsString().

        Returns:
        The type of evaluation.

        • SUMMARY - The average metrics across all windows.

        • COMPUTED - The metrics for the specified window.

        See Also:
        EvaluationType
      • metrics

        public final Metrics metrics()

        Provides metrics used to evaluate the performance of a predictor.

        Returns:
        Provides metrics used to evaluate the performance of a predictor.
      • 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)