public class HighlightField extends Object implements Streamable
| コンストラクタと説明 |
|---|
HighlightField(String name,
Text[] fragments) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Text[] |
fragments()
The highlighted fragments.
|
Text[] |
getFragments()
The highlighted fragments.
|
String |
getName()
The name of the field highlighted.
|
String |
name()
The name of the field highlighted.
|
void |
readFrom(StreamInput in) |
static HighlightField |
readHighlightField(StreamInput in) |
String |
toString() |
void |
writeTo(StreamOutput out) |
public String name()
public String getName()
public Text[] fragments()
public Text[] getFragments()
public static HighlightField readHighlightField(StreamInput in) throws IOException
IOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamableIOExceptionCopyright © 2009–2016. All rights reserved.