| Package | Description |
|---|---|
| com.datastax.driver.core |
The main package for the DataStax Java driver for Cassandra.
|
| com.datastax.driver.core.exceptions |
Exceptions thrown by the ScyllaDB Java driver.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SniEndPoint
An endpoint to access nodes through a proxy that uses SNI routing.
|
| Modifier and Type | Method and Description |
|---|---|
EndPoint |
SniEndPointFactory.create(Row peersRow) |
EndPoint |
DefaultEndPointFactory.create(Row peersRow) |
EndPoint |
EndPointFactory.create(Row peersRow)
Creates an instance from a row in
system.peers, or returns null if there is no
sufficient information. |
EndPoint |
Host.getEndPoint()
Returns information to connect to the node.
|
| Modifier and Type | Method and Description |
|---|---|
List<EndPoint> |
Cluster.Initializer.getContactPoints()
Returns the initial Cassandra hosts to connect to.
|
List<EndPoint> |
Cluster.Builder.getContactPoints() |
| Modifier and Type | Method and Description |
|---|---|
Cluster.Builder |
Cluster.Builder.addContactPoint(EndPoint contactPoint)
Adds a contact point using the given connection information.
|
Authenticator |
ExtendedAuthProvider.newAuthenticator(EndPoint endPoint,
String authenticator)
The
Authenticator to use when connecting to endpoint. |
Authenticator |
ExtendedAuthProvider.NoAuthProvider.newAuthenticator(EndPoint endPoint,
String authenticator) |
Authenticator |
PlainTextAuthProvider.newAuthenticator(EndPoint host,
String authenticator)
Uses the supplied credentials and the SASL PLAIN mechanism to login to the server.
|
protected SSLEngine |
SniSSLOptions.newSSLEngine(SocketChannel channel,
EndPoint remoteEndpoint) |
SslHandler |
SniSSLOptions.newSSLHandler(SocketChannel channel,
EndPoint remoteEndpoint) |
SslHandler |
RemoteEndpointAwareJdkSSLOptions.newSSLHandler(SocketChannel channel,
EndPoint remoteEndpoint) |
SslHandler |
ExtendedRemoteEndpointAwareSslOptions.newSSLHandler(SocketChannel channel,
EndPoint remoteEndpoint)
Creates a new SSL handler for the given Netty channel and the given remote endpoint.
|
SslHandler |
RemoteEndpointAwareNettySSLOptions.newSSLHandler(SocketChannel channel,
EndPoint remoteEndpoint) |
| Constructor and Description |
|---|
Cluster(String name,
List<EndPoint> contactPoints,
Configuration configuration)
Constructs a new Cluster instance.
|
| Modifier and Type | Method and Description |
|---|---|
EndPoint |
CoordinatorException.getEndPoint()
The connection information of the coordinator host that was contacted.
|
EndPoint |
UnsupportedProtocolVersionException.getEndPoint() |
EndPoint |
SyntaxError.getEndPoint() |
EndPoint |
BusyConnectionException.getEndPoint() |
EndPoint |
AlreadyExistsException.getEndPoint() |
EndPoint |
CDCWriteException.getEndPoint() |
EndPoint |
InvalidQueryException.getEndPoint() |
EndPoint |
FunctionExecutionException.getEndPoint() |
EndPoint |
OverloadedException.getEndPoint() |
EndPoint |
ProtocolError.getEndPoint() |
EndPoint |
UnavailableException.getEndPoint() |
EndPoint |
UnpreparedException.getEndPoint() |
EndPoint |
ConnectionException.getEndPoint() |
EndPoint |
ServerError.getEndPoint() |
EndPoint |
BusyPoolException.getEndPoint() |
EndPoint |
BootstrappingException.getEndPoint() |
EndPoint |
AuthenticationException.getEndPoint() |
EndPoint |
UnauthorizedException.getEndPoint() |
EndPoint |
TruncateException.getEndPoint() |
EndPoint |
QueryConsistencyException.getEndPoint()
The connection information of the coordinator host that was contacted.
|
| Modifier and Type | Method and Description |
|---|---|
Map<EndPoint,Throwable> |
NoHostAvailableException.getErrors()
Return the hosts tried along with the error encountered while trying them.
|
| Modifier and Type | Method and Description |
|---|---|
ReadFailureException |
ReadFailureException.copy(EndPoint endPoint) |
AlreadyExistsException |
AlreadyExistsException.copy(EndPoint endPoint)
Create a copy of this exception with a nicer stack trace, and including the coordinator address
that caused this exception to be raised.
|
CASWriteUnknownException |
CASWriteUnknownException.copy(EndPoint endPoint)
Create a copy of this exception with a nicer stack trace, and including the coordinator address
that caused this exception to be raised.
|
UnavailableException |
UnavailableException.copy(EndPoint endPoint)
Create a copy of this exception with a nicer stack trace, and including the coordinator address
that caused this exception to be raised.
|
ReadTimeoutException |
ReadTimeoutException.copy(EndPoint endPoint)
Create a copy of this exception with a nicer stack trace, and including the coordinator address
that caused this exception to be raised.
|
WriteFailureException |
WriteFailureException.copy(EndPoint endPoint) |
WriteTimeoutException |
WriteTimeoutException.copy(EndPoint address)
Create a copy of this exception with a nicer stack trace, and including the coordinator address
that caused this exception to be raised.
|
| Constructor and Description |
|---|
AlreadyExistsException(EndPoint endPoint,
String keyspace,
String table) |
AuthenticationException(EndPoint endPoint,
String message) |
BootstrappingException(EndPoint endPoint,
String message) |
BusyConnectionException(EndPoint endPoint) |
BusyConnectionException(EndPoint endPoint,
Throwable cause) |
BusyPoolException(EndPoint endPoint,
int queueSize) |
BusyPoolException(EndPoint endPoint,
long timeout,
TimeUnit unit) |
CASWriteUnknownException(EndPoint endPoint,
ConsistencyLevel consistency,
int received,
int required) |
CDCWriteException(EndPoint endPoint,
String message) |
ConnectionException(EndPoint endPoint,
String msg) |
ConnectionException(EndPoint endPoint,
String msg,
Throwable cause) |
FunctionExecutionException(EndPoint endPoint,
String msg) |
InvalidConfigurationInQueryException(EndPoint endPoint,
String msg) |
InvalidQueryException(EndPoint endPoint,
String msg) |
InvalidQueryException(EndPoint endPoint,
String msg,
Throwable cause) |
OperationTimedOutException(EndPoint endPoint) |
OperationTimedOutException(EndPoint endPoint,
long configuredTimeoutMs,
int connectionInFlight,
int poolPendingBorrows,
int poolTotalInFlight)
Creates an exception with full diagnostic context captured at timeout time.
|
OperationTimedOutException(EndPoint endPoint,
String msg) |
OperationTimedOutException(EndPoint endPoint,
String msg,
Throwable cause) |
OverloadedException(EndPoint endPoint,
String message) |
ProtocolError(EndPoint endPoint,
String message) |
QueryConsistencyException(EndPoint endPoint,
String msg,
ConsistencyLevel consistency,
int received,
int required) |
QueryConsistencyException(EndPoint endPoint,
String msg,
Throwable cause,
ConsistencyLevel consistency,
int received,
int required) |
ReadFailureException(EndPoint endPoint,
ConsistencyLevel consistency,
int received,
int required,
int failed,
boolean dataPresent)
Deprecated.
Legacy constructor for backward compatibility.
|
ReadFailureException(EndPoint endPoint,
ConsistencyLevel consistency,
int received,
int required,
int failed,
Map<InetAddress,Integer> failuresMap,
boolean dataPresent) |
ReadTimeoutException(EndPoint endPoint,
ConsistencyLevel consistency,
int received,
int required,
boolean dataPresent) |
ServerError(EndPoint endPoint,
String message) |
SyntaxError(EndPoint endPoint,
String msg) |
TransportException(EndPoint endPoint,
String msg) |
TransportException(EndPoint endPoint,
String msg,
Throwable cause) |
TruncateException(EndPoint endPoint,
String msg) |
UnauthorizedException(EndPoint endPoint,
String msg) |
UnavailableException(EndPoint endPoint,
ConsistencyLevel consistency,
int required,
int alive) |
UnpreparedException(EndPoint endPoint,
String message) |
UnsupportedProtocolVersionException(EndPoint endPoint,
ProtocolVersion unsupportedVersion,
ProtocolVersion serverVersion) |
UnsupportedProtocolVersionException(EndPoint endPoint,
ProtocolVersion unsupportedVersion,
ProtocolVersion serverVersion,
Throwable cause) |
WriteFailureException(EndPoint endPoint,
ConsistencyLevel consistency,
WriteType writeType,
int received,
int required,
int failed)
Deprecated.
Legacy constructor for backward compatibility.
|
WriteFailureException(EndPoint endPoint,
ConsistencyLevel consistency,
WriteType writeType,
int received,
int required,
int failed,
Map<InetAddress,Integer> failuresMap) |
WriteTimeoutException(EndPoint endPoint,
ConsistencyLevel consistency,
WriteType writeType,
int received,
int required) |
| Constructor and Description |
|---|
NoHostAvailableException(Map<EndPoint,Throwable> errors) |
Copyright © 2012–2026. All rights reserved.