public interface QuarkusCqlSession extends CqlSession, MutinyReactiveSession, MutinyContinuousReactiveSession, MutinyGraphReactiveSession
CqlSession
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 as ReactiveSession.executeReactive(String)
, which return Mutiny subtypes that integrate
seamlessly with any application using reactive-style programming.
CqlSession
,
MutinyReactiveSession
,
CassandraClientConfig
OSS_DRIVER_COORDINATES
executeContinuouslyReactive, executeContinuouslyReactive
executeReactive
builder
execute, execute, prepare, prepare, prepare
executeAsync, executeAsync, prepareAsync, prepareAsync, prepareAsync
executeContinuously, executeContinuouslyAsync
execute, executeAsync
executeReactive, executeReactive
checkSchemaAgreement, checkSchemaAgreementAsync, execute, getContext, getKeyspace, getMetadata, getMetrics, getName, isSchemaMetadataEnabled, refreshSchema, refreshSchemaAsync, setSchemaMetadataEnabled
close, closeAsync, closeFuture, forceCloseAsync, isClosed
Copyright © 2020. All rights reserved.