Class FieldCapabilitiesIndexResponse
- java.lang.Object
-
- org.elasticsearch.transport.TransportMessage
-
- org.elasticsearch.transport.TransportResponse
-
- org.elasticsearch.action.ActionResponse
-
- org.elasticsearch.action.fieldcaps.FieldCapabilitiesIndexResponse
-
- All Implemented Interfaces:
Writeable
public class FieldCapabilitiesIndexResponse extends ActionResponse implements Writeable
Response forFieldCapabilitiesIndexRequestrequests.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportResponse
TransportResponse.Empty
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Map<String,FieldCapabilities>get()Get the field capabilities mapFieldCapabilitiesgetField(String field)Get the field capabilities for the providedfieldStringgetIndexName()Get the index nameinthashCode()voidwriteTo(StreamOutput out)Write this into the StreamOutput.-
Methods inherited from class org.elasticsearch.transport.TransportMessage
remoteAddress, remoteAddress
-
-
-
-
Method Detail
-
getIndexName
public String getIndexName()
Get the index name
-
get
public Map<String,FieldCapabilities> get()
Get the field capabilities map
-
getField
public FieldCapabilities getField(String field)
Get the field capabilities for the providedfield
-
writeTo
public void writeTo(StreamOutput out) throws IOException
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
-