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
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Create a newBulkOptions.BulkOptionsBuilder
to buildBulkOptions
.static BulkOptions
Return defaultBulkOptions
.
-
Method Details
-
getTimeout
-
getRefreshPolicy
-
getWaitForActiveShards
-
getPipeline
-
getRoutingId
-
builder
Create a newBulkOptions.BulkOptionsBuilder
to buildBulkOptions
.- Returns:
- a new
BulkOptions.BulkOptionsBuilder
to buildBulkOptions
.
-
defaultOptions
Return defaultBulkOptions
.- Returns:
- default
BulkOptions
.
-