Package io.squashql
Class BigQueryEndUserDatastore
java.lang.Object
io.squashql.BigQueryEndUserDatastore
- All Implemented Interfaces:
BigQueryDatastore,Datastore
Implementation of
BigQueryDatastore that uses with end user authentication to leverage fine-grained access
provided by BigQuery.-
Constructor Summary
ConstructorsConstructorDescriptionBigQueryEndUserDatastore(org.springframework.security.oauth2.client.web.OAuth2AuthorizedClientRepository authorizedClientRepository, String projectId, String datasetName) -
Method Summary
Modifier and TypeMethodDescriptioncom.google.cloud.bigquery.BigQuery
-
Constructor Details
-
BigQueryEndUserDatastore
-
-
Method Details
-
getProjectId
- Specified by:
getProjectIdin interfaceBigQueryDatastore
-
getDatasetName
- Specified by:
getDatasetNamein interfaceBigQueryDatastore
-
getBigquery
public com.google.cloud.bigquery.BigQuery getBigquery()- Specified by:
getBigqueryin interfaceBigQueryDatastore
-
storeByName
- Specified by:
storeByNamein interfaceDatastore
-