Class DataField

java.lang.Object
com.yahoo.prelude.fastsearch.DocsumField
com.yahoo.prelude.fastsearch.DataField

public class DataField extends DocsumField
Class representing a data field in the result set. a data field is basically the same thing as a string field, only that we treat it like a raw buffer. Well we SHOULD. we don't actually do so. yet. we should probably do some defensive copying and return a ByteBuffer...hmm...
Author:
Bjørn Borud
  • Constructor Details

    • DataField

      public DataField(String name)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • convert

      public 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.
      Specified by:
      convert in class DocsumField