Uses of Enum Class
com.datastax.astra.client.core.commands.CommandType
Packages that use CommandType
Package
Description
Utility classes for commands and operations.
Classes for options of the core commands.
-
Uses of CommandType in com.datastax.astra.client.core.commands
Methods in com.datastax.astra.client.core.commands that return CommandTypeModifier and TypeMethodDescriptionstatic CommandTypeReturns the enum constant of this class with the specified name.static CommandType[]CommandType.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of CommandType in com.datastax.astra.client.core.options
Fields in com.datastax.astra.client.core.options declared as CommandTypeModifier and TypeFieldDescriptionprotected CommandTypeBaseOptions.commandTypeThe command type will drive the timeout in used.Methods in com.datastax.astra.client.core.options that return CommandTypeMethods in com.datastax.astra.client.core.options with parameters of type CommandTypeModifier and TypeMethodDescriptionBaseOptions.commandType(CommandType commandType) Provide the command type.longBaseOptions.getRequestTimeout(TimeoutOptions timeoutOptions, CommandType type) Request timeout based on the command type.longBaseOptions.getTimeout(TimeoutOptions timeoutOptions, CommandType type) Request timeout based on the command type.BaseOptions.timeout(long timeoutMillis, CommandType commandType) Provide the command type.Constructors in com.datastax.astra.client.core.options with parameters of type CommandTypeModifierConstructorDescriptionBaseOptions(String token, CommandType type, DataAPIClientOptions options) Return the HTTP Request Timeout based on the command type.BaseOptions(String token, CommandType type, DataAPISerializer serializer, DataAPIClientOptions options) Return the HTTP Request Timeout based on the command type.