org.apache.sysml.udf

Class Scalar

    • Constructor Detail

      • Scalar

        public Scalar(Scalar.ScalarValueType t,
                      String val)
        Constructor to setup a scalar object.
        Parameters:
        t - scalar value type
        val - value
    • Method Detail

      • getScalarType

        public Scalar.ScalarValueType getScalarType()
        Method to get type of scalar.
        Returns:
        scalar value type
      • getValue

        public String getValue()
        Method to get value for scalar.
        Returns:
        scalar value

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