org.apache.hadoop.hive.ql.processors
Class CommandProcessorResponse
java.lang.Object
org.apache.hadoop.hive.ql.processors.CommandProcessorResponse
public class CommandProcessorResponse
- extends Object
Encapsulates the basic response info returned by classes the implement the
CommandProcessor
interfaace. Typically errorMessage
and SQLState
will only be set if the responseCode
is not 0.
CommandProcessorResponse
public CommandProcessorResponse(int responseCode)
CommandProcessorResponse
public CommandProcessorResponse(int responseCode,
String errorMessage,
String SQLState)
CommandProcessorResponse
public CommandProcessorResponse(int responseCode,
String errorMessage,
String SQLState,
org.apache.hadoop.hive.metastore.api.Schema schema)
getResponseCode
public int getResponseCode()
getErrorMessage
public String getErrorMessage()
getSQLState
public String getSQLState()
getSchema
public org.apache.hadoop.hive.metastore.api.Schema getSchema()
Copyright © 2014 The Apache Software Foundation. All rights reserved.