类 TermVectorsResponse.TermVector.Token

java.lang.Object
org.easysearch.client.core.TermVectorsResponse.TermVector.Token
封闭类:
TermVectorsResponse.TermVector

public static final class TermVectorsResponse.TermVector.Token
extends java.lang.Object
  • 构造器概要

    构造器
    构造器 说明
    Token​(java.lang.Integer startOffset, java.lang.Integer endOffset, java.lang.Integer position, java.lang.String payload)  
  • 方法概要

    修饰符和类型 方法 说明
    boolean equals​(java.lang.Object obj)  
    static TermVectorsResponse.TermVector.Token fromXContent​(org.easysearch.common.xcontent.XContentParser parser)  
    java.lang.Integer getEndOffset()
    Returns the end offset of the token in the document's field
    java.lang.String getPayload()
    Returns the payload of the token or null if the payload doesn't exist
    java.lang.Integer getPosition()
    Returns the position of the token in the document's field
    java.lang.Integer getStartOffset()
    Returns the start offset of the token in the document's field
    int hashCode()  

    从类继承的方法 java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • Token

      public Token​(java.lang.Integer startOffset, java.lang.Integer endOffset, java.lang.Integer position, java.lang.String payload)
  • 方法详细资料

    • fromXContent

      public static TermVectorsResponse.TermVector.Token fromXContent​(org.easysearch.common.xcontent.XContentParser parser)
    • getStartOffset

      public java.lang.Integer getStartOffset()
      Returns the start offset of the token in the document's field
    • getEndOffset

      public java.lang.Integer getEndOffset()
      Returns the end offset of the token in the document's field
    • getPosition

      public java.lang.Integer getPosition()
      Returns the position of the token in the document's field
    • getPayload

      public java.lang.String getPayload()
      Returns the payload of the token or null if the payload doesn't exist
    • equals

      public boolean equals​(java.lang.Object obj)
      覆盖:
      equals 在类中 java.lang.Object
    • hashCode

      public int hashCode()
      覆盖:
      hashCode 在类中 java.lang.Object