public static final class InternalSearchHit.InternalNestedIdentity extends Object implements SearchHit.NestedIdentity, Streamable, ToXContent
| 修飾子とタイプ | クラスと説明 |
|---|---|
static class |
InternalSearchHit.InternalNestedIdentity.Fields |
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| コンストラクタと説明 |
|---|
InternalNestedIdentity(String field,
int offset,
InternalSearchHit.InternalNestedIdentity child) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
SearchHit.NestedIdentity |
getChild()
Returns the next child nested level if there is any, otherwise
null is returned. |
Text |
getField()
Returns the nested field in the source this hit originates from
|
int |
getOffset()
Returns the offset in the nested array of objects in the source this hit
|
void |
readFrom(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
public InternalNestedIdentity(String field, int offset, InternalSearchHit.InternalNestedIdentity child)
public Text getField()
SearchHit.NestedIdentitygetField インタフェース内 SearchHit.NestedIdentitypublic int getOffset()
SearchHit.NestedIdentitygetOffset インタフェース内 SearchHit.NestedIdentitypublic SearchHit.NestedIdentity getChild()
SearchHit.NestedIdentitynull is returned.
In the case of mappings with multiple levels of nested object fieldsgetChild インタフェース内 SearchHit.NestedIdentitypublic void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamableIOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent インタフェース内 ToXContentIOExceptionCopyright © 2009–2016. All rights reserved.