org.elasticsearch.index.get
Class GetField

java.lang.Object
  extended by org.elasticsearch.index.get.GetField
All Implemented Interfaces:
Iterable<Object>, Streamable

public class GetField
extends Object
implements Streamable, Iterable<Object>


Constructor Summary
GetField(String name, List<Object> values)
           
 
Method Summary
 String getName()
           
 Object getValue()
           
 List<Object> getValues()
           
 Iterator<Object> iterator()
           
 String name()
           
 void readFrom(StreamInput in)
           
static GetField readGetField(StreamInput in)
           
 Object value()
           
 List<Object> values()
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetField

public GetField(String name,
                List<Object> values)
Method Detail

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.