#[non_exhaustive]pub struct QueryOutputBuilder { /* private fields */ }
Expand description
A builder for QueryOutput
.
Implementations§
source§impl QueryOutputBuilder
impl QueryOutputBuilder
sourcepub fn query_id(self, input: impl Into<String>) -> Self
pub fn query_id(self, input: impl Into<String>) -> Self
A unique ID for the given query.
This field is required.sourcepub fn set_query_id(self, input: Option<String>) -> Self
pub fn set_query_id(self, input: Option<String>) -> Self
A unique ID for the given query.
sourcepub fn get_query_id(&self) -> &Option<String>
pub fn get_query_id(&self) -> &Option<String>
A unique ID for the given query.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A pagination token that can be used again on a Query
call to get the next set of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A pagination token that can be used again on a Query
call to get the next set of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A pagination token that can be used again on a Query
call to get the next set of results.
sourcepub fn rows(self, input: Row) -> Self
pub fn rows(self, input: Row) -> Self
Appends an item to rows
.
To override the contents of this collection use set_rows
.
The result set rows returned by the query.
sourcepub fn set_rows(self, input: Option<Vec<Row>>) -> Self
pub fn set_rows(self, input: Option<Vec<Row>>) -> Self
The result set rows returned by the query.
sourcepub fn column_info(self, input: ColumnInfo) -> Self
pub fn column_info(self, input: ColumnInfo) -> Self
Appends an item to column_info
.
To override the contents of this collection use set_column_info
.
The column data types of the returned result set.
sourcepub fn set_column_info(self, input: Option<Vec<ColumnInfo>>) -> Self
pub fn set_column_info(self, input: Option<Vec<ColumnInfo>>) -> Self
The column data types of the returned result set.
sourcepub fn get_column_info(&self) -> &Option<Vec<ColumnInfo>>
pub fn get_column_info(&self) -> &Option<Vec<ColumnInfo>>
The column data types of the returned result set.
sourcepub fn query_status(self, input: QueryStatus) -> Self
pub fn query_status(self, input: QueryStatus) -> Self
Information about the status of the query, including progress and bytes scanned.
sourcepub fn set_query_status(self, input: Option<QueryStatus>) -> Self
pub fn set_query_status(self, input: Option<QueryStatus>) -> Self
Information about the status of the query, including progress and bytes scanned.
sourcepub fn get_query_status(&self) -> &Option<QueryStatus>
pub fn get_query_status(&self) -> &Option<QueryStatus>
Information about the status of the query, including progress and bytes scanned.
sourcepub fn build(self) -> Result<QueryOutput, BuildError>
pub fn build(self) -> Result<QueryOutput, BuildError>
Consumes the builder and constructs a QueryOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for QueryOutputBuilder
impl Clone for QueryOutputBuilder
source§fn clone(&self) -> QueryOutputBuilder
fn clone(&self) -> QueryOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for QueryOutputBuilder
impl Debug for QueryOutputBuilder
source§impl Default for QueryOutputBuilder
impl Default for QueryOutputBuilder
source§fn default() -> QueryOutputBuilder
fn default() -> QueryOutputBuilder
source§impl PartialEq for QueryOutputBuilder
impl PartialEq for QueryOutputBuilder
impl StructuralPartialEq for QueryOutputBuilder
Auto Trait Implementations§
impl Freeze for QueryOutputBuilder
impl RefUnwindSafe for QueryOutputBuilder
impl Send for QueryOutputBuilder
impl Sync for QueryOutputBuilder
impl Unpin for QueryOutputBuilder
impl UnwindSafe for QueryOutputBuilder
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
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)
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> 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>
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>
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