Interface QuarkusCqlSession
-
- All Superinterfaces:
AsyncAutoCloseable
,AsyncCqlSession
,AutoCloseable
,ContinuousReactiveSession
,ContinuousSession
,CqlSession
,GraphSession
,MutinyContinuousReactiveSession
,MutinyGraphReactiveSession
,MutinyReactiveSession
,ReactiveGraphSession
,ReactiveSession
,Session
,SyncCqlSession
public interface QuarkusCqlSession extends CqlSession, MutinyReactiveSession, MutinyContinuousReactiveSession, MutinyGraphReactiveSession
A specializedCqlSession
tailored for Quarkus applications.This interface is the main entry point for Quarkus applications that need to connect to Cassandra databases. Upon application startup, the Cassandra Quarkus extension will configure an application-scoped singleton bean implementing this interface, and then inject it in all application components that require access to the Cassandra database.
This interface also implements
MutinyReactiveSession
; it exposes reactive query methods such asMutinyReactiveSession.executeReactive(String)
, which return Mutiny subtypes that integrate seamlessly with any application using reactive-style programming.- See Also:
CqlSession
,MutinyReactiveSession
,CassandraClientConfig
-
-
Field Summary
-
Fields inherited from interface com.datastax.oss.driver.api.core.session.Session
OSS_DRIVER_COORDINATES
-
-
Method Summary
-
Methods inherited from interface com.datastax.oss.driver.api.core.AsyncAutoCloseable
close, closeAsync, closeFuture, forceCloseAsync, isClosed
-
Methods inherited from interface com.datastax.oss.driver.api.core.cql.AsyncCqlSession
executeAsync, executeAsync, executeAsync, executeAsync, prepareAsync, prepareAsync, prepareAsync
-
Methods inherited from interface com.datastax.dse.driver.api.core.cql.continuous.ContinuousSession
executeContinuously, executeContinuouslyAsync
-
Methods inherited from interface com.datastax.dse.driver.api.core.graph.GraphSession
execute, executeAsync
-
Methods inherited from interface com.datastax.oss.quarkus.runtime.api.reactive.MutinyContinuousReactiveSession
executeContinuouslyReactive, executeContinuouslyReactive
-
Methods inherited from interface com.datastax.oss.quarkus.runtime.api.reactive.MutinyGraphReactiveSession
executeReactive
-
Methods inherited from interface com.datastax.oss.quarkus.runtime.api.reactive.MutinyReactiveSession
executeReactive, executeReactive
-
Methods inherited from interface com.datastax.dse.driver.api.core.cql.reactive.ReactiveSession
executeReactive, executeReactive
-
Methods inherited from interface com.datastax.oss.driver.api.core.session.Session
checkSchemaAgreement, checkSchemaAgreementAsync, execute, getContext, getKeyspace, getMetadata, getMetrics, getName, isSchemaMetadataEnabled, refreshSchema, refreshSchemaAsync, setSchemaMetadataEnabled
-
-