|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lens.rdd.LensRDDClient.LensRDDResult
public static class LensRDDClient.LensRDDResult
Container object to store the RDD and corresponding Lens query handle.
Constructor Summary | |
---|---|
LensRDDClient.LensRDDResult()
Instantiates a new lens rdd result. |
|
LensRDDClient.LensRDDResult(org.apache.spark.rdd.RDD<List<Object>> rdd,
QueryHandle lensQuery,
String tempTableName)
Instantiates a new lens rdd result. |
Method Summary | |
---|---|
void |
deleteTempTable()
Delete temp table. |
QueryHandle |
getLensQuery()
|
org.apache.spark.rdd.RDD<List<Object>> |
getRDD()
|
String |
getTempTableName()
|
org.apache.spark.rdd.RDD<List<Object>> |
recreateRDD(org.apache.spark.api.java.JavaSparkContext sparkContext)
Recreate RDD. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LensRDDClient.LensRDDResult(org.apache.spark.rdd.RDD<List<Object>> rdd, QueryHandle lensQuery, String tempTableName)
rdd
- the rddlensQuery
- the lens querytempTableName
- the temp table namepublic LensRDDClient.LensRDDResult()
Method Detail |
---|
public QueryHandle getLensQuery()
public org.apache.spark.rdd.RDD<List<Object>> getRDD()
public org.apache.spark.rdd.RDD<List<Object>> recreateRDD(org.apache.spark.api.java.JavaSparkContext sparkContext) throws LensException
sparkContext
- the spark context
LensException
- the lens exceptionpublic String getTempTableName()
public void deleteTempTable() throws LensException
LensException
- the lens exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |