Class BulkOptions
java.lang.Object
org.springframework.data.elasticsearch.core.query.BulkOptions
Options that may be passed to an
Use
DocumentOperations.bulkIndex(List, BulkOptions, IndexCoordinates)
or
DocumentOperations.bulkUpdate(List, BulkOptions, IndexCoordinates)
call. Use
builder() to obtain a builder, then set the desired properties and call
BulkOptions.BulkOptionsBuilder.build() to get the BulkOptions object.- Since:
- 3.2
- Author:
- Peter-Josef Meisch, Mark Paluch
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Create a newBulkOptions.BulkOptionsBuilderto buildBulkOptions.static BulkOptionsReturn defaultBulkOptions.
-
Method Details
-
getTimeout
-
getRefreshPolicy
-
getWaitForActiveShards
-
getPipeline
-
getRoutingId
-
builder
Create a newBulkOptions.BulkOptionsBuilderto buildBulkOptions.- Returns:
- a new
BulkOptions.BulkOptionsBuilderto buildBulkOptions.
-
defaultOptions
Return defaultBulkOptions.- Returns:
- default
BulkOptions.
-