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 voidcopyValueFrom(LineageCacheEntry src, long computetime)org.apache.sysds.runtime.lineage.LineageCacheConfig.LineageCacheStatusgetCacheStatus()DataCharacteristicsgetDataCharacteristics()jcuda.PointergetGPUPointer()MatrixBlockgetMBValue()RDDObjectgetRDDObject()byte[]getSerializedBytes()longgetSize()ScalarObjectgetSOValue()booleanisDensePointer()booleanisGPUObject()booleanisLocalObject()booleanisMatrixValue()booleanisNullVal()booleanisRDDPersist()booleanisScalarValue()booleanisSerializedBytes()voidsetGPUValue(jcuda.Pointer ptr, long size, MetaData md, long computetime)voidsetRDDValue(RDDObject rdd)voidsetRDDValue(RDDObject rdd, 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()
 
- 
getRDDObject
public RDDObject getRDDObject()
 
- 
getSerializedBytes
public byte[] getSerializedBytes()
 
- 
getGPUPointer
public jcuda.Pointer getGPUPointer()
 
- 
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()
 
- 
isLocalObject
public boolean isLocalObject()
 
- 
isRDDPersist
public boolean isRDDPersist()
 
- 
isGPUObject
public boolean isGPUObject()
 
- 
isDensePointer
public boolean isDensePointer()
 
- 
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(jcuda.Pointer ptr, long size, MetaData md, long computetime) 
- 
setRDDValue
public void setRDDValue(RDDObject rdd, long computetime)
 
- 
setRDDValue
public void setRDDValue(RDDObject rdd)
 
- 
setValue
public void setValue(byte[] serialBytes, long computetime) 
- 
copyValueFrom
public void copyValueFrom(LineageCacheEntry src, long computetime)
 
- 
getDataCharacteristics
public DataCharacteristics getDataCharacteristics()
 
 - 
 
 -