Package org.apache.sysds.parser
Class Identifier
java.lang.Object
org.apache.sysds.parser.Expression
org.apache.sysds.parser.Identifier
- All Implemented Interfaces:
ParseInfo
- Direct Known Subclasses:
ConstIdentifier,DataIdentifier,ListIdentifier
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanintlonggetDim1()longgetDim2()longgetNnz()booleanvoidsetBlocksize(int blen) voidvoidvoidsetDimensions(long dim1, long dim2) voidvoidvoidvoidsetNnz(long nnzs) voidvoidvoidvalidateExpression(HashMap<String, DataIdentifier> ids, HashMap<String, ConstIdentifier> constVars, boolean conditional) Methods 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, rewriteExpression, setBeginColumn, setBeginLine, setCtxValues, setCtxValuesAndFilename, setEndColumn, setEndLine, setFilename, setOutput, setParseExceptionList, setParseInfo, setText, validateExpression, variablesRead, variablesUpdated
-
Constructor Details
-
Identifier
public Identifier()
-
-
Method Details
-
setProperties
-
setDimensionValueProperties
-
setDataType
-
setValueType
-
setFileFormat
-
setDimensions
public void setDimensions(long dim1, long dim2) -
setNnz
public void setNnz(long nnzs) -
getDim1
public long getDim1() -
getDim2
public long getDim2() -
getDataType
-
getValueType
-
getFileFormat
-
getBlocksize
public int getBlocksize() -
setBlocksize
public void setBlocksize(int blen) -
getNnz
public long getNnz() -
validateExpression
public void validateExpression(HashMap<String, DataIdentifier> ids, HashMap<String, ConstIdentifier> constVars, boolean conditional) - Overrides:
validateExpressionin classExpression
-
computeDataType
public void computeDataType() -
setBooleanProperties
public void setBooleanProperties() -
setIntProperties
public void setIntProperties() -
isScalarBoolean
public boolean isScalarBoolean() -
dimsKnown
public boolean dimsKnown()
-