public class ResultVariables extends Object
PreparedScript
's executeScript
method, which executes a DML/PyDML script.Constructor and Description |
---|
ResultVariables() |
Modifier and Type | Method and Description |
---|---|
boolean |
getBoolean(String varname)
Obtain the boolean value represented by the given output variable.
|
double |
getDouble(String varname)
Obtain the double value represented by the given output variable.
|
String[][] |
getFrame(String varname)
Obtain the frame represented by the given output variable.
|
FrameBlock |
getFrameBlock(String varname)
Obtain the frame represented by the given output variable.
|
long |
getLong(String varname)
Obtain the long value represented by the given output variable.
|
double[][] |
getMatrix(String varname)
Obtain the matrix represented by the given output variable.
|
MatrixBlock |
getMatrixBlock(String varname)
Obtain the matrix represented by the given output variable.
|
ScalarObject |
getScalarObject(String varname)
Obtain the ScalarObject represented by the given output variable.
|
String |
getString(String varname)
Obtain the string value represented by the given output variable.
|
Set<String> |
getVariableNames()
Obtain the output variable names held by this ResultVariables object.
|
int |
size()
Obtain the number of output data held by this ResultVariables object.
|
public Set<String> getVariableNames()
public int size()
public double[][] getMatrix(String varname)
varname
- output variable namepublic MatrixBlock getMatrixBlock(String varname)
varname
- output variable namepublic String[][] getFrame(String varname)
varname
- output variable namepublic FrameBlock getFrameBlock(String varname)
varname
- output variable namepublic double getDouble(String varname)
varname
- output variable namepublic boolean getBoolean(String varname)
varname
- output variable namepublic long getLong(String varname)
varname
- output variable namepublic String getString(String varname)
varname
- output variable namepublic ScalarObject getScalarObject(String varname)
varname
- output variable nameCopyright © 2022 The Apache Software Foundation. All rights reserved.