public interface MetaDataFormatter
| Modifier and Type | Method and Description |
|---|---|
void |
error(OutputStream out,
String msg,
int errorCode,
String sqlState)
Write an error message.
|
void |
error(OutputStream out,
String errorMessage,
int errorCode,
String sqlState,
String errorDetail) |
void |
showErrors(DataOutputStream out,
org.apache.hadoop.hive.metastore.api.WMValidateResourcePlanResponse errors) |
void error(OutputStream out, String msg, int errorCode, String sqlState) throws HiveException
sqlState - if null, will be ignoredHiveExceptionvoid error(OutputStream out, String errorMessage, int errorCode, String sqlState, String errorDetail) throws HiveException
sqlState - if null, will be skipped in outputerrorDetail - usually string version of some Exception, if null, will be ignoredHiveExceptionvoid showErrors(DataOutputStream out, org.apache.hadoop.hive.metastore.api.WMValidateResourcePlanResponse errors) throws HiveException
HiveExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.