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, prepare
executeAsync, executeAsync, executeAsync, executeAsync, prepareAsync, prepareAsync, prepareAsync
executeReactive, executeReactive, executeReactive, executeReactive
executeContinuously, executeContinuouslyAsync
execute, executeAsync
executeContinuouslyReactive, executeContinuouslyReactive
executeReactive
checkSchemaAgreement, checkSchemaAgreementAsync, execute, getContext, getKeyspace, getMetadata, getMetrics, getName, isSchemaMetadataEnabled, refreshSchema, refreshSchemaAsync, setSchemaMetadataEnabled
close, 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.