public class UpdateSettingsRequest extends AcknowledgedRequest<UpdateSettingsRequest> implements IndicesRequest.Replaceable
TransportRequest.EmptyIndicesRequest.ReplaceableDEFAULT_ACK_TIMEOUT, timeoutDEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeoutheaders| コンストラクタと説明 |
|---|
UpdateSettingsRequest() |
UpdateSettingsRequest(Settings settings,
String... indices)
Constructs a new request to update settings for one or more indices
|
UpdateSettingsRequest(String... indices)
Constructs a new request to update settings for one or more indices
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
String[] |
indices()
Returns the array of indices that the action relates to
|
UpdateSettingsRequest |
indices(String... indices)
Sets the indices to apply to settings update to
|
IndicesOptions |
indicesOptions()
Returns the indices options used to resolve indices.
|
UpdateSettingsRequest |
indicesOptions(IndicesOptions indicesOptions) |
void |
readFrom(StreamInput in) |
UpdateSettingsRequest |
settings(Map source)
Sets the settings to be updated (either json/yaml/properties format)
|
UpdateSettingsRequest |
settings(Settings.Builder settings)
Sets the settings to be updated
|
UpdateSettingsRequest |
settings(Settings settings)
Sets the settings to be updated
|
UpdateSettingsRequest |
settings(String source)
Sets the settings to be updated (either json/yaml/properties format)
|
ActionRequestValidationException |
validate() |
void |
writeTo(StreamOutput out) |
ackTimeout, readTimeout, timeout, timeout, timeout, writeTimeoutmasterNodeTimeout, masterNodeTimeout, masterNodeTimeoutcreateTask, createTask, setParentTaskgetDescriptionremoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmasterNodeTimeoutpublic UpdateSettingsRequest()
public UpdateSettingsRequest(String... indices)
public ActionRequestValidationException validate()
validate クラス内 ActionRequest<UpdateSettingsRequest>public String[] indices()
IndicesRequestindices インタフェース内 IndicesRequestpublic UpdateSettingsRequest indices(String... indices)
indices インタフェース内 IndicesRequest.Replaceablepublic IndicesOptions indicesOptions()
IndicesRequestindicesOptions インタフェース内 IndicesRequestpublic UpdateSettingsRequest indicesOptions(IndicesOptions indicesOptions)
public UpdateSettingsRequest settings(Settings settings)
public UpdateSettingsRequest settings(Settings.Builder settings)
public UpdateSettingsRequest settings(String source)
public UpdateSettingsRequest settings(Map source)
public void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamablereadFrom クラス内 MasterNodeRequest<UpdateSettingsRequest>IOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamablewriteTo クラス内 MasterNodeRequest<UpdateSettingsRequest>IOExceptionCopyright © 2009–2016. All rights reserved.