public class CommandProcessorResponse
extends java.lang.Object
CommandProcessor
interfaace. Typically errorMessage
and SQLState
will only be set if the responseCode
is not 0.Constructor and Description |
---|
CommandProcessorResponse(int responseCode) |
CommandProcessorResponse(int responseCode,
java.lang.String errorMessage,
java.lang.String SQLState) |
CommandProcessorResponse(int responseCode,
java.lang.String errorMessage,
java.lang.String SQLState,
Schema schema) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getErrorMessage() |
int |
getResponseCode() |
Schema |
getSchema() |
java.lang.String |
getSQLState() |
public CommandProcessorResponse(int responseCode)
public CommandProcessorResponse(int responseCode, java.lang.String errorMessage, java.lang.String SQLState)
public CommandProcessorResponse(int responseCode, java.lang.String errorMessage, java.lang.String SQLState, Schema schema)
public int getResponseCode()
public java.lang.String getErrorMessage()
public java.lang.String getSQLState()
public Schema getSchema()
Copyright © 2012 The Apache Software Foundation