Package org.elasticsearch.client.indices
Class GetFieldMappingsRequest
java.lang.Object
org.elasticsearch.client.indices.GetFieldMappingsRequest
- All Implemented Interfaces:
Validatable
Request the mappings of specific fields
-
Field Summary
Fields inherited from interface org.elasticsearch.client.Validatable
EMPTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionString[]
fields()
boolean
includeDefaults(boolean includeDefaults)
Indicates whether default mapping settings should be returnedString[]
indices()
org.elasticsearch.action.support.IndicesOptions
indicesOptions(org.elasticsearch.action.support.IndicesOptions indicesOptions)
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
-
GetFieldMappingsRequest
public GetFieldMappingsRequest()
-
-
Method Details
-
indices
-
indicesOptions
public GetFieldMappingsRequest indicesOptions(org.elasticsearch.action.support.IndicesOptions indicesOptions) -
indices
-
indicesOptions
public org.elasticsearch.action.support.IndicesOptions indicesOptions() -
fields
- Parameters:
fields
- a list of fields to retrieve the mapping for
-
fields
-
includeDefaults
public boolean includeDefaults() -
includeDefaults
Indicates whether default mapping settings should be returned
-