public interface CqlSession extends Session, SyncCqlSession, AsyncCqlSession, ReactiveSession, ContinuousSession, GraphSession, ContinuousReactiveSession, ReactiveGraphSession
It provides user-friendly execution methods for:
Note that the name "CQL session" is no longer really accurate since this interface can now execute other request types; but it was preserved for backward compatibility with previous driver versions.
|Modifier and Type||Method and Description|
Returns a builder to create a new instance.
execute, execute, prepare, prepare, prepare
executeAsync, executeAsync, prepareAsync, prepareAsync, prepareAsync
checkSchemaAgreement, checkSchemaAgreementAsync, execute, getContext, getKeyspace, getMetadata, getMetrics, getName, isSchemaMetadataEnabled, refreshSchema, refreshSchemaAsync, setSchemaMetadataEnabled
@NonNull static CqlSessionBuilder builder()
Note that this builder is mutable and not thread-safe.
CqlSessionBuilderto create a new instance.
Copyright © 2017–2023. All rights reserved.