Class CPlanMemoTable.MemoTableEntry
- java.lang.Object
-
- org.apache.sysds.hops.codegen.template.CPlanMemoTable.MemoTableEntry
-
- Enclosing class:
- CPlanMemoTable
public static class CPlanMemoTable.MemoTableEntry extends Object
-
-
Field Summary
Fields Modifier and Type Field Description TemplateBase.CloseTypectypelonginput1longinput2longinput3intsizeTemplateBase.TemplateTypetype
-
Constructor Summary
Constructors Constructor Description MemoTableEntry(TemplateBase.TemplateType t, long in1, long in2, long in3, int inlen)MemoTableEntry(TemplateBase.TemplateType t, long in1, long in2, long in3, int inlen, TemplateBase.CloseType close)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcountPlanRefs()booleanequalPlanRefs(CPlanMemoTable.MemoTableEntry that)booleanequals(Object obj)intgetPlanRefIndex()inthashCode()booleanhasPlanRef()booleanhasPlanRefTo(long hopID)longinput(int index)booleanisClosed()booleanisPlanRef(int index)booleanisValid()booleansubsumes(CPlanMemoTable.MemoTableEntry that)StringtoString()
-
-
-
Field Detail
-
type
public TemplateBase.TemplateType type
-
input1
public final long input1
-
input2
public final long input2
-
input3
public final long input3
-
size
public final int size
-
ctype
public TemplateBase.CloseType ctype
-
-
Constructor Detail
-
MemoTableEntry
public MemoTableEntry(TemplateBase.TemplateType t, long in1, long in2, long in3, int inlen)
-
MemoTableEntry
public MemoTableEntry(TemplateBase.TemplateType t, long in1, long in2, long in3, int inlen, TemplateBase.CloseType close)
-
-
Method Detail
-
isClosed
public boolean isClosed()
-
isValid
public boolean isValid()
-
isPlanRef
public boolean isPlanRef(int index)
-
hasPlanRef
public boolean hasPlanRef()
-
hasPlanRefTo
public boolean hasPlanRefTo(long hopID)
-
countPlanRefs
public int countPlanRefs()
-
getPlanRefIndex
public int getPlanRefIndex()
-
equalPlanRefs
public boolean equalPlanRefs(CPlanMemoTable.MemoTableEntry that)
-
input
public long input(int index)
-
subsumes
public boolean subsumes(CPlanMemoTable.MemoTableEntry that)
-
-