Package com.yahoo.prelude.fastsearch
Class FeatureDataField
- java.lang.Object
-
- com.yahoo.prelude.fastsearch.DocsumField
-
- com.yahoo.prelude.fastsearch.LongstringField
-
- com.yahoo.prelude.fastsearch.FeatureDataField
-
public class FeatureDataField extends LongstringField
Class representing a "feature data" field: A map of values which are either floats or tensors.
-
-
Field Summary
-
Fields inherited from class com.yahoo.prelude.fastsearch.DocsumField
name
-
-
Constructor Summary
Constructors Constructor Description FeatureDataField(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
convert(com.yahoo.data.access.Inspector value)
Convert a generic value into an object of the appropriate type for this field.java.lang.String
toString()
-
Methods inherited from class com.yahoo.prelude.fastsearch.DocsumField
create, getName
-
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
convert
public java.lang.Object convert(com.yahoo.data.access.Inspector value)
Description copied from class:DocsumField
Convert a generic value into an object of the appropriate type for this field.- Overrides:
convert
in classLongstringField
-
-