public class GetField extends java.lang.Object implements Streamable, ToXContent, java.lang.Iterable<java.lang.Object>
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
GetField(java.lang.String name,
java.util.List<java.lang.Object> values) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
static GetField |
fromXContent(XContentParser parser) |
java.lang.String |
getName() |
java.lang.Object |
getValue() |
java.util.List<java.lang.Object> |
getValues() |
int |
hashCode() |
boolean |
isMetadataField() |
java.util.Iterator<java.lang.Object> |
iterator() |
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
static GetField |
readGetField(StreamInput in) |
java.lang.String |
toString() |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isFragment
public GetField(java.lang.String name, java.util.List<java.lang.Object> values)
public java.lang.String getName()
public java.lang.Object getValue()
public java.util.List<java.lang.Object> getValues()
public boolean isMetadataField()
public java.util.Iterator<java.lang.Object> iterator()
iterator
in interface java.lang.Iterable<java.lang.Object>
public static GetField readGetField(StreamInput in) throws java.io.IOException
java.io.IOException
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
java.io.IOException
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent
in interface ToXContent
java.io.IOException
public static GetField fromXContent(XContentParser parser) throws java.io.IOException
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
public java.lang.String toString()
toString
in class java.lang.Object