Package org.elasticsearch.client.indices
Class GetMappingsRequest
java.lang.Object
org.elasticsearch.client.TimedRequest
org.elasticsearch.client.indices.GetMappingsRequest
- All Implemented Interfaces:
Validatable
-
Field Summary
Fields inherited from class org.elasticsearch.client.TimedRequest
DEFAULT_ACK_TIMEOUT, DEFAULT_MASTER_NODE_TIMEOUT
Fields inherited from interface org.elasticsearch.client.Validatable
EMPTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
includeDefaults
(boolean includeDefaults) Indicates whether default mapping settings should be returnedString[]
indices()
indicesOptions
(IndicesOptions indicesOptions) boolean
local()
local
(boolean local) Indicates whether the receiving node should operate based on local index information or forward requests, where needed, to other nodes.Methods inherited from class org.elasticsearch.client.TimedRequest
masterNodeTimeout, setMasterTimeout, setTimeout, timeout
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.client.Validatable
validate
-
Constructor Details
-
GetMappingsRequest
public GetMappingsRequest()
-
-
Method Details
-
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
-
indicesOptions
-
indices
-
indicesOptions
-
includeDefaults
public boolean includeDefaults() -
includeDefaults
Indicates whether default mapping settings should be returned
-