Package com.datastax.astra.client
Class DataAPIOptions
java.lang.Object
com.datastax.astra.client.DataAPIOptions
Options to set up the client for DataApiClient.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder for the DataAPIClientOptions.static enum
Represent the destination of the data API.static class
Subclass to represent an http proxy. -
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Default user agent.static final String
Default user agent.static final int
Default timeout for initiating connection.static final int
Maximum number of documents when you insert.static final int
Number of documents for a count.static final int
Maximum number of documents in a page.static final int
Default timeout for initiating connection.static final int
Default retry count.static final int
Default retry delay.static final String
path for json api. -
Method Summary
-
Field Details
-
DEFAULT_MAX_DOCUMENTS_COUNT
public static final int DEFAULT_MAX_DOCUMENTS_COUNTNumber of documents for a count.- See Also:
-
DEFAULT_MAX_PAGE_SIZE
public static final int DEFAULT_MAX_PAGE_SIZEMaximum number of documents in a page.- See Also:
-
DEFAULT_MAX_CHUNK_SIZE
public static final int DEFAULT_MAX_CHUNK_SIZEMaximum number of documents when you insert.- See Also:
-
DEFAULT_CALLER_NAME
Default user agent.- See Also:
-
DEFAULT_CALLER_VERSION
Default user agent. -
DEFAULT_CONNECT_TIMEOUT_MILLIS_SECONDS
public static final int DEFAULT_CONNECT_TIMEOUT_MILLIS_SECONDSDefault timeout for initiating connection.- See Also:
-
DEFAULT_REQUEST_TIMEOUT_MILLIS_SECONDS
public static final int DEFAULT_REQUEST_TIMEOUT_MILLIS_SECONDSDefault timeout for initiating connection.- See Also:
-
DEFAULT_RETRY_COUNT
public static final int DEFAULT_RETRY_COUNTDefault retry count.- See Also:
-
DEFAULT_RETRY_DELAY_MILLIS
public static final int DEFAULT_RETRY_DELAY_MILLISDefault retry delay.- See Also:
-
DEFAULT_VERSION
path for json api.- See Also:
-
-
Method Details
-
builder
Initializer for the builder.- Returns:
- a new instance of builder
-