bigquery extends controller
Public SDK Controller.
Extend this class to implement HTTP controllers in your plugin while benefiting from the framework routing and middleware lifecycle.
Table of Contents
Constants
- BIGQUERYCSVFILEINDEX = 'bigquery/UploadCsvFile'
- BIGQUERYINDEX = 'BigQueryIndex'
- BIGQUERYJOBINDEX = 'BigQueryJobIndex'
- BIGQUERYTABLESELECTOR = 'bigquery/TableSelector'
- BIGQUERYTESTCONNECTION = 'BigQueryTestConnection'
Methods
- get_form_options() : JsonResponse
- This method retrieves the form options for the upload CSV file.
- index() : Response
- This method handles the index page for the upload CSV file.
- job() : Response
- This method handles the index page for jobs.
- send_to_bigquery() : RedirectResponse|Response
- This method handles the upload of the CSV file.
- tableSelector() : Response
- This method handles the index page for jobs.
- tableSelectorlist() : Response
- This method handles the index page for jobs.
- test_connection() : Response
- This method tests the connection to BigQuery.
- update_select_table() : Response
- This method handles the index page for jobs.
- uploadcsvfile() : Response
- This method handles the index page for the upload CSV file.
Constants
BIGQUERYCSVFILEINDEX
public
mixed
BIGQUERYCSVFILEINDEX
= 'bigquery/UploadCsvFile'
BIGQUERYINDEX
public
mixed
BIGQUERYINDEX
= 'BigQueryIndex'
BIGQUERYJOBINDEX
public
mixed
BIGQUERYJOBINDEX
= 'BigQueryJobIndex'
BIGQUERYTABLESELECTOR
public
mixed
BIGQUERYTABLESELECTOR
= 'bigquery/TableSelector'
BIGQUERYTESTCONNECTION
public
mixed
BIGQUERYTESTCONNECTION
= 'BigQueryTestConnection'
Methods
get_form_options()
This method retrieves the form options for the upload CSV file.
public
get_form_options() : JsonResponse
Attributes
- #[Route]
- $path: '/bigquery/uploadcsvfile/get_form_options'
- $name: 'bigquery_uploadcsv_get_form_options'
- $methods: ['POST']
Return values
JsonResponseindex()
This method handles the index page for the upload CSV file.
public
index() : Response
Attributes
- #[Route]
- $path: '/bigquery'
- $name: 'bigquery_index'
- $methods: ['GET']
Return values
Responsejob()
This method handles the index page for jobs.
public
job(mixed $id) : Response
Parameters
- $id : mixed
Attributes
- #[Route]
- $path: '/bigquery/job/{id}'
- $name: 'bigquery_job'
- $methods: ['GET']
Return values
Responsesend_to_bigquery()
This method handles the upload of the CSV file.
public
send_to_bigquery() : RedirectResponse|Response
Attributes
- #[Route]
- $path: '/bigquery/uploadcsvfile/send_to_bigquery'
- $name: 'bigquery_uploadcsv_send_to_bigquery'
- $methods: ['POST']
Return values
RedirectResponse|ResponsetableSelector()
This method handles the index page for jobs.
public
tableSelector() : Response
Attributes
- #[Route]
- $path: '/bigquery/table_selector'
- $name: 'bigquery_table_selector'
- $methods: ['GET']
Return values
ResponsetableSelectorlist()
This method handles the index page for jobs.
public
tableSelectorlist() : Response
Attributes
- #[Route]
- $path: '/bigquery/tableSelectorlist'
- $name: 'bigquery_table_selectorlist'
- $methods: ['GET']
Return values
Responsetest_connection()
This method tests the connection to BigQuery.
public
test_connection() : Response
Attributes
- #[Route]
- $path: '/bigquery/test_connection'
- $name: 'bigquery_test_connection'
- $methods: ['GET']
Return values
Responseupdate_select_table()
This method handles the index page for jobs.
public
update_select_table() : Response
Attributes
- #[Route]
- $path: '/bigquery/update_select_table'
- $name: 'bigquery_update_select_table'
- $methods: ['POST']
Return values
Responseuploadcsvfile()
This method handles the index page for the upload CSV file.
public
uploadcsvfile() : Response
Attributes
- #[Route]
- $path: '/bigquery/uploadcsvfile'
- $name: 'bigquery_uploadcsv_file_index'
- $methods: ['GET']