Package org.apache.sysds.parser
Class RelationalExpression
- java.lang.Object
- 
- org.apache.sysds.parser.Expression
- 
- org.apache.sysds.parser.RelationalExpression
 
 
- 
- All Implemented Interfaces:
- ParseInfo
 
 public class RelationalExpression extends Expression 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.apache.sysds.parser.ExpressionExpression.BinaryOp, Expression.BooleanOp, Expression.DataOp, Expression.FunctCallOp, Expression.RelationalOp
 
- 
 - 
Constructor SummaryConstructors Constructor Description RelationalExpression(Expression.RelationalOp bop)RelationalExpression(Expression.RelationalOp bop, ParseInfo parseInfo)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ExpressiongetLeft()Expression.RelationalOpgetOpCode()ExpressiongetRight()ExpressionrewriteExpression(String prefix)voidsetLeft(Expression l)voidsetRight(Expression r)StringtoString()voidvalidateExpression(HashMap<String,DataIdentifier> ids, HashMap<String,ConstIdentifier> constVars, boolean conditional)Validate parse tree : Process Relational ExpressionVariableSetvariablesRead()VariableSetvariablesUpdated()- 
Methods inherited from class org.apache.sysds.parser.ExpressioncomputeDataType, 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 Detail- 
RelationalExpressionpublic RelationalExpression(Expression.RelationalOp bop) 
 - 
RelationalExpressionpublic RelationalExpression(Expression.RelationalOp bop, ParseInfo parseInfo) 
 
- 
 - 
Method Detail- 
rewriteExpressionpublic Expression rewriteExpression(String prefix) - Specified by:
- rewriteExpressionin class- Expression
 
 - 
getOpCodepublic Expression.RelationalOp getOpCode() 
 - 
setLeftpublic void setLeft(Expression l) 
 - 
setRightpublic void setRight(Expression r) 
 - 
getLeftpublic Expression getLeft() 
 - 
getRightpublic Expression getRight() 
 - 
validateExpressionpublic void validateExpression(HashMap<String,DataIdentifier> ids, HashMap<String,ConstIdentifier> constVars, boolean conditional) Validate parse tree : Process Relational Expression- Overrides:
- validateExpressionin class- Expression
 
 - 
variablesReadpublic VariableSet variablesRead() - Specified by:
- variablesReadin class- Expression
 
 - 
variablesUpdatedpublic VariableSet variablesUpdated() - Specified by:
- variablesUpdatedin class- Expression
 
 
- 
 
-