Class CNodeData
- java.lang.Object
-
- org.apache.sysds.hops.codegen.cplan.CNode
-
- org.apache.sysds.hops.codegen.cplan.CNodeData
-
public class CNodeData extends CNode
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
codegen(boolean sparse, SpoofCompiler.GeneratorAPI api)
boolean
equals(Object o)
long
getHopID()
String
getVarname()
String
getVarname(SpoofCompiler.GeneratorAPI api)
int
hashCode()
boolean
isSupported(SpoofCompiler.GeneratorAPI api)
void
setName(String name)
void
setOutputDims()
void
setStrictEquals(boolean flag)
String
toString()
-
Methods inherited from class org.apache.sysds.hops.codegen.cplan.CNode
createVarname, getClassname, getDataType, getID, getInput, getNumCols, getNumRows, getOutput, getVectorLength, isGenerated, isLiteral, isVisited, resetGenerated, resetHash, resetVisitStatus, setDataType, setLiteral, setNumCols, setNumRows, setOutput, setVarName, setVisited, setVisited
-
-
-
-
Constructor Detail
-
CNodeData
public CNodeData(Hop hop)
-
CNodeData
public CNodeData(Hop hop, long rows, long cols, Types.DataType dt)
-
-
Method Detail
-
getVarname
public String getVarname()
- Overrides:
getVarname
in classCNode
-
getVarname
public String getVarname(SpoofCompiler.GeneratorAPI api)
- Overrides:
getVarname
in classCNode
-
getHopID
public long getHopID()
-
setName
public void setName(String name)
-
setStrictEquals
public void setStrictEquals(boolean flag)
-
codegen
public String codegen(boolean sparse, SpoofCompiler.GeneratorAPI api)
-
setOutputDims
public void setOutputDims()
- Specified by:
setOutputDims
in classCNode
-
isSupported
public boolean isSupported(SpoofCompiler.GeneratorAPI api)
- Specified by:
isSupported
in classCNode
-
-