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.
OSS_DRIVER_COORDINATES| Modifier and Type | Method and Description |
|---|---|
static CqlSessionBuilder |
builder()
Returns a builder to create a new instance.
|
execute, execute, execute, execute, prepare, prepare, prepareexecuteAsync, executeAsync, executeAsync, executeAsync, prepareAsync, prepareAsync, prepareAsyncexecuteReactive, executeReactive, executeReactive, executeReactiveexecuteContinuously, executeContinuouslyAsyncexecute, executeAsyncexecuteContinuouslyReactive, executeContinuouslyReactiveexecuteReactivecheckSchemaAgreement, checkSchemaAgreementAsync, execute, getContext, getKeyspace, getMetadata, getMetrics, getName, isSchemaMetadataEnabled, refreshSchema, refreshSchemaAsync, setSchemaMetadataEnabledclose, closeAsync, closeFuture, forceCloseAsync, isClosed@NonNull static CqlSessionBuilder builder()
Note that this builder is mutable and not thread-safe.
CqlSessionBuilder to create a new instance.Copyright © 2017–2020. All rights reserved.