Package org.elasticsearch.client.core
Class TermVectorsResponse.TermVector.Token
- java.lang.Object
-
- org.elasticsearch.client.core.TermVectorsResponse.TermVector.Token
-
- Enclosing class:
- TermVectorsResponse.TermVector
public static final class TermVectorsResponse.TermVector.Token extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static TermVectorsResponse.TermVector.TokenfromXContent(XContentParser parser)IntegergetEndOffset()Returns the end offset of the token in the document's fieldStringgetPayload()Returns the payload of the token ornullif the payload doesn't existIntegergetPosition()Returns the position of the token in the document's fieldIntegergetStartOffset()Returns the start offset of the token in the document's fieldinthashCode()
-
-
-
Method Detail
-
fromXContent
public static TermVectorsResponse.TermVector.Token fromXContent(XContentParser parser)
-
getStartOffset
public Integer getStartOffset()
Returns the start offset of the token in the document's field
-
getEndOffset
public Integer getEndOffset()
Returns the end offset of the token in the document's field
-
getPosition
public Integer getPosition()
Returns the position of the token in the document's field
-
getPayload
public String getPayload()
Returns the payload of the token ornullif the payload doesn't exist
-
-