Package org.elasticsearch.client.indices
Class CreateIndexResponse
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportResponse
org.elasticsearch.action.ActionResponse
org.elasticsearch.action.support.master.AcknowledgedResponse
org.elasticsearch.action.support.master.ShardsAcknowledgedResponse
org.elasticsearch.client.indices.CreateIndexResponse
- All Implemented Interfaces:
Writeable,org.elasticsearch.core.RefCounted,org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
A response for a create index action.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.action.ActionResponse
ActionResponse.EmptyNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V extends Object>, Writeable.Writer<V extends Object> -
Field Summary
Fields inherited from class org.elasticsearch.action.support.master.ShardsAcknowledgedResponse
NOT_ACKNOWLEDGED, SHARDS_ACKNOWLEDGEDFields inherited from class org.elasticsearch.action.support.master.AcknowledgedResponse
acknowledged, FALSE, TRUEFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionCreateIndexResponse(boolean acknowledged, boolean shardsAcknowledged, String index) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic CreateIndexResponsefromXContent(org.elasticsearch.xcontent.XContentParser parser) inthashCode()index()Methods inherited from class org.elasticsearch.action.support.master.ShardsAcknowledgedResponse
addCustomFields, declareAcknowledgedAndShardsAcknowledgedFields, isShardsAcknowledged, of, writeShardsAcknowledgedMethods inherited from class org.elasticsearch.action.support.master.AcknowledgedResponse
declareAcknowledgedField, isAcknowledged, of, readFrom, toXContent, writeToMethods inherited from class org.elasticsearch.transport.TransportMessage
decRef, hasReferences, incRef, remoteAddress, remoteAddress, tryIncRefMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Constructor Details
-
CreateIndexResponse
-
-
Method Details
-
index
-
fromXContent
-
equals
- Overrides:
equalsin classShardsAcknowledgedResponse
-
hashCode
public int hashCode()- Overrides:
hashCodein classShardsAcknowledgedResponse
-