public class FieldCapabilitiesResponse extends ActionResponse implements ToXContent
FieldCapabilitiesRequest
requests.TransportResponse.Empty
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.util.Map<java.lang.String,java.util.Map<java.lang.String,FieldCapabilities>> |
get()
Get the field capabilities map.
|
java.util.Map<java.lang.String,FieldCapabilities> |
getField(java.lang.String field)
Get the field capabilities per type for the provided
field . |
int |
hashCode() |
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
remoteAddress, remoteAddress
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
isFragment
public java.util.Map<java.lang.String,java.util.Map<java.lang.String,FieldCapabilities>> get()
public java.util.Map<java.lang.String,FieldCapabilities> getField(java.lang.String field)
field
.public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class ActionResponse
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in class ActionResponse
java.io.IOException
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent
in interface ToXContent
java.io.IOException
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object