public class RDDObject extends LineageObject
Constructor and Description |
---|
RDDObject(org.apache.spark.api.java.JavaPairRDD<?,?> rddvar) |
Modifier and Type | Method and Description |
---|---|
boolean |
allowsShortCircuitCollect() |
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.
|
String |
getHDFSFilename() |
org.apache.spark.api.java.JavaPairRDD<?,?> |
getRDD() |
boolean |
isCheckpointRDD() |
boolean |
isHDFSFile() |
boolean |
isParallelizedRDD() |
boolean |
isPending() |
boolean |
rHasCheckpointRDDChilds() |
void |
setCheckpointRDD(boolean flag) |
void |
setHDFSFile(boolean flag) |
void |
setHDFSFilename(String fname) |
void |
setParallelizedRDD(boolean flag) |
void |
setPending(boolean flag) |
addLineageChild, decrementNumReferences, getLineageChilds, getNumReferences, hasBackReference, incrementNumReferences, setBackReference
public org.apache.spark.api.java.JavaPairRDD<?,?> getRDD()
public void setCheckpointRDD(boolean flag)
public boolean isCheckpointRDD()
public void setHDFSFile(boolean flag)
public void setHDFSFilename(String fname)
public boolean isHDFSFile()
public String getHDFSFilename()
public void setParallelizedRDD(boolean flag)
public boolean isParallelizedRDD()
public void setPending(boolean flag)
public boolean isPending()
public boolean allowsShortCircuitRead()
public boolean allowsShortCircuitCollect()
public boolean rHasCheckpointRDDChilds()
Copyright © 2020 The Apache Software Foundation. All rights reserved.