Package smile.data

Class AbstractTuple

java.lang.Object
smile.data.AbstractTuple
All Implemented Interfaces:
Serializable, Tuple

public abstract class AbstractTuple extends Object implements Tuple
Abstract tuple base class.
See Also:
  • Field Details

    • schema

      protected final StructType schema
      The schema of tuple.
  • Constructor Details

    • AbstractTuple

      public AbstractTuple(StructType schema)
      Constructor.
      Parameters:
      schema - the schema of tuple.
  • Method Details

    • schema

      public StructType schema()
      Description copied from interface: Tuple
      Returns the schema of tuple.
      Specified by:
      schema in interface Tuple
      Returns:
      the schema of tuple.
    • toString

      public String toString()
      Overrides:
      toString in class Object