Uses of Interface
com.datastax.driver.core.Session
-
Packages that use Session Package Description com.datastax.driver.core The main package for the Java Driver for Cassandra. -
-
Uses of Session in com.datastax.driver.core
Classes in com.datastax.driver.core that implement Session Modifier and Type Class Description classAbstractSessionAbstract implementation of the Session interface.Methods in com.datastax.driver.core that return Session Modifier and Type Method Description SessionCluster. connect()Creates a new session on this cluster and initialize it.SessionCluster. connect(String keyspace)Creates a new session on this cluster, initialize it and sets the keyspace to the provided one.SessionDelegatingCluster. connect()SessionDelegatingCluster. connect(String keyspace)SessionSession.State. getSession()The Session to which this State corresponds to.SessionSession. init()Force the initialization of this Session instance if it hasn't been initialized yet.SessionCluster. newSession()Creates a new session on this cluster but does not initialize it.SessionDelegatingCluster. newSession()Methods in com.datastax.driver.core that return types with arguments of type Session Modifier and Type Method Description ListenableFuture<Session>Cluster. connectAsync()Creates a new session on this cluster and initializes it asynchronously.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()ListenableFuture<Session>DelegatingCluster. connectAsync(String keyspace)ListenableFuture<Session>Session. initAsync()Initialize this session asynchronously.
-