类 GetComposableIndexTemplateRequest
java.lang.Object
org.easysearch.client.indices.GetComposableIndexTemplateRequest
- 所有已实现的接口:
Validatable
public class GetComposableIndexTemplateRequest extends java.lang.Object implements Validatable
A request to read the content of index templates
-
字段概要
从接口继承的字段 org.easysearch.client.Validatable
EMPTY -
构造器概要
构造器 构造器 说明 GetComposableIndexTemplateRequest(java.lang.String name)Create a request to read the content of index template. -
方法概要
修饰符和类型 方法 说明 org.easysearch.common.unit.TimeValuegetMasterNodeTimeout()booleanisLocal()java.lang.Stringname()voidsetLocal(boolean local)voidsetMasterNodeTimeout(java.lang.String masterNodeTimeout)voidsetMasterNodeTimeout(org.easysearch.common.unit.TimeValue masterNodeTimeout)从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.easysearch.client.Validatable
validate
-
构造器详细资料
-
GetComposableIndexTemplateRequest
public GetComposableIndexTemplateRequest(java.lang.String name)Create a request to read the content of index template. If no template name is provided, all templates will be read- 参数:
name- the name of template to read
-
-
方法详细资料
-
name
public java.lang.String name()- 返回:
- the name of index template this request is requesting
-
getMasterNodeTimeout
public org.easysearch.common.unit.TimeValue getMasterNodeTimeout()- 返回:
- the timeout for waiting for the master node to respond
-
setMasterNodeTimeout
public void setMasterNodeTimeout(@Nullable org.easysearch.common.unit.TimeValue masterNodeTimeout) -
setMasterNodeTimeout
public void setMasterNodeTimeout(java.lang.String masterNodeTimeout) -
isLocal
public boolean isLocal()- 返回:
- true if this request is to read from the local cluster state, rather than the master node - false otherwise
-
setLocal
public void setLocal(boolean local)
-