Package org.elasticsearch.client.core
Class TermVectorsResponse.TermVector.Token
java.lang.Object
org.elasticsearch.client.core.TermVectorsResponse.TermVector.Token
- Enclosing class:
- TermVectorsResponse.TermVector
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
fromXContent
(org.elasticsearch.xcontent.XContentParser parser) Returns the end offset of the token in the document's fieldReturns the payload of the token ornull
if the payload doesn't existReturns the position of the token in the document's fieldReturns the start offset of the token in the document's fieldint
hashCode()
-
Constructor Details
-
Token
-
-
Method Details
-
fromXContent
public static TermVectorsResponse.TermVector.Token fromXContent(org.elasticsearch.xcontent.XContentParser parser) -
getStartOffset
Returns the start offset of the token in the document's field -
getEndOffset
Returns the end offset of the token in the document's field -
getPosition
Returns the position of the token in the document's field -
getPayload
Returns the payload of the token ornull
if the payload doesn't exist -
equals
-
hashCode
public int hashCode()
-