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)
CommandProcessorResponse
public CommandProcessorResponse(int responseCode,
String errorMessage,
String SQLState,
Schema schema)
getResponseCode
public int getResponseCode()
getErrorMessage
public String getErrorMessage()
getSQLState
public String getSQLState()
getSchema
public Schema getSchema()
Copyright © 2014 The Apache Software Foundation. All rights reserved.