Package | Description |
---|---|
com.datastax.driver.core |
The main package for the DataStax Java driver for Cassandra.
|
Modifier and Type | Class and Description |
---|---|
class |
PlainTextAuthProvider
A simple
AuthProvider implementation. |
Modifier and Type | Field and Description |
---|---|
static AuthProvider |
AuthProvider.NONE
A provider that provides no authentication capability.
|
Modifier and Type | Method and Description |
---|---|
AuthProvider |
ProtocolOptions.getAuthProvider()
The
AuthProvider used by this cluster. |
Modifier and Type | Method and Description |
---|---|
Cluster.Builder |
Cluster.Builder.withAuthProvider(AuthProvider authProvider)
Use the specified AuthProvider when connecting to Cassandra
hosts.
|
Constructor and Description |
---|
ProtocolOptions(int port,
ProtocolVersion protocolVersion,
int maxSchemaAgreementWaitSeconds,
SSLOptions sslOptions,
AuthProvider authProvider)
Creates a new
ProtocolOptions instance using the provided port
and SSL context. |