org.elasticsearch.index.get
Class GetField
java.lang.Object
org.elasticsearch.index.get.GetField
- All Implemented Interfaces:
- Iterable<Object>, Streamable
public class GetField
- extends Object
- implements Streamable, Iterable<Object>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetField
public GetField(String name,
List<Object> values)
name
public String name()
getName
public String getName()
value
public Object value()
getValue
public Object getValue()
values
public List<Object> values()
getValues
public List<Object> getValues()
iterator
public Iterator<Object> iterator()
- Specified by:
iterator
in interface Iterable<Object>
readGetField
public static GetField readGetField(StreamInput in)
throws IOException
- Throws:
IOException
readFrom
public void readFrom(StreamInput in)
throws IOException
- Specified by:
readFrom
in interface Streamable
- Throws:
IOException
writeTo
public void writeTo(StreamOutput out)
throws IOException
- Specified by:
writeTo
in interface Streamable
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.