Package | Description |
---|---|
com.datastax.driver.core |
The main package for the DataStax Java driver for Cassandra.
|
com.datastax.driver.dse |
Modifier and Type | Class and Description |
---|---|
class |
AbstractSession
Abstract implementation of the Session interface.
|
Modifier and Type | Method and Description |
---|---|
Session |
DelegatingCluster.connect() |
Session |
Cluster.connect()
Creates a new session on this cluster and initialize it.
|
Session |
DelegatingCluster.connect(String keyspace) |
Session |
Cluster.connect(String keyspace)
Creates a new session on this cluster, initialize it and sets the
keyspace to the provided one.
|
Session |
Session.State.getSession()
The Session to which this State corresponds to.
|
Session |
Session.init()
Force the initialization of this Session instance if it hasn't been
initialized yet.
|
Session |
DelegatingCluster.newSession() |
Session |
Cluster.newSession()
Creates a new session on this cluster but does not initialize it.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<Session> |
DelegatingCluster.connectAsync() |
com.google.common.util.concurrent.ListenableFuture<Session> |
Cluster.connectAsync()
Creates a new session on this cluster and initializes it asynchronously.
|
com.google.common.util.concurrent.ListenableFuture<Session> |
DelegatingCluster.connectAsync(String keyspace) |
com.google.common.util.concurrent.ListenableFuture<Session> |
Cluster.connectAsync(String keyspace)
Creates a new session on this cluster, and initializes it to the given
keyspace asynchronously.
|
com.google.common.util.concurrent.ListenableFuture<Session> |
Session.initAsync()
Initialize this session asynchronously.
|
Modifier and Type | Interface and Description |
---|---|
interface |
DseSession
Holds connections to a DSE cluster, allowing it to be queried.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<Session> |
DseCluster.connectAsync()
Creates a new DSE session on this cluster and initializes it asynchronously.
|
com.google.common.util.concurrent.ListenableFuture<Session> |
DseCluster.connectAsync(String keyspace)
Creates a new DSE session on this cluster, and initializes it to the given
keyspace asynchronously.
|
com.google.common.util.concurrent.ListenableFuture<Session> |
DseSession.initAsync()
Initialize this session asynchronously.
|