Package org.apache.sysds.parser
Class IntIdentifier
java.lang.Object
org.apache.sysds.parser.Expression
org.apache.sysds.parser.Identifier
org.apache.sysds.parser.ConstIdentifier
org.apache.sysds.parser.IntIdentifier
- All Implemented Interfaces:
ParseInfo
-
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
ConstructorsConstructorDescriptionIntIdentifier(long val) IntIdentifier(long val, ParseInfo parseInfo) IntIdentifier(org.antlr.v4.runtime.ParserRuleContext ctx, long val, String filename) IntIdentifier(IntIdentifier i, ParseInfo parseInfo) -
Method Summary
Modifier and TypeMethodDescriptionlonglonggetValue()voidrewriteExpression(String prefix) toString()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, equals, getBeginColumn, getBeginLine, getBinaryMatrixCharacteristics, getBinaryOp, getBooleanOp, getEndColumn, getEndLine, getFilename, getOutput, getOutputs, getParseExceptionList, getRelationalOp, getTempName, getText, hashCode, printErrorLocation, printInfoLocation, printWarningLocation, raiseValidateError, raiseValidateError, raiseValidateError, setBeginColumn, setBeginLine, setCtxValues, setCtxValuesAndFilename, setEndColumn, setEndLine, setFilename, setOutput, setParseExceptionList, setParseInfo, setText, validateExpression
-
Constructor Details
-
IntIdentifier
public IntIdentifier(long val) -
IntIdentifier
-
IntIdentifier
-
IntIdentifier
-
-
Method Details
-
rewriteExpression
- Specified by:
rewriteExpressionin classExpression
-
multiplyByMinusOne
public void multiplyByMinusOne() -
getValue
public long getValue() -
toString
-
variablesRead
- Specified by:
variablesReadin classExpression
-
variablesUpdated
- Specified by:
variablesUpdatedin classExpression
-
getLongValue
public long getLongValue()- Specified by:
getLongValuein classConstIdentifier
-