org.elasticsearch.action.admin.indices.analyze
Class AnalyzeResponse.AnalyzeToken

java.lang.Object
  extended by org.elasticsearch.action.admin.indices.analyze.AnalyzeResponse.AnalyzeToken
All Implemented Interfaces:
Streamable
Enclosing class:
AnalyzeResponse

public static class AnalyzeResponse.AnalyzeToken
extends Object
implements Streamable


Constructor Summary
AnalyzeResponse.AnalyzeToken(String term, int position, int startOffset, int endOffset, String type)
           
 
Method Summary
 int endOffset()
           
 int getEndOffset()
           
 int getPosition()
           
 int getStartOffset()
           
 String getTerm()
           
 String getType()
           
 int position()
           
static AnalyzeResponse.AnalyzeToken readAnalyzeToken(StreamInput in)
           
 void readFrom(StreamInput in)
           
 int startOffset()
           
 String term()
           
 String type()
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnalyzeResponse.AnalyzeToken

public AnalyzeResponse.AnalyzeToken(String term,
                                    int position,
                                    int startOffset,
                                    int endOffset,
                                    String type)
Method Detail

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.