Class TensorField

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

public class TensorField extends DocsumField
A tensor field. Tensors are encoded as a data field where the data (following the length) is encoded in a tensor binary format defined by com.yahoo.tensor.serialization.TypedBinaryFormat
Author:
bratseth
  • Constructor Details

    • TensorField

      public TensorField(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