Package com.yahoo.prelude.fastsearch
Class DocsumField
- java.lang.Object
-
- com.yahoo.prelude.fastsearch.DocsumField
-
- Direct Known Subclasses:
Base64DataField
,BoolField
,ByteField
,DataField
,DoubleField
,Float16Field
,FloatField
,Int64Field
,IntegerField
,LongdataField
,LongstringField
,ShortField
,StringField
,StructDataField
,TensorField
,XMLField
public abstract class DocsumField extends java.lang.Object
- Author:
- Bjørn Borud, Steinar Knutsen
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
name
-
Constructor Summary
Constructors Modifier Constructor Description protected
DocsumField(java.lang.String name)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.lang.Object
convert(com.yahoo.data.access.Inspector value)
Convert a generic value into an object of the appropriate type for this field.static DocsumField
create(java.lang.String name, java.lang.String typename)
java.lang.String
getName()
-
-
-
Method Detail
-
create
public static DocsumField create(java.lang.String name, java.lang.String typename)
-
getName
public java.lang.String getName()
-
convert
public abstract java.lang.Object convert(com.yahoo.data.access.Inspector value)
Convert a generic value into an object of the appropriate type for this field.
-
-