pub struct QueryOutput {
pub columns: Vec<String>,
pub column_types: Vec<Option<ColumnType>>,
pub internal_schema: RowSchema,
pub rows: QueryRows,
}Fields§
§columns: Vec<String>§column_types: Vec<Option<ColumnType>>§internal_schema: RowSchemaComplete physical metadata for child queries; public result columns may expose only a projection of these slots.
rows: QueryRowsImplementations§
Source§impl QueryOutput
impl QueryOutput
pub fn into_cursor(self) -> Result<SQLCursor, SQLError>
pub fn into_sql_result(self) -> Result<SQLResult, SQLError>
pub fn into_operator<'a>(self) -> Box<dyn PhysicalOperator + 'a>
pub fn into_public_operator<'a>(self) -> Box<dyn PhysicalOperator + 'a>
pub fn into_subquery_result(self) -> Result<SubqueryResult, SQLError>
Auto Trait Implementations§
impl !RefUnwindSafe for QueryOutput
impl !UnwindSafe for QueryOutput
impl Freeze for QueryOutput
impl Send for QueryOutput
impl Sync for QueryOutput
impl Unpin for QueryOutput
impl UnsafeUnpin for QueryOutput
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
impl<T> ErasedDestructor for Twhere
T: 'static,
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