类 TermVectorsResponse

java.lang.Object
org.easysearch.client.core.TermVectorsResponse

public class TermVectorsResponse
extends java.lang.Object
  • 嵌套类概要

    嵌套类
    修饰符和类型 说明
    static class  TermVectorsResponse.TermVector  
  • 构造器概要

    构造器
    构造器 说明
    TermVectorsResponse​(java.lang.String index, java.lang.String type, java.lang.String id, long version, boolean found, long tookInMillis, java.util.List<TermVectorsResponse.TermVector> termVectorList)  
  • 方法概要

    修饰符和类型 方法 说明
    boolean equals​(java.lang.Object obj)  
    static TermVectorsResponse fromXContent​(org.easysearch.common.xcontent.XContentParser parser)  
    long getDocVersion()
    Returns the document version
    boolean getFound()
    Returns if the document is found always true for artificial documents
    java.lang.String getId()
    Returns the id of the request can be NULL if there is no document ID
    java.lang.String getIndex()
    Returns the index for the response
    java.util.List<TermVectorsResponse.TermVector> getTermVectorsList()
    Returns the list of term vectors
    long getTookInMillis()
    Returns the time that a request took in milliseconds
    java.lang.String getType()
    已过时。
    Types are in the process of being removed.
    int hashCode()  

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

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

    • TermVectorsResponse

      public TermVectorsResponse​(java.lang.String index, java.lang.String type, java.lang.String id, long version, boolean found, long tookInMillis, java.util.List<TermVectorsResponse.TermVector> termVectorList)
  • 方法详细资料

    • fromXContent

      public static TermVectorsResponse fromXContent​(org.easysearch.common.xcontent.XContentParser parser)
    • getIndex

      public java.lang.String getIndex()
      Returns the index for the response
    • getType

      @Deprecated public java.lang.String getType()
      已过时。
      Types are in the process of being removed.
      Returns the type for the response
    • getId

      public java.lang.String getId()
      Returns the id of the request can be NULL if there is no document ID
    • getFound

      public boolean getFound()
      Returns if the document is found always true for artificial documents
    • getDocVersion

      public long getDocVersion()
      Returns the document version
    • getTookInMillis

      public long getTookInMillis()
      Returns the time that a request took in milliseconds
    • getTermVectorsList

      public java.util.List<TermVectorsResponse.TermVector> getTermVectorsList()
      Returns the list of term vectors
    • equals

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

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