Uses of Class
com.datastax.astra.client.model.NamespaceOptions
Packages that use NamespaceOptions
Package
Description
Administration classes to manage Databases and Namespaces.
Domain model classes with
Requests, Results, Options and Iterables.-
Uses of NamespaceOptions in com.datastax.astra.client.admin
Methods in com.datastax.astra.client.admin with parameters of type NamespaceOptionsModifier and TypeMethodDescriptionvoidDataAPIDatabaseAdmin.createNamespace(String namespace, NamespaceOptions options) Allow to create a namespace with full-fledged definition -
Uses of NamespaceOptions in com.datastax.astra.client.model
Methods in com.datastax.astra.client.model that return NamespaceOptionsModifier and TypeMethodDescriptionstatic NamespaceOptionsNamespaceOptions.networkTopologyStrategy(Map<String, Integer> datacenters) Enforce the creation of a namespace with NetworkTopology strategy.static NamespaceOptionsNamespaceOptions.simpleStrategy(int replicationFactor) Enforce the creation of a namespace with SimpleStrategy.