public interface SearchHitField extends Streamable, java.lang.Iterable<java.lang.Object>
SearchHit
.SearchHit
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
The name of the field.
|
<V> V |
getValue()
The first value of the hit.
|
java.util.List<java.lang.Object> |
getValues()
The field values.
|
boolean |
isMetadataField() |
java.lang.String |
name()
The name of the field.
|
<V> V |
value()
The first value of the hit.
|
java.util.List<java.lang.Object> |
values()
The field values.
|
readFrom, writeTo
java.lang.String name()
java.lang.String getName()
<V> V value()
<V> V getValue()
java.util.List<java.lang.Object> values()
java.util.List<java.lang.Object> getValues()
boolean isMetadataField()