public static class AnalyzeResponse.AnalyzeToken extends Objectimplements Streamable
| Constructor and Description |
|---|
AnalyzeToken(String
|
| Modifier and Type | Method and Description |
|---|---|
int |
getEndOffset()
|
int |
getPosition()
|
int |
getStartOffset()
|
String |
getTerm()
|
String |
getType()
|
static AnalyzeResponse |
readAnalyzeToken(StreamInput
|
void |
readFrom(StreamInput
|
void |
writeTo(StreamOutput
|
public StringgetTerm()
public int getStartOffset()
public int getEndOffset()
public int getPosition()
public StringgetType()
public static AnalyzeResponse.AnalyzeToken readAnalyzeToken(StreamInput in) throws IOException
IOException
public void readFrom(StreamInputin) throws IOException
readFrom in interface
Streamable
IOException
public void writeTo(StreamOutputout) throws IOException
writeTo in interface
Streamable
IOException