Package org.apache.sysds.runtime.lineage
Class LineageCacheEntry
- java.lang.Object
-
- org.apache.sysds.runtime.lineage.LineageCacheEntry
-
public class LineageCacheEntry extends Object
-
-
Constructor Summary
Constructors Constructor Description LineageCacheEntry(LineageItem key, Types.DataType dt, MatrixBlock Mval, ScalarObject Sval, long computetime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.sysds.runtime.lineage.LineageCacheConfig.LineageCacheStatus
getCacheStatus()
GPUObject
getGPUObject()
MatrixBlock
getMBValue()
RDDObject
getRDDObject()
byte[]
getSerializedBytes()
long
getSize()
ScalarObject
getSOValue()
boolean
isGPUObject()
boolean
isMatrixValue()
boolean
isNullVal()
boolean
isRDDPersist()
boolean
isScalarValue()
boolean
isSerializedBytes()
void
setGPUValue(GPUObject gpuObj, long computetime)
void
setRDDValue(RDDObject rdd, long computetime)
void
setValue(byte[] serialBytes, long computetime)
void
setValue(ScalarObject val, long computetime)
void
setValue(MatrixBlock val)
void
setValue(MatrixBlock val, long computetime)
-
-
-
Constructor Detail
-
LineageCacheEntry
public LineageCacheEntry(LineageItem key, Types.DataType dt, MatrixBlock Mval, ScalarObject Sval, long computetime)
-
-
Method Detail
-
getMBValue
public MatrixBlock getMBValue()
-
getSOValue
public ScalarObject getSOValue()
-
getRDDObject
public RDDObject getRDDObject()
-
getSerializedBytes
public byte[] getSerializedBytes()
-
getCacheStatus
public org.apache.sysds.runtime.lineage.LineageCacheConfig.LineageCacheStatus getCacheStatus()
-
getSize
public long getSize()
-
isNullVal
public boolean isNullVal()
-
isMatrixValue
public boolean isMatrixValue()
-
isScalarValue
public boolean isScalarValue()
-
isRDDPersist
public boolean isRDDPersist()
-
isGPUObject
public boolean isGPUObject()
-
isSerializedBytes
public boolean isSerializedBytes()
-
setValue
public void setValue(MatrixBlock val, long computetime)
-
setValue
public void setValue(MatrixBlock val)
-
setValue
public void setValue(ScalarObject val, long computetime)
-
setGPUValue
public void setGPUValue(GPUObject gpuObj, long computetime)
-
setRDDValue
public void setRDDValue(RDDObject rdd, long computetime)
-
setValue
public void setValue(byte[] serialBytes, long computetime)
-
getGPUObject
public GPUObject getGPUObject()
-
-