Package | Description |
---|---|
com.datastax.driver.core |
The main package for the DataStax Java driver for Cassandra.
|
com.datastax.driver.dse | |
com.datastax.driver.mapping |
Modifier and Type | Interface and Description |
---|---|
interface |
ContinuousPagingSession
A session that has the ability to execute continuous paging queries.
|
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 |
---|---|
ListenableFuture<Session> |
DelegatingCluster.connectAsync() |
ListenableFuture<Session> |
Cluster.connectAsync()
Creates a new session on this cluster and initializes it asynchronously.
|
ListenableFuture<Session> |
DelegatingCluster.connectAsync(String keyspace) |
ListenableFuture<Session> |
Cluster.connectAsync(String keyspace)
Creates a new session on this cluster, and initializes it to the given keyspace asynchronously.
|
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 |
---|---|
ListenableFuture<Session> |
DseCluster.connectAsync()
Creates a new DSE session on this cluster and initializes it asynchronously.
|
ListenableFuture<Session> |
DseCluster.connectAsync(String keyspace)
Creates a new DSE session on this cluster, and initializes it to the given keyspace
asynchronously.
|
ListenableFuture<Session> |
DseSession.initAsync()
Initialize this session asynchronously.
|
Modifier and Type | Method and Description |
---|---|
Session |
MappingManager.getSession()
The underlying
Session used by this manager. |
Constructor and Description |
---|
MappingManager(Session session)
Creates a new
MappingManager using the provided Session with default MapperConfiguration . |
MappingManager(Session session,
MappingConfiguration configuration)
Creates a new
MappingManager using the provided Session with custom
configuration to be inherited to each instantiated mapper. |
MappingManager(Session session,
MappingConfiguration configuration,
ProtocolVersion protocolVersion)
Creates a new
MappingManager using the provided Session with default MapperConfiguration . |
MappingManager(Session session,
ProtocolVersion protocolVersion)
Creates a new
MappingManager using the provided Session with default MapperConfiguration . |
Copyright © 2012–2019. All rights reserved.