Class RDDObject
- java.lang.Object
 - 
- org.apache.sysds.runtime.instructions.spark.data.LineageObject
 - 
- org.apache.sysds.runtime.instructions.spark.data.RDDObject
 
 
 
- 
public class RDDObject extends LineageObject
 
- 
- 
Constructor Summary
Constructors Constructor Description RDDObject(org.apache.spark.api.java.JavaPairRDD<?,?> rddvar) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallowsShortCircuitCollect()booleanallowsShortCircuitRead()Indicates if rdd is an hdfs file or a checkpoint over an hdfs file; in both cases, we can directly read the file instead of collecting the given rdd.DataCharacteristicsgetDataCharacteristics()StringgetHDFSFilename()org.apache.spark.api.java.JavaPairRDD<?,?>getRDD()booleanisCheckpointRDD()booleanisHDFSFile()booleanisParallelizedRDD()booleanisPending()booleanrHasCheckpointRDDChilds()voidsetCheckpointRDD(boolean flag)voidsetDataCharacteristics(DataCharacteristics dc)voidsetHDFSFile(boolean flag)voidsetHDFSFilename(String fname)voidsetParallelizedRDD(boolean flag)voidsetPending(boolean flag)voidsetRDD(org.apache.spark.api.java.JavaPairRDD<?,?> rddHandle)- 
Methods inherited from class org.apache.sysds.runtime.instructions.spark.data.LineageObject
addLineageChild, decrementNumReferences, getLineageChilds, getMaxReferenceCount, getNumReferences, hasBackReference, incrementNumReferences, isInLineageCache, removeAllChild, setBackReference, setLineageCached 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getRDD
public org.apache.spark.api.java.JavaPairRDD<?,?> getRDD()
 
- 
setRDD
public void setRDD(org.apache.spark.api.java.JavaPairRDD<?,?> rddHandle)
 
- 
setCheckpointRDD
public void setCheckpointRDD(boolean flag)
 
- 
isCheckpointRDD
public boolean isCheckpointRDD()
 
- 
setHDFSFile
public void setHDFSFile(boolean flag)
 
- 
setHDFSFilename
public void setHDFSFilename(String fname)
 
- 
isHDFSFile
public boolean isHDFSFile()
 
- 
getHDFSFilename
public String getHDFSFilename()
 
- 
setParallelizedRDD
public void setParallelizedRDD(boolean flag)
 
- 
isParallelizedRDD
public boolean isParallelizedRDD()
 
- 
setPending
public void setPending(boolean flag)
 
- 
isPending
public boolean isPending()
 
- 
setDataCharacteristics
public void setDataCharacteristics(DataCharacteristics dc)
 
- 
getDataCharacteristics
public DataCharacteristics getDataCharacteristics()
 
- 
allowsShortCircuitRead
public boolean allowsShortCircuitRead()
Indicates if rdd is an hdfs file or a checkpoint over an hdfs file; in both cases, we can directly read the file instead of collecting the given rdd.- Returns:
 - true if rdd is an hdfs file or a checkpoint over an hdfs file
 
 
- 
allowsShortCircuitCollect
public boolean allowsShortCircuitCollect()
 
- 
rHasCheckpointRDDChilds
public boolean rHasCheckpointRDDChilds()
 
 - 
 
 -