pub struct TableDataApi { /* private fields */ }
Expand description
A table data API handler.
Implementations§
Source§impl TableDataApi
impl TableDataApi
Sourcepub async fn insert_all(
&self,
project_id: &str,
dataset_id: &str,
table_id: &str,
insert_request: TableDataInsertAllRequest,
) -> Result<TableDataInsertAllResponse, BQError>
pub async fn insert_all( &self, project_id: &str, dataset_id: &str, table_id: &str, insert_request: TableDataInsertAllRequest, ) -> Result<TableDataInsertAllResponse, BQError>
Streams data into BigQuery one record at a time without needing to run a load job. Requires the WRITER dataset role.
§Arguments
project_id
- Project ID of the inserted datadataset_id
- Dataset ID of the inserted datatable_id
- Table ID of the inserted datainsert_request
- Data to insert.
Sourcepub async fn insert_all_gzipped(
&self,
project_id: &str,
dataset_id: &str,
table_id: &str,
insert_request_gzipped: TableDataInsertAllRequestGzipped,
) -> Result<TableDataInsertAllResponse, BQError>
pub async fn insert_all_gzipped( &self, project_id: &str, dataset_id: &str, table_id: &str, insert_request_gzipped: TableDataInsertAllRequestGzipped, ) -> Result<TableDataInsertAllResponse, BQError>
Streams already gzipped data into BigQuery one record at a time without needing to run a load job. Requires the WRITER dataset role.
§Arguments
project_id
- Project ID of the inserted datadataset_id
- Dataset ID of the inserted datatable_id
- Table ID of the inserted datainsert_request_gzipped
- Gzipped data to insert.
Sourcepub async fn list(
&self,
project_id: &str,
dataset_id: &str,
table_id: &str,
parameters: ListQueryParameters,
) -> Result<TableDataListResponse, BQError>
pub async fn list( &self, project_id: &str, dataset_id: &str, table_id: &str, parameters: ListQueryParameters, ) -> Result<TableDataListResponse, BQError>
Lists the content of a table in rows.
§Arguments
project_id
- Project id of the table to list.dataset_id
- Dataset id of the table to list.table_id
- Table id of the table to list.parameters
- Additional query parameters.
Trait Implementations§
Source§impl Clone for TableDataApi
impl Clone for TableDataApi
Source§fn clone(&self) -> TableDataApi
fn clone(&self) -> TableDataApi
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for TableDataApi
impl !RefUnwindSafe for TableDataApi
impl Send for TableDataApi
impl Sync for TableDataApi
impl Unpin for TableDataApi
impl !UnwindSafe for TableDataApi
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request