public class ClusterSearchShardsRequest extends MasterNodeReadRequest<ClusterSearchShardsRequest> implements IndicesRequest.Replaceable
TransportRequest.EmptyIndicesRequest.ReplaceablelocalDEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeoutheaders| コンストラクタと説明 |
|---|
ClusterSearchShardsRequest() |
ClusterSearchShardsRequest(String... indices) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
String[] |
indices()
The indices
|
ClusterSearchShardsRequest |
indices(String... indices)
Sets the indices the search will be executed on.
|
IndicesOptions |
indicesOptions()
Returns the indices options used to resolve indices.
|
ClusterSearchShardsRequest |
indicesOptions(IndicesOptions indicesOptions) |
String |
preference() |
ClusterSearchShardsRequest |
preference(String preference)
Sets the preference to execute the search.
|
void |
readFrom(StreamInput in) |
String |
routing()
A comma separated list of routing values to control the shards the search will be executed on.
|
ClusterSearchShardsRequest |
routing(String... routings)
The routing values to control the shards that the search will be executed on.
|
ClusterSearchShardsRequest |
routing(String routing)
A comma separated list of routing values to control the shards the search will be executed on.
|
String[] |
types()
The document types to execute the search against.
|
ClusterSearchShardsRequest |
types(String... types)
The document types to execute the search against.
|
ActionRequestValidationException |
validate() |
void |
writeTo(StreamOutput out) |
local, localmasterNodeTimeout, masterNodeTimeout, masterNodeTimeoutcreateTask, createTask, setParentTaskgetDescriptionremoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic ClusterSearchShardsRequest()
public ClusterSearchShardsRequest(String... indices)
public ActionRequestValidationException validate()
validate クラス内 ActionRequest<ClusterSearchShardsRequest>public ClusterSearchShardsRequest indices(String... indices)
indices インタフェース内 IndicesRequest.Replaceablepublic String[] indices()
indices インタフェース内 IndicesRequestpublic IndicesOptions indicesOptions()
IndicesRequestindicesOptions インタフェース内 IndicesRequestpublic ClusterSearchShardsRequest indicesOptions(IndicesOptions indicesOptions)
public String[] types()
public ClusterSearchShardsRequest types(String... types)
public String routing()
public ClusterSearchShardsRequest routing(String routing)
public ClusterSearchShardsRequest routing(String... routings)
public ClusterSearchShardsRequest preference(String preference)
public String preference()
public void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamablereadFrom クラス内 MasterNodeReadRequest<ClusterSearchShardsRequest>IOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamablewriteTo クラス内 MasterNodeReadRequest<ClusterSearchShardsRequest>IOExceptionCopyright © 2009–2016. All rights reserved.