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 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(String fieldName, TermVectorsResponse.TermVector.FieldStatistics fieldStatistics, List<TermVectorsResponse.TermVector.Term> terms)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static TermVectorsResponse.TermVectorfromXContent(XContentParser parser, String fieldName)StringgetFieldName()Returns the field name of the current term vectorTermVectorsResponse.TermVector.FieldStatisticsgetFieldStatistics()Returns the field statistics for the current fieldList<TermVectorsResponse.TermVector.Term>getTerms()Returns the list of terms for the current term vectorinthashCode()
-
-
-
Constructor Detail
-
TermVector
public TermVector(String fieldName, TermVectorsResponse.TermVector.FieldStatistics fieldStatistics, List<TermVectorsResponse.TermVector.Term> terms)
-
-
Method Detail
-
fromXContent
public static TermVectorsResponse.TermVector fromXContent(XContentParser parser, String fieldName)
-
getFieldName
public String getFieldName()
Returns the field name of the current term vector
-
getTerms
public 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
-
-