public class BigQueryRDDFactory extends Object
| Constructor and Description |
|---|
BigQueryRDDFactory(BigQueryClient bigQueryClient,
BigQueryClientFactory bigQueryReadClientFactory,
BigQueryTracerFactory bigQueryTracerFactory,
SparkBigQueryConfig options,
org.apache.spark.sql.SQLContext sqlContext) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.spark.rdd.RDD<org.apache.spark.sql.catalyst.InternalRow> |
buildScanFromSQL(String sql)
Creates RDD from the SQL string that is passed in.
|
org.apache.spark.rdd.RDD<?> |
createRddFromTable(com.google.cloud.bigquery.TableId tableId,
ReadSessionCreator readSessionCreator,
String[] requiredColumns,
String filter) |
long |
getNumBytes(com.google.cloud.bigquery.TableDefinition tableDefinition) |
public BigQueryRDDFactory(BigQueryClient bigQueryClient, BigQueryClientFactory bigQueryReadClientFactory, BigQueryTracerFactory bigQueryTracerFactory, SparkBigQueryConfig options, org.apache.spark.sql.SQLContext sqlContext)
public org.apache.spark.rdd.RDD<org.apache.spark.sql.catalyst.InternalRow> buildScanFromSQL(String sql)
public org.apache.spark.rdd.RDD<?> createRddFromTable(com.google.cloud.bigquery.TableId tableId,
ReadSessionCreator readSessionCreator,
String[] requiredColumns,
String filter)
public long getNumBytes(com.google.cloud.bigquery.TableDefinition tableDefinition)
Copyright © 2024. All rights reserved.