public class GetField extends java.lang.Object implements Streamable, java.lang.Iterable<java.lang.Object>
Constructor and Description |
---|
GetField(java.lang.String name,
java.util.List<java.lang.Object> values) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
java.lang.Object |
getValue() |
java.util.List<java.lang.Object> |
getValues() |
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) |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
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