| Package | Description |
|---|---|
| org.apache.calcite.avatica |
Avatica JDBC framework.
|
| org.apache.calcite.avatica.remote |
JDBC driver that uses remote procedure calls.
|
| Modifier and Type | Field and Description |
|---|---|
private AvaticaSeverity |
AvaticaClientRuntimeException.severity |
| Modifier and Type | Method and Description |
|---|---|
static AvaticaSeverity |
AvaticaSeverity.fromProto(Common.Severity proto) |
AvaticaSeverity |
AvaticaClientRuntimeException.getSeverity() |
static AvaticaSeverity |
AvaticaSeverity.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AvaticaSeverity[] |
AvaticaSeverity.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
AvaticaClientRuntimeException(String errorMessage,
int errorCode,
String sqlState,
AvaticaSeverity severity,
List<String> serverExceptions,
Service.RpcMetadataResponse metadata) |
| Modifier and Type | Field and Description |
|---|---|
AvaticaSeverity |
Service.ErrorResponse.severity |
private AvaticaSeverity |
AvaticaRuntimeException.severity |
| Modifier and Type | Method and Description |
|---|---|
AvaticaSeverity |
AvaticaRuntimeException.getSeverity()
Returns the severity at which this exception is thrown.
|
| Constructor and Description |
|---|
AvaticaRuntimeException(String errorMessage,
int errorCode,
String sqlState,
AvaticaSeverity severity)
Constructs an
AvaticaRuntimeException with the given
contextual information surrounding the error. |
Service.ErrorResponse(Exception e,
String errorMessage,
int code,
String sqlState,
AvaticaSeverity severity,
Service.RpcMetadataResponse rpcMetadata) |
Service.ErrorResponse(List<String> exceptions,
String errorMessage,
int errorCode,
String sqlState,
AvaticaSeverity severity,
Service.RpcMetadataResponse rpcMetadata) |
Service.ErrorResponse(String errorMessage,
int code,
String sqlState,
AvaticaSeverity severity,
List<String> exceptions,
Service.RpcMetadataResponse rpcMetadata) |
Copyright © 2012–2016 The Apache Software Foundation. All rights reserved.