Package | Description |
---|---|
com.datastax.driver.core |
The main package for the DataStax Java driver for Cassandra.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AsyncInitSession
A
Session that can be initialized asynchronously. |
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> |
AsyncInitSession.initAsync()
Initialize this session asynchronously.
|
Copyright © 2012–2015. All rights reserved.