org.elasticsearch.action.admin.indices.analyze
Class AnalyzeResponse.AnalyzeToken
java.lang.Object
org.elasticsearch.action.admin.indices.analyze.AnalyzeResponse.AnalyzeToken
- All Implemented Interfaces:
- Streamable
- Enclosing class:
- AnalyzeResponse
public static class AnalyzeResponse.AnalyzeToken
- extends Object
- implements Streamable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnalyzeResponse.AnalyzeToken
public AnalyzeResponse.AnalyzeToken(String term,
int position,
int startOffset,
int endOffset,
String type)
term
public String term()
getTerm
public String getTerm()
startOffset
public int startOffset()
getStartOffset
public int getStartOffset()
endOffset
public int endOffset()
getEndOffset
public int getEndOffset()
position
public int position()
getPosition
public int getPosition()
type
public String type()
getType
public String getType()
readAnalyzeToken
public static AnalyzeResponse.AnalyzeToken readAnalyzeToken(StreamInput in)
throws IOException
- Throws:
IOException
readFrom
public void readFrom(StreamInput in)
throws IOException
- Specified by:
readFrom
in interface Streamable
- Throws:
IOException
writeTo
public void writeTo(StreamOutput out)
throws IOException
- Specified by:
writeTo
in interface Streamable
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.