类 GetComponentTemplatesRequest

java.lang.Object
org.easysearch.client.indices.GetComponentTemplatesRequest
所有已实现的接口:
Validatable
直接已知子类:
ComponentTemplatesExistRequest, ComposableIndexTemplateExistRequest

public class GetComponentTemplatesRequest
extends java.lang.Object
implements Validatable
A request to read the content of component templates
  • 字段概要

    从接口继承的字段 org.easysearch.client.Validatable

    EMPTY
  • 构造器概要

    构造器
    构造器 说明
    GetComponentTemplatesRequest​(java.lang.String name)
    Create a request to read the content of component template.
  • 方法概要

    修饰符和类型 方法 说明
    org.easysearch.common.unit.TimeValue getMasterNodeTimeout()  
    boolean isLocal()  
    java.lang.String name()  
    void setLocal​(boolean local)  
    void setMasterNodeTimeout​(java.lang.String masterNodeTimeout)  
    void setMasterNodeTimeout​(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
  • 构造器详细资料

    • GetComponentTemplatesRequest

      public GetComponentTemplatesRequest​(java.lang.String name)
      Create a request to read the content of component 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 component 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)