Class CollectionInsertManyOptions
java.lang.Object
com.datastax.astra.client.core.options.BaseOptions<CollectionInsertManyOptions>
com.datastax.astra.client.collections.commands.options.CollectionInsertManyOptions
- All Implemented Interfaces:
Cloneable
Options for InsertMany
-
Field Summary
Fields inherited from class com.datastax.astra.client.core.options.BaseOptions
commandType, dataAPIClientOptions, serializer, token
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Gets chunkSizeint
Gets concurrencyboolean
Gets orderedboolean
Gets returnDocumentResponsesrequestTimeout
(long timeoutMillis) Specialization of the timeout options for this command.Methods inherited from class com.datastax.astra.client.core.options.BaseOptions
adminAdditionalHeaders, clone, commandType, dataAPIClientOptions, databaseAdditionalHeaders, embeddingApiKey, embeddingAuthProvider, getCommandType, getDataAPIClientOptions, getRequestTimeout, getRequestTimeout, getSerializer, getTimeout, getTimeout, getToken, httpClientOptions, registerObserver, serializer, timeout, timeout, timeout, timeoutOptions, token, toString, unregisterObserver
-
Constructor Details
-
CollectionInsertManyOptions
public CollectionInsertManyOptions()Default constructor.
-
-
Method Details
-
isOrdered
public boolean isOrdered()Gets ordered- Returns:
- value of ordered
-
getConcurrency
public int getConcurrency()Gets concurrency- Returns:
- value of concurrency
-
isReturnDocumentResponses
public boolean isReturnDocumentResponses()Gets returnDocumentResponses- Returns:
- value of returnDocumentResponses
-
getChunkSize
public int getChunkSize()Gets chunkSize- Returns:
- value of chunkSize
-
requestTimeout
Specialization of the timeout options for this command.- Parameters:
timeoutMillis
- timeout request- Returns:
- current command
-