#[non_exhaustive]pub struct GetQueryResultsInput {
pub query_execution_id: Option<String>,
pub next_token: Option<String>,
pub max_results: Option<i32>,
pub query_result_type: Option<QueryResultType>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.query_execution_id: Option<String>The unique ID of the query execution.
next_token: Option<String>A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.
max_results: Option<i32>The maximum number of results (rows) to return in this request.
query_result_type: Option<QueryResultType>When you set this to DATA_ROWS or empty, GetQueryResults returns the query results in rows. If set to DATA_MANIFEST, it returns the manifest file in rows. Only the query types CREATE TABLE AS SELECT, UNLOAD, and INSERT can generate a manifest file. If you use DATA_MANIFEST for other query types, the query will fail.
Implementations§
Source§impl GetQueryResultsInput
impl GetQueryResultsInput
Sourcepub fn query_execution_id(&self) -> Option<&str>
pub fn query_execution_id(&self) -> Option<&str>
The unique ID of the query execution.
Sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.
Sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of results (rows) to return in this request.
Sourcepub fn query_result_type(&self) -> Option<&QueryResultType>
pub fn query_result_type(&self) -> Option<&QueryResultType>
When you set this to DATA_ROWS or empty, GetQueryResults returns the query results in rows. If set to DATA_MANIFEST, it returns the manifest file in rows. Only the query types CREATE TABLE AS SELECT, UNLOAD, and INSERT can generate a manifest file. If you use DATA_MANIFEST for other query types, the query will fail.
Source§impl GetQueryResultsInput
impl GetQueryResultsInput
Sourcepub fn builder() -> GetQueryResultsInputBuilder
pub fn builder() -> GetQueryResultsInputBuilder
Creates a new builder-style object to manufacture GetQueryResultsInput.
Trait Implementations§
Source§impl Clone for GetQueryResultsInput
impl Clone for GetQueryResultsInput
Source§fn clone(&self) -> GetQueryResultsInput
fn clone(&self) -> GetQueryResultsInput
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for GetQueryResultsInput
impl Debug for GetQueryResultsInput
Source§impl PartialEq for GetQueryResultsInput
impl PartialEq for GetQueryResultsInput
impl StructuralPartialEq for GetQueryResultsInput
Auto Trait Implementations§
impl Freeze for GetQueryResultsInput
impl RefUnwindSafe for GetQueryResultsInput
impl Send for GetQueryResultsInput
impl Sync for GetQueryResultsInput
impl Unpin for GetQueryResultsInput
impl UnsafeUnpin for GetQueryResultsInput
impl UnwindSafe for GetQueryResultsInput
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§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