BigQueryApi (BigQuery APIs)
createTable
Create a new table in the data set identified by a table name and its schema.
BigQueryApi.createTable(String datasetName, String tableName, Schema schema)
or
BigQueryApi.createTable(String datasetName, String tableName, List<Map<String, Object>> classAttrs)
or
BigQueryApi.createTable(String datasetName, String tableName,
List<Map<String, Object>> csvSchema, List<Map<String, Object>> classAttrs, List<Map<String, Object>> mappings)parameters:
datasetName: dataset name
tableName: table name
schema: schema object
classAttrs: class attributes
csvSchema: csv representation object
mappings: mappings objectReturn : result
getBQDataSets
Get the list of all dataset names.
parameters:
Return:
getBQTables
List the tables in a specific data set.
parameters:
Return:
getTable
Retrieves table information from the data set.
parameters:
Return:
getTableFields
// Description //
Parameters
Returns
executeQuery
Executes a query in a specific data set and return the results.
parameters:
Return:
getBigQueryIterator
Get an iterator over table query.
parameters:
Return:
insertRows
Insert a list of rows into the table.
parameters:
Return:
importCSVIntoTable
Import data from CSV file to the dataset table. The header in the CSV file can be skipped if needed.
parameters:
Return:
importCSVbyURIIntoTable
Same as above but using the URI for CSV file location.
parameters:
Return:
exportTableToCSV
Exports dataset table into a CSV file.
parameters:
Return:
exportTableToCSVByURI
Same as above but using the URI for the csv file location
parameters:
Return:
exportTable
Export a table of the dataset to a file type with the destination uri provided.
parameters:
Return:
bigQueryToCSV
export data set table with specific columns to a CSV.
parameters:
Return:
getpage
Get page details
Parameters
Returns
createTableFromCSV
Create table from CSV
Parameters
Returns
importJSONbyURIIntoTable
import JSON by URI into table
Parameters
Returns
bigQueryToCSVWithScript
Get page details
Parameters
Returns
Last updated
Was this helpful?