类 PutComposableIndexTemplateRequest

java.lang.Object
org.easysearch.client.TimedRequest
org.easysearch.client.indices.PutComposableIndexTemplateRequest
所有已实现的接口:
Validatable, org.easysearch.common.xcontent.ToXContent, org.easysearch.common.xcontent.ToXContentObject

public class PutComposableIndexTemplateRequest
extends TimedRequest
implements org.easysearch.common.xcontent.ToXContentObject
A request to create an index template.
  • 嵌套类概要

    从接口继承的嵌套类/接口 org.easysearch.common.xcontent.ToXContent

    org.easysearch.common.xcontent.ToXContent.DelegatingMapParams, org.easysearch.common.xcontent.ToXContent.MapParams, org.easysearch.common.xcontent.ToXContent.Params
  • 字段概要

    从类继承的字段 org.easysearch.client.TimedRequest

    DEFAULT_ACK_TIMEOUT, DEFAULT_MASTER_NODE_TIMEOUT

    从接口继承的字段 org.easysearch.common.xcontent.ToXContent

    EMPTY_PARAMS

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

    EMPTY
  • 构造器概要

    构造器
    构造器 说明
    PutComposableIndexTemplateRequest()  
  • 方法概要

    修饰符和类型 方法 说明
    java.lang.String cause()  
    PutComposableIndexTemplateRequest cause​(java.lang.String cause)
    The cause for this index template creation.
    boolean create()  
    PutComposableIndexTemplateRequest create​(boolean create)
    Set to true to force only creation, not an update of an index template.
    PutComposableIndexTemplateRequest indexTemplate​(org.easysearch.cluster.metadata.ComposableIndexTemplate indexTemplate)
    The index template to create.
    java.lang.String name()
    The name of the index template.
    PutComposableIndexTemplateRequest name​(java.lang.String name)
    Sets the name of the index template.
    org.easysearch.common.xcontent.XContentBuilder toXContent​(org.easysearch.common.xcontent.XContentBuilder builder, org.easysearch.common.xcontent.ToXContent.Params params)  

    从类继承的方法 org.easysearch.client.TimedRequest

    masterNodeTimeout, setMasterTimeout, setTimeout, timeout

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    从接口继承的方法 org.easysearch.common.xcontent.ToXContentObject

    isFragment

    从接口继承的方法 org.easysearch.client.Validatable

    validate
  • 构造器详细资料

    • PutComposableIndexTemplateRequest

      public PutComposableIndexTemplateRequest()
  • 方法详细资料

    • name

      public PutComposableIndexTemplateRequest name​(java.lang.String name)
      Sets the name of the index template.
    • name

      public java.lang.String name()
      The name of the index template.
    • create

      public PutComposableIndexTemplateRequest create​(boolean create)
      Set to true to force only creation, not an update of an index template. If it already exists, it will fail with an IllegalArgumentException.
    • create

      public boolean create()
    • indexTemplate

      public PutComposableIndexTemplateRequest indexTemplate​(org.easysearch.cluster.metadata.ComposableIndexTemplate indexTemplate)
      The index template to create.
    • cause

      public PutComposableIndexTemplateRequest cause​(java.lang.String cause)
      The cause for this index template creation.
    • cause

      public java.lang.String cause()
    • toXContent

      public org.easysearch.common.xcontent.XContentBuilder toXContent​(org.easysearch.common.xcontent.XContentBuilder builder, org.easysearch.common.xcontent.ToXContent.Params params) throws java.io.IOException
      指定者:
      toXContent 在接口中 org.easysearch.common.xcontent.ToXContent
      抛出:
      java.io.IOException