Struct gcp_bigquery_client::tabledata::TableDataApi
source · 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 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> 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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more