public class JavaHiveContext extends JavaSQLContext
Constructor and Description |
---|
JavaHiveContext(JavaSparkContext sparkContext) |
Modifier and Type | Method and Description |
---|---|
JavaSchemaRDD |
hql(String hqlQuery)
Executes a query expressed in HiveQL, returning the result as a JavaSchemaRDD.
|
HiveContext |
sqlContext() |
applySchema, createParquetFile, jsonFile, jsonRDD, parquetFile, registerRDDAsTable, sql
public JavaHiveContext(JavaSparkContext sparkContext)
public HiveContext sqlContext()
sqlContext
in class JavaSQLContext
public JavaSchemaRDD hql(String hqlQuery)