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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]fields()booleanincludeDefaults(boolean includeDefaults)Indicates whether default mapping settings should be returnedString[]indices()org.elasticsearch.action.support.IndicesOptionsindicesOptions(org.elasticsearch.action.support.IndicesOptions indicesOptions)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-