|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.elasticsearch.search.internal.InternalSearchHitField
public class InternalSearchHitField
Constructor Summary | |
---|---|
InternalSearchHitField(String name,
List<Object> values)
|
Method Summary | |
---|---|
String |
getName()
The name of the field. |
Object |
getValue()
The first value of the hit. |
List<Object> |
getValues()
The field values. |
Iterator<Object> |
iterator()
|
String |
name()
The name of the field. |
void |
readFrom(StreamInput in)
|
static InternalSearchHitField |
readSearchHitField(StreamInput in)
|
Object |
value()
The first value of the hit. |
List<Object> |
values()
The field 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 |
---|
public InternalSearchHitField(String name, List<Object> values)
Method Detail |
---|
public String name()
SearchHitField
name
in interface SearchHitField
public String getName()
SearchHitField
getName
in interface SearchHitField
public Object value()
SearchHitField
value
in interface SearchHitField
public Object getValue()
SearchHitField
getValue
in interface SearchHitField
public List<Object> values()
SearchHitField
values
in interface SearchHitField
public List<Object> getValues()
SearchHitField
getValues
in interface SearchHitField
public Iterator<Object> iterator()
iterator
in interface Iterable<Object>
public static InternalSearchHitField readSearchHitField(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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |