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.LineageCacheStatusgetCacheStatus()GPUObjectgetGPUObject()MatrixBlockgetMBValue()byte[]getSerializedBytes()longgetSize()ScalarObjectgetSOValue()booleanisMatrixValue()booleanisNullVal()booleanisScalarValue()booleanisSerializedBytes()voidsetGPUValue(GPUObject gpuObj, long computetime)voidsetValue(byte[] serialBytes, long computetime)voidsetValue(ScalarObject val, long computetime)voidsetValue(MatrixBlock val)voidsetValue(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()
-
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()
-
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)
-
setValue
public void setValue(byte[] serialBytes, long computetime)
-
getGPUObject
public GPUObject getGPUObject()
-
-