Class CNodeCell
- java.lang.Object
-
- org.apache.sysds.hops.codegen.cplan.CNode
-
- org.apache.sysds.hops.codegen.cplan.CNodeTpl
-
- org.apache.sysds.hops.codegen.cplan.CNodeCell
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CNodeTplclone()Stringcodegen(boolean sparse, SpoofCompiler.GeneratorAPI _api)intcompile(SpoofCompiler.GeneratorAPI api, String src)booleancontainsSeq()booleanequals(Object o)Types.AggOpgetAggOp()SpoofCellwise.CellTypegetCellType()SpoofFusedOp.SpoofOutputDimsTypegetOutputDimType()SpoofCellwise.AggOpgetSpoofAggOp()StringgetTemplateInfo()inthashCode()booleanhasMultipleConsumers()booleanisSparseSafe()booleanisSupported(SpoofCompiler.GeneratorAPI api)voidrenameInputs()booleanrequiredCastDtm()voidsetAggOp(Types.AggOp aggop)voidsetCellType(SpoofCellwise.CellType type)voidsetContainsSeq(boolean flag)voidsetMultipleConsumers(boolean flag)voidsetOutputDims()voidsetRequiresCastDtm(boolean flag)voidsetSparseSafe(boolean flag)-
Methods inherited from class org.apache.sysds.hops.codegen.cplan.CNodeTpl
addInput, codegen, getBeginLine, getGeneratorAPI, getInputHopIDs, getInputNames, resetVisitStatus, resetVisitStatusOutputs, rReorderCommutativeBinaryOps, setBeginLine, setGeneratorAPI
-
Methods inherited from class org.apache.sysds.hops.codegen.cplan.CNode
createVarname, getClassname, getDataType, getID, getInput, getNumCols, getNumRows, getOutput, getVarname, getVarname, getVectorLength, isGenerated, isLiteral, isVisited, resetGenerated, resetHash, resetVisitStatus, setDataType, setLiteral, setNumCols, setNumRows, setOutput, setVarName, setVisited, setVisited
-
-
-
-
Method Detail
-
setMultipleConsumers
public void setMultipleConsumers(boolean flag)
-
hasMultipleConsumers
public boolean hasMultipleConsumers()
-
setCellType
public void setCellType(SpoofCellwise.CellType type)
-
getCellType
public SpoofCellwise.CellType getCellType()
-
setAggOp
public void setAggOp(Types.AggOp aggop)
-
getAggOp
public Types.AggOp getAggOp()
-
getSpoofAggOp
public SpoofCellwise.AggOp getSpoofAggOp()
-
setSparseSafe
public void setSparseSafe(boolean flag)
-
isSparseSafe
public boolean isSparseSafe()
-
setContainsSeq
public void setContainsSeq(boolean flag)
-
containsSeq
public boolean containsSeq()
-
setRequiresCastDtm
public void setRequiresCastDtm(boolean flag)
-
requiredCastDtm
public boolean requiredCastDtm()
-
renameInputs
public void renameInputs()
- Specified by:
renameInputsin classCNodeTpl
-
codegen
public String codegen(boolean sparse, SpoofCompiler.GeneratorAPI _api)
-
setOutputDims
public void setOutputDims()
- Specified by:
setOutputDimsin classCNode
-
getOutputDimType
public SpoofFusedOp.SpoofOutputDimsType getOutputDimType()
- Specified by:
getOutputDimTypein classCNodeTpl
-
getTemplateInfo
public String getTemplateInfo()
- Specified by:
getTemplateInfoin classCNodeTpl
-
isSupported
public boolean isSupported(SpoofCompiler.GeneratorAPI api)
- Specified by:
isSupportedin classCNode
-
compile
public int compile(SpoofCompiler.GeneratorAPI api, String src)
-
-