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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandProcessorResponse
public CommandProcessorResponse(int responseCode)
CommandProcessorResponse
public CommandProcessorResponse(int responseCode,
String errorMessage,
String SQLState)
getResponseCode
public int getResponseCode()
getErrorMessage
public String getErrorMessage()
getSQLState
public String getSQLState()
Copyright © 2011 The Apache Software Foundation