Package com.linkedin.feathr.common.value
Class TermVectorFeatureValue
java.lang.Object
com.linkedin.feathr.common.value.TermVectorFeatureValue
- All Implemented Interfaces:
FeatureValue
A specific FeatureValue class for TERM_VECTOR features. Underlying representation is a Map of String to Float.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic TermVectorFeatureValueinthashCode()toString()
-
Field Details
-
_termVector
-
-
Constructor Details
-
TermVectorFeatureValue
-
-
Method Details
-
fromMap
- Returns:
- a term-vector feature value for the given term-vector map
-
getTermVector
- Returns:
- the contained term-vector map
-
getFeatureType
- Specified by:
getFeatureTypein interfaceFeatureValue- Returns:
- the
FeatureTypeof this feature
-
equals
-
hashCode
public int hashCode() -
toString
-