Package org.apache.sysds.parser
Class DataIdentifier
java.lang.Object
org.apache.sysds.parser.Expression
org.apache.sysds.parser.Identifier
org.apache.sysds.parser.DataIdentifier
- All Implemented Interfaces:
ParseInfo
- Direct Known Subclasses:
BuiltinFunctionExpression,DataExpression,FunctionCallIdentifier,IndexedIdentifier,MetaDataAll,ParameterizedBuiltinFunctionExpression
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.sysds.parser.Expression
Expression.BinaryOp, Expression.BooleanOp, Expression.DataOp, Expression.FunctCallOp, Expression.RelationalOp -
Constructor Summary
ConstructorsConstructorDescriptionDataIdentifier(String name) DataIdentifier(String name, Types.DataType dt) DataIdentifier(String name, Types.DataType dt, Types.ValueType vt) DataIdentifier(DataIdentifier passed) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetName()inthashCode()booleanMethod to specify if an expression returns multiple outputs.rewriteExpression(String prefix) voidtoString()Methods inherited from class org.apache.sysds.parser.Identifier
computeDataType, dimsKnown, getBlocksize, getDataType, getDim1, getDim2, getFileFormat, getNnz, getValueType, isScalarBoolean, setBlocksize, setBooleanProperties, setDataType, setDimensions, setDimensionValueProperties, setFileFormat, setIntProperties, setNnz, setProperties, setValueType, validateExpressionMethods inherited from class org.apache.sysds.parser.Expression
computeDataType, computeDataType, computeValueType, computeValueType, computeValueType, convertFormatType, getBeginColumn, getBeginLine, getBinaryMatrixCharacteristics, getBinaryOp, getBooleanOp, getEndColumn, getEndLine, getFilename, getOutput, getOutputs, getParseExceptionList, getRelationalOp, getTempName, getText, printErrorLocation, printInfoLocation, printWarningLocation, raiseValidateError, raiseValidateError, raiseValidateError, setBeginColumn, setBeginLine, setCtxValues, setCtxValuesAndFilename, setEndColumn, setEndLine, setFilename, setOutput, setParseExceptionList, setParseInfo, setText, validateExpression
-
Constructor Details
-
DataIdentifier
-
DataIdentifier
-
DataIdentifier
-
DataIdentifier
-
DataIdentifier
public DataIdentifier()
-
-
Method Details
-
rewriteExpression
- Specified by:
rewriteExpressionin classExpression
-
getName
-
setName
-
toString
-
variablesRead
- Specified by:
variablesReadin classExpression
-
variablesUpdated
- Specified by:
variablesUpdatedin classExpression
-
multipleReturns
public boolean multipleReturns()Method to specify if an expression returns multiple outputs. This method must be overridden by all child classes.- Returns:
- true if expression returns multiple outputs
-
equals
- Overrides:
equalsin classExpression
-
hashCode
public int hashCode()- Overrides:
hashCodein classExpression
-