Class GetMappingsRequest

java.lang.Object
org.elasticsearch.client.TimedRequest
org.elasticsearch.client.indices.GetMappingsRequest
All Implemented Interfaces:
Validatable

public class GetMappingsRequest
extends TimedRequest
  • Constructor Details

    • GetMappingsRequest

      public GetMappingsRequest()
  • Method Details

    • local

      public GetMappingsRequest local​(boolean local)
      Indicates whether the receiving node should operate based on local index information or forward requests, where needed, to other nodes. If running locally, request will not raise errors if local index information is missing.
    • local

      public boolean local()
    • indices

      public GetMappingsRequest indices​(java.lang.String... indices)
    • indicesOptions

      public GetMappingsRequest indicesOptions​(org.elasticsearch.action.support.IndicesOptions indicesOptions)
    • indices

      public java.lang.String[] indices()
    • indicesOptions

      public org.elasticsearch.action.support.IndicesOptions indicesOptions()
    • includeDefaults

      public boolean includeDefaults()
    • includeDefaults

      public GetMappingsRequest includeDefaults​(boolean includeDefaults)
      Indicates whether default mapping settings should be returned