public class GetFieldMappingsRequest extends ActionRequest<GetFieldMappingsRequest> implements IndicesRequest.Replaceable
TransportRequest.EmptyIndicesRequest.Replaceable| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected boolean |
local |
headers| コンストラクタと説明 |
|---|
GetFieldMappingsRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
String[] |
fields() |
GetFieldMappingsRequest |
fields(String... fields) |
boolean |
includeDefaults() |
GetFieldMappingsRequest |
includeDefaults(boolean includeDefaults)
Indicates whether default mapping settings should be returned
|
String[] |
indices()
Returns the array of indices that the action relates to
|
GetFieldMappingsRequest |
indices(String... indices) |
IndicesOptions |
indicesOptions()
Returns the indices options used to resolve indices.
|
GetFieldMappingsRequest |
indicesOptions(IndicesOptions indicesOptions) |
boolean |
local() |
GetFieldMappingsRequest |
local(boolean local)
Indicate whether the receiving node should operate based on local index information or forward requests,
where needed, to other nodes.
|
void |
readFrom(StreamInput in) |
String[] |
types() |
GetFieldMappingsRequest |
types(String... types) |
ActionRequestValidationException |
validate() |
void |
writeTo(StreamOutput out) |
createTask, getDescriptionremoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic GetFieldMappingsRequest local(boolean local)
public boolean local()
public GetFieldMappingsRequest indices(String... indices)
indices インタフェース内 IndicesRequest.Replaceablepublic GetFieldMappingsRequest types(String... types)
public GetFieldMappingsRequest indicesOptions(IndicesOptions indicesOptions)
public String[] indices()
IndicesRequestindices インタフェース内 IndicesRequestpublic String[] types()
public IndicesOptions indicesOptions()
IndicesRequestindicesOptions インタフェース内 IndicesRequestpublic GetFieldMappingsRequest fields(String... fields)
fields - a list of fields to retrieve the mapping forpublic String[] fields()
public boolean includeDefaults()
public GetFieldMappingsRequest includeDefaults(boolean includeDefaults)
public ActionRequestValidationException validate()
validate クラス内 ActionRequest<GetFieldMappingsRequest>public void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamablewriteTo クラス内 ActionRequest<GetFieldMappingsRequest>IOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamablereadFrom クラス内 ActionRequest<GetFieldMappingsRequest>IOExceptionCopyright © 2009–2016. All rights reserved.