类 GetIndexRequest
java.lang.Object
org.easysearch.client.TimedRequest
org.easysearch.client.indices.GetIndexRequest
- 所有已实现的接口:
Validatable
public class GetIndexRequest extends TimedRequest
A request to retrieve information about an index.
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classGetIndexRequest.Feature -
字段概要
从类继承的字段 org.easysearch.client.TimedRequest
DEFAULT_ACK_TIMEOUT, DEFAULT_MASTER_NODE_TIMEOUT从接口继承的字段 org.easysearch.client.Validatable
EMPTY -
构造器概要
构造器 构造器 说明 GetIndexRequest(java.lang.String... indices) -
方法概要
修饰符和类型 方法 说明 GetIndexRequestaddFeatures(GetIndexRequest.Feature... features)GetIndexRequest.Feature[]features()GetIndexRequestfeatures(GetIndexRequest.Feature... features)booleanhumanReadable()GetIndexRequesthumanReadable(boolean humanReadable)booleanincludeDefaults()Whether to return all default settings for each of the indices.GetIndexRequestincludeDefaults(boolean includeDefaults)Sets the value of "include_defaults".java.lang.String[]indices()The indices into which the mappings will be put.org.easysearch.action.support.IndicesOptionsindicesOptions()GetIndexRequestindicesOptions(org.easysearch.action.support.IndicesOptions indicesOptions)booleanlocal()Return local information, do not retrieve the state from master node (default: false).GetIndexRequestlocal(boolean local)从类继承的方法 org.easysearch.client.TimedRequest
masterNodeTimeout, setMasterTimeout, setTimeout, timeout从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.easysearch.client.Validatable
validate
-
构造器详细资料
-
GetIndexRequest
public GetIndexRequest(java.lang.String... indices)
-
-
方法详细资料
-
indices
public java.lang.String[] indices()The indices into which the mappings will be put. -
indicesOptions
public org.easysearch.action.support.IndicesOptions indicesOptions() -
indicesOptions
-
local
-
local
public final boolean local()Return local information, do not retrieve the state from master node (default: false).- 返回:
trueif local information is to be returned;falseif information is to be retrieved from master node (default).
-
features
-
addFeatures
-
features
-
humanReadable
-
humanReadable
public boolean humanReadable() -
includeDefaults
Sets the value of "include_defaults".- 参数:
includeDefaults- value of "include_defaults" to be set.- 返回:
- this request
-
includeDefaults
public boolean includeDefaults()Whether to return all default settings for each of the indices.- 返回:
trueif defaults settings for each of the indices need to returned;falseotherwise.
-