Package org.elasticsearch.client.core
Class TermVectorsResponse.TermVector
- java.lang.Object
-
- org.elasticsearch.client.core.TermVectorsResponse.TermVector
-
- Enclosing class:
- TermVectorsResponse
public static final class TermVectorsResponse.TermVector extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTermVectorsResponse.TermVector.FieldStatisticsstatic classTermVectorsResponse.TermVector.Termstatic classTermVectorsResponse.TermVector.Token
-
Constructor Summary
Constructors Constructor Description TermVector(java.lang.String fieldName, TermVectorsResponse.TermVector.FieldStatistics fieldStatistics, java.util.List<TermVectorsResponse.TermVector.Term> terms)
-
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object obj)static TermVectorsResponse.TermVectorfromXContent(XContentParser parser, java.lang.String fieldName)java.lang.StringgetFieldName()Returns the field name of the current term vectorTermVectorsResponse.TermVector.FieldStatisticsgetFieldStatistics()Returns the field statistics for the current fieldjava.util.List<TermVectorsResponse.TermVector.Term>getTerms()Returns the list of terms for the current term vectorinthashCode()
-
-
-
Constructor Detail
-
TermVector
public TermVector(java.lang.String fieldName, TermVectorsResponse.TermVector.FieldStatistics fieldStatistics, java.util.List<TermVectorsResponse.TermVector.Term> terms)
-
-
Method Detail
-
fromXContent
public static TermVectorsResponse.TermVector fromXContent(XContentParser parser, java.lang.String fieldName)
-
getFieldName
public java.lang.String getFieldName()
Returns the field name of the current term vector
-
getTerms
public java.util.List<TermVectorsResponse.TermVector.Term> getTerms()
Returns the list of terms for the current term vector
-
getFieldStatistics
public TermVectorsResponse.TermVector.FieldStatistics getFieldStatistics()
Returns the field statistics for the current field
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-