Class RDDObject
java.lang.Object
org.apache.sysds.runtime.instructions.spark.data.LineageObject
org.apache.sysds.runtime.instructions.spark.data.RDDObject
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanIndicates 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.org.apache.spark.api.java.JavaPairRDD<?,?> getRDD()booleanbooleanbooleanbooleanbooleanvoidsetCheckpointRDD(boolean flag) voidvoidsetHDFSFile(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
-
Constructor Details
-
RDDObject
public RDDObject(org.apache.spark.api.java.JavaPairRDD<?, ?> rddvar)
-
-
Method Details
-
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
-
isHDFSFile
public boolean isHDFSFile() -
getHDFSFilename
-
setParallelizedRDD
public void setParallelizedRDD(boolean flag) -
isParallelizedRDD
public boolean isParallelizedRDD() -
setPending
public void setPending(boolean flag) -
isPending
public boolean isPending() -
setDataCharacteristics
-
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()
-