public final class HiveTableRDD extends Object
| Modifier and Type | Method and Description |
|---|---|
static org.apache.spark.api.java.JavaPairRDD<org.apache.hadoop.io.WritableComparable,org.apache.hive.hcatalog.data.HCatRecord> |
createHiveTableRDD(org.apache.spark.api.java.JavaSparkContext javaSparkContext,
org.apache.hadoop.conf.Configuration conf,
String db,
String table,
String partitionFilter)
Creates the hive table rdd.
|
public static org.apache.spark.api.java.JavaPairRDD<org.apache.hadoop.io.WritableComparable,org.apache.hive.hcatalog.data.HCatRecord> createHiveTableRDD(org.apache.spark.api.java.JavaSparkContext javaSparkContext,
org.apache.hadoop.conf.Configuration conf,
String db,
String table,
String partitionFilter)
throws IOException
javaSparkContext - the java spark contextconf - the confdb - the dbtable - the tablepartitionFilter - the partition filterIOException - Signals that an I/O exception has occurred.Copyright © 2014–2015 Apache Software Foundation. All rights reserved.