Class DataAPIOptions

java.lang.Object
com.datastax.astra.client.DataAPIOptions

public class DataAPIOptions extends Object
Options to set up the client for DataApiClient.
  • Field Details

    • DEFAULT_MAX_DOCUMENTS_COUNT

      public static final int DEFAULT_MAX_DOCUMENTS_COUNT
      Number of documents for a count.
      See Also:
    • DEFAULT_MAX_PAGE_SIZE

      public static final int DEFAULT_MAX_PAGE_SIZE
      Maximum number of documents in a page.
      See Also:
    • DEFAULT_MAX_CHUNK_SIZE

      public static final int DEFAULT_MAX_CHUNK_SIZE
      Maximum number of documents when you insert.
      See Also:
    • DEFAULT_CALLER_NAME

      public static final String DEFAULT_CALLER_NAME
      Default user agent.
      See Also:
    • DEFAULT_CALLER_VERSION

      public static final String DEFAULT_CALLER_VERSION
      Default user agent.
    • DEFAULT_CONNECT_TIMEOUT_MILLIS_SECONDS

      public static final int DEFAULT_CONNECT_TIMEOUT_MILLIS_SECONDS
      Default timeout for initiating connection.
      See Also:
    • DEFAULT_REQUEST_TIMEOUT_MILLIS_SECONDS

      public static final int DEFAULT_REQUEST_TIMEOUT_MILLIS_SECONDS
      Default timeout for initiating connection.
      See Also:
    • DEFAULT_RETRY_COUNT

      public static final int DEFAULT_RETRY_COUNT
      Default retry count.
      See Also:
    • DEFAULT_RETRY_DELAY_MILLIS

      public static final int DEFAULT_RETRY_DELAY_MILLIS
      Default retry delay.
      See Also:
    • DEFAULT_VERSION

      public static final String DEFAULT_VERSION
      path for json api.
      See Also:
  • Method Details