@Value.Immutable(copy=false) public abstract class BulkOperation extends Object
BulkAction instances into
a single batch to be executed against Elasticsearch at a single point
in time, via a single HTTP request.
The only modifiable state of this class is the actions list, which can
be modified via the BulkAction.Builder. All other
values are derived at build time as they'll never change, and we can
assume that they'll always be used.| Constructor and Description |
|---|
BulkOperation() |
| Modifier and Type | Method and Description |
|---|---|
abstract List<BulkAction> |
actions()
The list of actions associated with this operation.
|
long |
estimatedSizeInBytes()
The estimated size of this operation.
|
long |
numberOfActions()
The number of actions in this operation.
|
String |
payload()
The textual representation of this operation.
|
public abstract List<BulkAction> actions()
List of actions to execute.@Value.Derived public long estimatedSizeInBytes()
@Value.Derived public long numberOfActions()
@Value.Derived public String payload()
Copyright © 2017. All rights reserved.