Package | Description |
---|---|
com.datastax.driver.core |
The main package for the DataStax Java driver for Cassandra.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractSession
Abstract implementation of the Session interface.
|
Modifier and Type | Method and Description |
---|---|
Session |
Cluster.connect()
Creates a new session on this cluster and initialize it.
|
Session |
DelegatingCluster.connect() |
Session |
Cluster.connect(String keyspace)
Creates a new session on this cluster, initialize it and sets the keyspace to the provided one.
|
Session |
DelegatingCluster.connect(String keyspace) |
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 |
Cluster.newSession()
Creates a new session on this cluster but does not initialize it.
|
Session |
DelegatingCluster.newSession() |
Modifier and Type | Method and Description |
---|---|
ListenableFuture<Session> |
Cluster.connectAsync()
Creates a new session on this cluster and initializes it asynchronously.
|
ListenableFuture<Session> |
DelegatingCluster.connectAsync() |
ListenableFuture<Session> |
Cluster.connectAsync(String keyspace)
Creates a new session on this cluster, and initializes it to the given keyspace asynchronously.
|
ListenableFuture<Session> |
DelegatingCluster.connectAsync(String keyspace) |
ListenableFuture<Session> |
Session.initAsync()
Initialize this session asynchronously.
|
Copyright © 2012–2024. All rights reserved.