Package | Description |
---|---|
org.elasticsearch.action | |
org.elasticsearch.action.bulk | |
org.elasticsearch.action.support.replication | |
org.elasticsearch.action.update |
Modifier and Type | Method and Description |
---|---|
static WriteConsistencyLevel |
WriteConsistencyLevel.fromId(byte value) |
static WriteConsistencyLevel |
WriteConsistencyLevel.fromString(String value) |
static WriteConsistencyLevel |
WriteConsistencyLevel.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WriteConsistencyLevel[] |
WriteConsistencyLevel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
WriteConsistencyLevel |
BulkRequest.consistencyLevel() |
Modifier and Type | Method and Description |
---|---|
BulkRequest |
BulkRequest.consistencyLevel(WriteConsistencyLevel consistencyLevel)
Sets the consistency level of write.
|
BulkRequestBuilder |
BulkRequestBuilder.setConsistencyLevel(WriteConsistencyLevel consistencyLevel)
Sets the consistency level.
|
Modifier and Type | Field and Description |
---|---|
protected WriteConsistencyLevel |
TransportReplicationAction.defaultWriteConsistencyLevel |
Modifier and Type | Method and Description |
---|---|
WriteConsistencyLevel |
ReplicationRequest.consistencyLevel() |
Modifier and Type | Method and Description |
---|---|
T |
ReplicationRequest.consistencyLevel(WriteConsistencyLevel consistencyLevel)
Sets the consistency level of write.
|
RequestBuilder |
ReplicationRequestBuilder.setConsistencyLevel(WriteConsistencyLevel consistencyLevel)
Sets the consistency level of write.
|
Modifier and Type | Method and Description |
---|---|
WriteConsistencyLevel |
UpdateRequest.consistencyLevel() |
Modifier and Type | Method and Description |
---|---|
UpdateRequest |
UpdateRequest.consistencyLevel(WriteConsistencyLevel consistencyLevel)
Sets the consistency level of write.
|
UpdateRequestBuilder |
UpdateRequestBuilder.setConsistencyLevel(WriteConsistencyLevel consistencyLevel)
Sets the consistency level of write.
|
Copyright © 2009–2017. All rights reserved.