Class PutMappingClusterStateUpdateRequest
- java.lang.Object
-
- org.elasticsearch.cluster.ack.ClusterStateUpdateRequest<T>
-
- org.elasticsearch.cluster.ack.IndicesClusterStateUpdateRequest<PutMappingClusterStateUpdateRequest>
-
- org.elasticsearch.action.admin.indices.mapping.put.PutMappingClusterStateUpdateRequest
-
- All Implemented Interfaces:
AckedRequest
public class PutMappingClusterStateUpdateRequest extends IndicesClusterStateUpdateRequest<PutMappingClusterStateUpdateRequest>
Cluster state update request that allows to put a mapping
-
-
Constructor Summary
Constructors Constructor Description PutMappingClusterStateUpdateRequest()
-
Method Summary
Modifier and Type Method Description java.lang.String
source()
PutMappingClusterStateUpdateRequest
source(java.lang.String source)
java.lang.String
type()
PutMappingClusterStateUpdateRequest
type(java.lang.String type)
boolean
updateAllTypes()
PutMappingClusterStateUpdateRequest
updateAllTypes(boolean updateAllTypes)
-
Methods inherited from class org.elasticsearch.cluster.ack.IndicesClusterStateUpdateRequest
indices, indices
-
Methods inherited from class org.elasticsearch.cluster.ack.ClusterStateUpdateRequest
ackTimeout, ackTimeout, masterNodeTimeout, masterNodeTimeout
-
-
-
-
Method Detail
-
type
public java.lang.String type()
-
type
public PutMappingClusterStateUpdateRequest type(java.lang.String type)
-
source
public java.lang.String source()
-
source
public PutMappingClusterStateUpdateRequest source(java.lang.String source)
-
updateAllTypes
public boolean updateAllTypes()
-
updateAllTypes
public PutMappingClusterStateUpdateRequest updateAllTypes(boolean updateAllTypes)
-
-