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, sqlpublic JavaHiveContext(JavaSparkContext sparkContext)
public HiveContext sqlContext()
sqlContext in class JavaSQLContextpublic JavaSchemaRDD hql(String hqlQuery)