public static enum TGetOperationStatusResp._Fields extends Enum<TGetOperationStatusResp._Fields> implements org.apache.thrift.TFieldIdEnum
Enum Constant and Description |
---|
ERROR_CODE |
ERROR_MESSAGE |
HAS_RESULT_SET |
NUM_MODIFIED_ROWS |
OPERATION_COMPLETED |
OPERATION_STARTED |
OPERATION_STATE |
PROGRESS_UPDATE_RESPONSE |
SQL_STATE |
STATUS |
TASK_STATUS |
Modifier and Type | Method and Description |
---|---|
static TGetOperationStatusResp._Fields |
findByName(String name)
Find the _Fields constant that matches name, or null if its not found.
|
static TGetOperationStatusResp._Fields |
findByThriftId(int fieldId)
Find the _Fields constant that matches fieldId, or null if its not found.
|
static TGetOperationStatusResp._Fields |
findByThriftIdOrThrow(int fieldId)
Find the _Fields constant that matches fieldId, throwing an exception
if it is not found.
|
String |
getFieldName() |
short |
getThriftFieldId() |
static TGetOperationStatusResp._Fields |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TGetOperationStatusResp._Fields[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TGetOperationStatusResp._Fields STATUS
public static final TGetOperationStatusResp._Fields OPERATION_STATE
TOperationState
public static final TGetOperationStatusResp._Fields SQL_STATE
public static final TGetOperationStatusResp._Fields ERROR_CODE
public static final TGetOperationStatusResp._Fields ERROR_MESSAGE
public static final TGetOperationStatusResp._Fields TASK_STATUS
public static final TGetOperationStatusResp._Fields OPERATION_STARTED
public static final TGetOperationStatusResp._Fields OPERATION_COMPLETED
public static final TGetOperationStatusResp._Fields HAS_RESULT_SET
public static final TGetOperationStatusResp._Fields PROGRESS_UPDATE_RESPONSE
public static final TGetOperationStatusResp._Fields NUM_MODIFIED_ROWS
public static TGetOperationStatusResp._Fields[] values()
for (TGetOperationStatusResp._Fields c : TGetOperationStatusResp._Fields.values()) System.out.println(c);
public static TGetOperationStatusResp._Fields valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static TGetOperationStatusResp._Fields findByThriftId(int fieldId)
public static TGetOperationStatusResp._Fields findByThriftIdOrThrow(int fieldId)
public static TGetOperationStatusResp._Fields findByName(String name)
public short getThriftFieldId()
getThriftFieldId
in interface org.apache.thrift.TFieldIdEnum
public String getFieldName()
getFieldName
in interface org.apache.thrift.TFieldIdEnum
Copyright © 2022 The Apache Software Foundation. All rights reserved.