@Generated(value="software.amazon.awssdk:codegen") public final class AthenaError extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AthenaError.Builder,AthenaError>
Provides information about an Athena query error. The AthenaError feature provides standardized error
information to help you understand failed queries and take steps after a query failure occurs.
AthenaError includes an ErrorCategory field that specifies whether the cause of the failed
query is due to system error, user error, or other error.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AthenaError.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AthenaError.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Integer |
errorCategory()
An integer value that specifies the category of a query failure error.
|
String |
errorMessage()
Contains a short description of the error that occurred.
|
Integer |
errorType()
An integer value that provides specific information about an Athena query error.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
retryable()
True if the query might succeed if resubmitted.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AthenaError.Builder> |
serializableBuilderClass() |
AthenaError.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer errorCategory()
An integer value that specifies the category of a query failure error. The following list shows the category for each integer value.
1 - System
2 - User
3 - Other
1 - System
2 - User
3 - Other
public final Integer errorType()
An integer value that provides specific information about an Athena query error. For the meaning of specific values, see the Error Type Reference in the Amazon Athena User Guide.
public final Boolean retryable()
True if the query might succeed if resubmitted.
public final String errorMessage()
Contains a short description of the error that occurred.
public AthenaError.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AthenaError.Builder,AthenaError>public static AthenaError.Builder builder()
public static Class<? extends AthenaError.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.