Class CollectionOptions

java.lang.Object
com.datastax.astra.client.core.options.BaseOptions<CollectionOptions>
com.datastax.astra.client.collections.CollectionOptions
All Implemented Interfaces:
Cloneable

public class CollectionOptions extends BaseOptions<CollectionOptions>
The options to use for the data API client.
  • Constructor Details

    • CollectionOptions

      public CollectionOptions()
      Default constructor nor overriding token nor options but stilling setting the default timeouts and serializer for collection.
    • CollectionOptions

      public CollectionOptions(String token, DataAPIClientOptions options)
      Constructor with options and not token override.
      Parameters:
      token - the token to use for the database
      options - data API client options
  • Method Details

    • getKeyspace

      public String getKeyspace()
      Gets keyspace
      Returns:
      value of keyspace