org.apache.sysml.api.mlcontext

Class FrameSchema



  • public class FrameSchema
    extends Object
    The frame schema, stored as a list of ValueType values.
    • Constructor Detail

      • FrameSchema

        public FrameSchema()
      • FrameSchema

        public FrameSchema(List<org.apache.sysml.parser.Expression.ValueType> schema)
        Constructor that specifies the schema as a list of ValueType values.
        Parameters:
        schema - the frame schema
      • FrameSchema

        public FrameSchema(String schema)
        Constructor that specifies the schema as a comma-separated string.
        Parameters:
        schema - the frame schema as a string
    • Method Detail

      • getSchema

        public List<org.apache.sysml.parser.Expression.ValueType> getSchema()
        Obtain the frame schema
        Returns:
        the frame schema as a list of ValueType values
      • setSchema

        public void setSchema(List<org.apache.sysml.parser.Expression.ValueType> schema)
        Set the frame schema
        Parameters:
        schema - the frame schema
      • setSchemaAsString

        public void setSchemaAsString(String schema)
        Set the frame schema, specifying the frame schema as a comma-separated string
        Parameters:
        schema - the frame schema as a string
      • getSchemaAsString

        public String getSchemaAsString()
        Obtain the schema as a comma-separated string
        Returns:
        the frame schema as a string

Copyright © 2017 The Apache Software Foundation. All rights reserved.