public class GetField extends Object implements Streamable, Iterable<Object>
Constructor and Description |
---|
GetField(String name,
List<Object> values) |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
Object |
getValue() |
List<Object> |
getValues() |
boolean |
isMetadataField() |
Iterator<Object> |
iterator() |
void |
readFrom(StreamInput in) |
static GetField |
readGetField(StreamInput in) |
void |
writeTo(StreamOutput out) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public String getName()
public Object getValue()
public boolean isMetadataField()
public static GetField readGetField(StreamInput in) throws IOException
IOException
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
IOException
Copyright © 2009–2016. All rights reserved.