public static class LensRDDClient.LensRDDResult extends Object implements Serializable
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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()
public QueryHandle getLensQuery()
public org.apache.spark.rdd.RDD<List<Object>> recreateRDD(org.apache.spark.api.java.JavaSparkContext sparkContext) throws LensException
sparkContext
- the spark contextLensException
- the lens exceptionpublic String getTempTableName()
public void deleteTempTable() throws LensException
LensException
- the lens exceptionCopyright © 2014–2015 Apache Software Foundation. All rights reserved.