@InterfaceAudience.LimitedPrivate(value="Coprocesssor") public class OperationStatus extends Object
Modifier and Type | Field and Description |
---|---|
static OperationStatus |
FAILURE
Singleton for failed operations.
|
static OperationStatus |
NOT_RUN
Singleton for operations not yet run.
|
static OperationStatus |
SUCCESS
Singleton for successful operations.
|
Constructor and Description |
---|
OperationStatus(HConstants.OperationStatusCode code) |
OperationStatus(HConstants.OperationStatusCode code,
Exception e) |
OperationStatus(HConstants.OperationStatusCode code,
String exceptionMsg) |
Modifier and Type | Method and Description |
---|---|
String |
getExceptionMsg() |
HConstants.OperationStatusCode |
getOperationStatusCode() |
public static final OperationStatus SUCCESS
public static final OperationStatus FAILURE
public static final OperationStatus NOT_RUN
public OperationStatus(HConstants.OperationStatusCode code)
public OperationStatus(HConstants.OperationStatusCode code, String exceptionMsg)
public OperationStatus(HConstants.OperationStatusCode code, Exception e)
public HConstants.OperationStatusCode getOperationStatusCode()
public String getExceptionMsg()
Copyright © 2007–2019 Cloudera. All rights reserved.