• Packages that use DMLException 
    Package Description
    org.apache.sysml.api  
    org.apache.sysml.api.jmlc  
    org.apache.sysml.runtime  
    • Uses of DMLException in org.apache.sysml.api

      Methods in org.apache.sysml.api that throw DMLException 
      Modifier and Type Method and Description
      static boolean DMLScript.executeScript(org.apache.hadoop.conf.Configuration conf, String[] args)
      Single entry point for all public invocation alternatives (e.g., main, executeScript, JaqlUdf etc)
      static void DMLScript.main(String[] args) 
    • Uses of DMLException in org.apache.sysml.api.jmlc

      Methods in org.apache.sysml.api.jmlc that throw DMLException 
      Modifier and Type Method and Description
      void PreparedScript.enableFunctionRecompile(String fnamespace, String... fnames)
      Enables function recompilation, selectively for the given functions.
      ResultVariables PreparedScript.executeScript()
      Executes the prepared script over the bound inputs, creating the result variables according to bound and registered outputs.
      String PreparedScript.explain()
      Explain the DML/PyDML program and view result as a string.
      boolean ResultVariables.getBoolean(String varname)
      Obtain the boolean value represented by the given output variable.
      double ResultVariables.getDouble(String varname)
      Obtain the double value represented by the given output variable.
      String[][] ResultVariables.getFrame(String varname)
      Obtain the frame represented by the given output variable.
      FrameBlock ResultVariables.getFrameBlock(String varname)
      Obtain the frame represented by the given output variable.
      long ResultVariables.getLong(String varname)
      Obtain the long value represented by the given output variable.
      double[][] ResultVariables.getMatrix(String varname)
      Obtain the matrix represented by the given output variable.
      MatrixBlock ResultVariables.getMatrixBlock(String varname)
      Obtain the matrix represented by the given output variable.
      org.apache.sysml.runtime.instructions.cp.ScalarObject ResultVariables.getScalarObject(String varname)
      Obtain the ScalarObject represented by the given output variable.
      String ResultVariables.getString(String varname)
      Obtain the string value represented by the given output variable.
      PreparedScript Connection.prepareScript(String script, Map<String,String> args, String[] inputs, String[] outputs, boolean parsePyDML)
      Prepares (precompiles) a script, sets input parameter values, and registers input and output variables.
      PreparedScript Connection.prepareScript(String script, String[] inputs, String[] outputs, boolean parsePyDML)
      Prepares (precompiles) a script and registers input and output variables.
      void PreparedScript.setFrame(String varname, FrameBlock frame, boolean reuse)
      Binds a frame object to a registered input variable.
      void PreparedScript.setFrame(String varname, String[][] frame)
      Binds a frame object to a registered input variable.
      void PreparedScript.setFrame(String varname, String[][] frame, boolean reuse)
      Binds a frame object to a registered input variable.
      void PreparedScript.setFrame(String varname, String[][] frame, List<org.apache.sysml.parser.Expression.ValueType> schema)
      Binds a frame object to a registered input variable.
      void PreparedScript.setFrame(String varname, String[][] frame, List<org.apache.sysml.parser.Expression.ValueType> schema, boolean reuse)
      Binds a frame object to a registered input variable.
      void PreparedScript.setFrame(String varname, String[][] frame, List<org.apache.sysml.parser.Expression.ValueType> schema, List<String> colnames)
      Binds a frame object to a registered input variable.
      void PreparedScript.setFrame(String varname, String[][] frame, List<org.apache.sysml.parser.Expression.ValueType> schema, List<String> colnames, boolean reuse)
      Binds a frame object to a registered input variable.
      void PreparedScript.setMatrix(String varname, double[][] matrix)
      Binds a matrix object to a registered input variable.
      void PreparedScript.setMatrix(String varname, double[][] matrix, boolean reuse)
      Binds a matrix object to a registered input variable.
      void PreparedScript.setMatrix(String varname, MatrixBlock matrix, boolean reuse)
      Binds a matrix object to a registered input variable.
      void PreparedScript.setScalar(String varname, boolean scalar)
      Binds a scalar boolean to a registered input variable.
      void PreparedScript.setScalar(String varname, boolean scalar, boolean reuse)
      Binds a scalar boolean to a registered input variable.
      void PreparedScript.setScalar(String varname, double scalar)
      Binds a scalar double to a registered input variable.
      void PreparedScript.setScalar(String varname, double scalar, boolean reuse)
      Binds a scalar double to a registered input variable.
      void PreparedScript.setScalar(String varname, long scalar)
      Binds a scalar long to a registered input variable.
      void PreparedScript.setScalar(String varname, long scalar, boolean reuse)
      Binds a scalar long to a registered input variable.
      void PreparedScript.setScalar(String varname, org.apache.sysml.runtime.instructions.cp.ScalarObject scalar, boolean reuse)
      Binds a scalar object to a registered input variable.
      void PreparedScript.setScalar(String varname, String scalar)
      Binds a scalar string to a registered input variable.
      void PreparedScript.setScalar(String varname, String scalar, boolean reuse)
      Binds a scalar string to a registered input variable.
    • Uses of DMLException in org.apache.sysml.runtime

      Subclasses of DMLException in org.apache.sysml.runtime 
      Modifier and Type Class and Description
      class  DMLRuntimeException
      This exception should be thrown to flag runtime errors -- DML equivalent to java.lang.RuntimeException.
      class  DMLScriptException
      This exception should be thrown to flag DML Script errors.

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