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
  • Constructor Details

  • Method Details

    • fromXContent

      public static TermVectorsResponse.TermVector.Token fromXContent(org.elasticsearch.xcontent.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 or null if the payload doesn't exist
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object