Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addHttpObserver(String, ServiceCallObserver) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Api Invocations trigger some events processed in observer.
- apiDevops() - Method in class com.datastax.astra.sdk.AstraClient
-
Devops API
- apiDevopsDatabases() - Method in class com.datastax.astra.sdk.AstraClient
-
Devops API
- apiDevopsStreaming() - Method in class com.datastax.astra.sdk.AstraClient
-
Devops API Streaming
- apiStargateData() - Method in class com.datastax.astra.sdk.AstraClient
-
Rest Api.
- apiStargateDocument() - Method in class com.datastax.astra.sdk.AstraClient
-
Document Api.
- apiStargateGraphQL() - Method in class com.datastax.astra.sdk.AstraClient
-
GraphQL Api.
- apiStargateGrpc() - Method in class com.datastax.astra.sdk.AstraClient
-
Integration with grpc Api in Stargate.
- ASTRA_DB_CLIENT_ID - Static variable in class com.datastax.astra.sdk.config.AstraClientConfig
-
ENV VAR to get part of the token: client id.
- ASTRA_DB_CLIENT_SECRET - Static variable in class com.datastax.astra.sdk.config.AstraClientConfig
-
ENV VAR to get part of the token: client Secret.
- ASTRA_DB_ID - Static variable in class com.datastax.astra.sdk.config.AstraClientConfig
-
Initialize parameters from Environment variables.
- ASTRA_DB_KEYSPACE - Static variable in class com.datastax.astra.sdk.config.AstraClientConfig
-
ENV VAR to get the keyspace to be selected.
- ASTRA_DB_REGION - Static variable in class com.datastax.astra.sdk.config.AstraClientConfig
-
ENV VAR to get current or default region (local datacenter).
- ASTRA_DB_SCB_FOLDER - Static variable in class com.datastax.astra.sdk.config.AstraClientConfig
-
SECURE BUNDLE FOR EACH REGIONS.
- AstraClient - Class in com.datastax.astra.sdk
-
Public interface to interact with ASTRA APIs.
- AstraClient(AstraClientConfig) - Constructor for class com.datastax.astra.sdk.AstraClient
-
Initialization through builder.
- AstraClient(String) - Constructor for class com.datastax.astra.sdk.AstraClient
-
Create a client with the token on
- AstraClient(String, String, String) - Constructor for class com.datastax.astra.sdk.AstraClient
-
Simple initialization.
- astraClientConfig - Variable in class com.datastax.astra.sdk.AstraClient
-
Keep some information related to Astra Settings.
- AstraClientConfig - Class in com.datastax.astra.sdk.config
-
Helper and configure for Astra.
- AstraClientConfig() - Constructor for class com.datastax.astra.sdk.config.AstraClientConfig
-
Reading environment variables
B
- build() - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Final build.
- builder() - Static method in class com.datastax.astra.sdk.AstraClient
-
Builder Pattern
- buildScbFileName(String, String) - Static method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Helper to build the path (use multiple times).
C
- close() - Method in class com.datastax.astra.sdk.AstraClient
- com.datastax.astra.sdk - package com.datastax.astra.sdk
-
Astra Api Client main class.
- com.datastax.astra.sdk.config - package com.datastax.astra.sdk.config
-
Astra Api Client configuration classes (builder).
- cqlSession() - Method in class com.datastax.astra.sdk.AstraClient
-
CQL API
- currentDatabaseRegion - Variable in class com.datastax.astra.sdk.AstraClient
-
Hold a reference on current region used for the Fail-over.
D
- DEFAULT_SCB_FOLDER - Static variable in class com.datastax.astra.sdk.config.AstraClientConfig
-
Where to download cloud secure bundles.
- disableCrossRegionFailOver() - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Disable crossRegionFailOver
- disableDownloadSecureConnectBundle() - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Disable SCB downloads.
E
- enableCql() - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Enable CqlSession
- enableCrossRegionFailOver() - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Enable crossRegionFailOver
- enableDownloadSecureConnectBundle() - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Enable SCB downloads.
- enableGrpc() - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Enable gRPC
- env(AstraEnvironment) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Override default environment to use TEST.
- ENV_USER_HOME - Static variable in class com.datastax.astra.sdk.config.AstraClientConfig
-
User home folder.
G
- getAstraDB() - Method in class com.datastax.astra.sdk.AstraClient
-
Retrieve and AstraDB instance for the db Id.
- getAstraDBAdmin() - Method in class com.datastax.astra.sdk.AstraClient
-
Access AstraDBAdmin from the Astra Client.
- getClientId() - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Getter accessor for attribute 'clientId'.
- getClientSecret() - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Getter accessor for attribute 'clientSecret'.
- getConfig() - Method in class com.datastax.astra.sdk.AstraClient
-
Getter to the configuration, it should not be changed.
- getDatabaseId() - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Getter accessor for attribute 'databaseId'.
- getDatabaseRegion() - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Getter accessor for attribute 'databaseRegion'.
- getEnvironmnt() - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Gets getEnvironmnt
- getSecureConnectBundleFolder() - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Getter accessor for attribute 'secureConnectBundleFolder'.
- getStargateConfig() - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Getter accessor for attribute 'stargateConfig'.
- getToken() - Method in class com.datastax.astra.sdk.AstraClient
-
Give access to token.
- getToken() - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Getter accessor for attribute 'token'.
- GRPC_PORT - Static variable in class com.datastax.astra.sdk.config.AstraClientConfig
-
Port for grpc in Astra.
I
- isEnabledCrossRegionFailOver() - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Getter for crossRegionFailOver.
- isEnabledDownloadSecureConnectBundle() - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Getter for downloadSecureConnectBundle.
L
- loadFromAstraRc() - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Some settings can be loaded from ~/.astrarc in you machine.
S
- SECURE_CONNECT - Static variable in class com.datastax.astra.sdk.AstraClient
-
Cloud Secure bundle file prefix, scb_dbId_dbRegion.zip
- secureConnectBundleFolder(String) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Provide path of the SCB.
- stargateClient - Variable in class com.datastax.astra.sdk.AstraClient
-
Access to all Stargate sub Api (rest, graphQL, doc, gRPC).
U
- useRegion(String) - Method in class com.datastax.astra.sdk.AstraClient
-
Change region the application is working on.
W
- withClientId(String) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Provide clientId.
- withClientSecret(String) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Provide clientSecret.
- withCqlCloudSecureConnectBundle(String) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Populate Secure connect bundle
- withCqlConsistencyLevel(ConsistencyLevel) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Populate Consistency level
- withCqlDriverConfig(ProgrammaticDriverConfigLoaderBuilder) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Populate config.
- withCqlDriverConfigurationFile(File) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Populate configuration file
- withCqlKeyspace(String) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Fill Keyspaces.
- withCqlMetricsRegistry(Object) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Provide a metrics registry.
- withCqlOptionBoolean(TypedDriverOption<Boolean>, Boolean) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Add a property to the Cql Context.
- withCqlOptionBooleanDC(String, TypedDriverOption<Boolean>, Boolean) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Add a property to the Cql Context.
- withCqlOptionBooleanList(TypedDriverOption<List<Boolean>>, List<Boolean>) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Add a property to the Cql Context.
- withCqlOptionBooleanListDC(String, TypedDriverOption<List<Boolean>>, List<Boolean>) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Add a property to the Cql Context.
- withCqlOptionClass(TypedDriverOption<Class<?>>, Class<?>) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Add a property to the Cql Context.
- withCqlOptionClassDC(String, TypedDriverOption<Class<?>>, Class<?>) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Add a property to the Cql Context.
- withCqlOptionClassList(TypedDriverOption<List<Class<?>>>, List<Class<?>>) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Add a property to the Cql Context.
- withCqlOptionClassListDC(String, TypedDriverOption<List<Class<?>>>, List<Class<?>>) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Add a property to the Cql Context.
- withCqlOptionDouble(TypedDriverOption<Double>, Double) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Add a property to the Cql Context.
- withCqlOptionDoubleDC(String, TypedDriverOption<Double>, Double) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Add a property to the Cql Context.
- withCqlOptionDoubleList(TypedDriverOption<List<Double>>, List<Double>) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Add a property to the Cql Context.
- withCqlOptionDoubleListDC(String, TypedDriverOption<List<Double>>, List<Double>) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Add a property to the Cql Context.
- withCqlOptionDuration(TypedDriverOption<Duration>, Duration) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Add a property to the Cql Context.
- withCqlOptionDurationDC(String, TypedDriverOption<Duration>, Duration) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Add a property to the Cql Context.
- withCqlOptionDurationList(TypedDriverOption<List<Duration>>, List<Duration>) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Add a property to the Cql Context.
- withCqlOptionDurationListDC(String, TypedDriverOption<List<Duration>>, List<Duration>) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Add a property to the Cql Context.
- withCqlOptionInteger(TypedDriverOption<Integer>, Integer) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Add a property to the Cql Context.
- withCqlOptionIntegerDC(String, TypedDriverOption<Integer>, Integer) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Add a property to the Cql Context.
- withCqlOptionIntegerList(TypedDriverOption<List<Integer>>, List<Integer>) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Add a property to the Cql Context.
- withCqlOptionIntegerListDC(String, TypedDriverOption<List<Integer>>, List<Integer>) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Add a property to the Cql Context.
- withCqlOptionLong(TypedDriverOption<Long>, Long) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Add a property to the Cql Context.
- withCqlOptionLongDC(String, TypedDriverOption<Long>, Long) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Add a property to the Cql Context.
- withCqlOptionLongList(TypedDriverOption<List<Long>>, List<Long>) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Add a property to the Cql Context.
- withCqlOptionLongListDC(String, TypedDriverOption<List<Long>>, List<Long>) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Add a property to the Cql Context.
- withCqlOptionString(TypedDriverOption<String>, String) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Add a property to the Cql Context.
- withCqlOptionStringDC(String, TypedDriverOption<String>, String) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Add a property to the Cql Context.
- withCqlOptionStringList(TypedDriverOption<List<String>>, List<String>) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Add a property to the Cql Context.
- withCqlOptionStringListDC(String, TypedDriverOption<List<String>>, List<String>) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Add a property to the Cql Context.
- withCqlRequestTracker(RequestTracker) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Provide a request tracker.
- withCqlSecureConnectBundleFolder(String) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Provide clientSecret.
- withDatabaseId(String) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Provider database identifier
- withDatabaseRegion(String) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Provider database identifier
- withHttpObservers(Map<String, ServiceCallObserver>) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Api Invocations trigger some events processed in observer.
- withHttpRequestConfig(RequestConfig) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Enable fine Grained configuration of the HTTP Client.
- withHttpRetryConfig(RetryConfig) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Enable fine Grained configuration of the HTTP Retries.
- withToken(String) - Method in class com.datastax.astra.sdk.config.AstraClientConfig
-
Provide token.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form