Class OdbcResponse
- java.lang.Object
-
- org.apache.ignite.internal.processors.odbc.ClientListenerResponse
-
- org.apache.ignite.internal.processors.odbc.odbc.OdbcResponse
-
public class OdbcResponse extends ClientListenerResponse
SQL listener response.
-
-
Field Summary
-
Fields inherited from class org.apache.ignite.internal.processors.odbc.ClientListenerResponse
STATUS_FAILED, STATUS_SUCCESS
-
-
Constructor Summary
Constructors Constructor Description OdbcResponse(int status, @Nullable String err)Constructs failed rest response.OdbcResponse(Object obj)Constructs successful rest response.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectresponse()StringtoString()
-
-
-
Constructor Detail
-
OdbcResponse
public OdbcResponse(Object obj)
Constructs successful rest response.- Parameters:
obj- Response object.
-
OdbcResponse
public OdbcResponse(int status, @Nullable @Nullable String err)Constructs failed rest response.- Parameters:
status- Response status.err- Error,nullif success istrue.
-
-