public interface HqlScript
Modifier and Type | Method and Description |
---|---|
void |
runScript(org.apache.spark.sql.hive.HiveContext hqlContext)
Runs the hql script or expressions represented by this HqlScript using a HiveContext
|
org.apache.spark.sql.Row[] |
runScriptReturnResults(org.apache.spark.sql.hive.HiveContext hqlContext)
Runs the hql script or expressions represented by this HqlScript using a HiveContext, returning a results set from the script
|
void runScript(org.apache.spark.sql.hive.HiveContext hqlContext)
hqlContext
- an HqlContext, as provided by spark through the TestHiveServer TestRule, used to run hql expressionsorg.apache.spark.sql.Row[] runScriptReturnResults(org.apache.spark.sql.hive.HiveContext hqlContext)
hqlContext
- an HqlContext, as provided by spark through the TestHiveServer TestRule, used to run hql expressionsCopyright © 2016. All rights reserved.