Class ExecutorsSummary

    • Method Detail

      • executorId

        public final String executorId()

        The UUID of the executor.

        Returns:
        The UUID of the executor.
      • executorType

        public final ExecutorType executorType()

        The type of executor used for the application (COORDINATOR, GATEWAY, or WORKER).

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

        Returns:
        The type of executor used for the application (COORDINATOR, GATEWAY, or WORKER).
        See Also:
        ExecutorType
      • executorTypeAsString

        public final String executorTypeAsString()

        The type of executor used for the application (COORDINATOR, GATEWAY, or WORKER).

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

        Returns:
        The type of executor used for the application (COORDINATOR, GATEWAY, or WORKER).
        See Also:
        ExecutorType
      • startDateTime

        public final Long startDateTime()

        The date and time that the executor started.

        Returns:
        The date and time that the executor started.
      • terminationDateTime

        public final Long terminationDateTime()

        The date and time that the executor was terminated.

        Returns:
        The date and time that the executor was terminated.
      • executorState

        public final ExecutorState executorState()

        The processing state of the executor. A description of each state follows.

        CREATING - The executor is being started, including acquiring resources.

        CREATED - The executor has been started.

        REGISTERED - The executor has been registered.

        TERMINATING - The executor is in the process of shutting down.

        TERMINATED - The executor is no longer running.

        FAILED - Due to a failure, the executor is no longer running.

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

        Returns:
        The processing state of the executor. A description of each state follows.

        CREATING - The executor is being started, including acquiring resources.

        CREATED - The executor has been started.

        REGISTERED - The executor has been registered.

        TERMINATING - The executor is in the process of shutting down.

        TERMINATED - The executor is no longer running.

        FAILED - Due to a failure, the executor is no longer running.

        See Also:
        ExecutorState
      • executorStateAsString

        public final String executorStateAsString()

        The processing state of the executor. A description of each state follows.

        CREATING - The executor is being started, including acquiring resources.

        CREATED - The executor has been started.

        REGISTERED - The executor has been registered.

        TERMINATING - The executor is in the process of shutting down.

        TERMINATED - The executor is no longer running.

        FAILED - Due to a failure, the executor is no longer running.

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

        Returns:
        The processing state of the executor. A description of each state follows.

        CREATING - The executor is being started, including acquiring resources.

        CREATED - The executor has been started.

        REGISTERED - The executor has been registered.

        TERMINATING - The executor is in the process of shutting down.

        TERMINATED - The executor is no longer running.

        FAILED - Due to a failure, the executor is no longer running.

        See Also:
        ExecutorState
      • executorSize

        public final Long executorSize()

        The smallest unit of compute that a session can request from Athena. Size is measured in data processing unit (DPU) values, a relative measure of processing power.

        Returns:
        The smallest unit of compute that a session can request from Athena. Size is measured in data processing unit (DPU) values, a relative measure of processing power.
      • 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)