pub struct SessionOptions { /* private fields */ }Expand description
Session-wide options for lazy query-load orchestration.
Implementations§
Source§impl SessionOptions
impl SessionOptions
Sourcepub const fn with_query_options(self, query_options: QueryOptions) -> Self
pub const fn with_query_options(self, query_options: QueryOptions) -> Self
Sets DataFusion query execution options.
Sourcepub const fn with_provider_scan_options(
self,
provider_scan_options: DeltaProviderScanExecutionOptions,
) -> Self
pub const fn with_provider_scan_options( self, provider_scan_options: DeltaProviderScanExecutionOptions, ) -> Self
Sets Delta provider scan execution options.
Sourcepub const fn with_mssql_schema_options(
self,
mssql_schema_options: MssqlSchemaPlanOptions,
) -> Self
pub const fn with_mssql_schema_options( self, mssql_schema_options: MssqlSchemaPlanOptions, ) -> Self
Sets SQL Server schema planning options.
Sourcepub const fn with_mssql_write_options(
self,
mssql_write_options: MssqlWriteOptions,
) -> Self
pub const fn with_mssql_write_options( self, mssql_write_options: MssqlWriteOptions, ) -> Self
Sets SQL Server write options.
Sourcepub const fn with_mssql_workflow_options(
self,
mssql_workflow_options: MssqlWorkflowWriteOptions,
) -> Self
pub const fn with_mssql_workflow_options( self, mssql_workflow_options: MssqlWorkflowWriteOptions, ) -> Self
Sets SQL Server multi-output workflow options.
Sourcepub const fn with_validation_options(
self,
validation_options: ValidationOptions,
) -> Self
pub const fn with_validation_options( self, validation_options: ValidationOptions, ) -> Self
Sets locally checkable validation options.
Sourcepub fn with_default_mssql_connection(
self,
default_mssql_connection: MssqlConnectionConfig,
) -> Self
pub fn with_default_mssql_connection( self, default_mssql_connection: MssqlConnectionConfig, ) -> Self
Sets the session-level default SQL Server connection.
Sourcepub const fn query_options(&self) -> QueryOptions
pub const fn query_options(&self) -> QueryOptions
Returns DataFusion query execution options.
Sourcepub const fn provider_scan_options(&self) -> DeltaProviderScanExecutionOptions
pub const fn provider_scan_options(&self) -> DeltaProviderScanExecutionOptions
Returns Delta provider scan execution options.
Sourcepub const fn mssql_schema_options(&self) -> MssqlSchemaPlanOptions
pub const fn mssql_schema_options(&self) -> MssqlSchemaPlanOptions
Returns SQL Server schema planning options.
Sourcepub const fn mssql_write_options(&self) -> MssqlWriteOptions
pub const fn mssql_write_options(&self) -> MssqlWriteOptions
Returns SQL Server write options.
Sourcepub const fn mssql_workflow_options(&self) -> MssqlWorkflowWriteOptions
pub const fn mssql_workflow_options(&self) -> MssqlWorkflowWriteOptions
Returns SQL Server multi-output workflow options.
Sourcepub const fn validation_options(&self) -> ValidationOptions
pub const fn validation_options(&self) -> ValidationOptions
Returns locally checkable validation options.
Sourcepub fn default_mssql_connection(&self) -> Option<&MssqlConnectionConfig>
pub fn default_mssql_connection(&self) -> Option<&MssqlConnectionConfig>
Returns the optional session-level default SQL Server connection.
Trait Implementations§
Source§impl Clone for SessionOptions
impl Clone for SessionOptions
Source§fn clone(&self) -> SessionOptions
fn clone(&self) -> SessionOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SessionOptions
impl Debug for SessionOptions
Auto Trait Implementations§
impl Freeze for SessionOptions
impl RefUnwindSafe for SessionOptions
impl Send for SessionOptions
impl Sync for SessionOptions
impl Unpin for SessionOptions
impl UnsafeUnpin for SessionOptions
impl UnwindSafe for SessionOptions
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> AsAny for T
impl<T> AsAny for T
Source§fn any_ref(&self) -> &(dyn Any + Send + Sync + 'static)
fn any_ref(&self) -> &(dyn Any + Send + Sync + 'static)
Obtains a
dyn Any reference to the object: Read moreSource§fn as_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync> ⓘ
fn as_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync> ⓘ
Obtains an
Arc<dyn Any> reference to the object: Read moreSource§fn into_any(self: Box<T>) -> Box<dyn Any + Send + Sync>
fn into_any(self: Box<T>) -> Box<dyn Any + Send + Sync>
Converts the object to
Box<dyn Any>: Read moreSource§fn type_name(&self) -> &'static str
fn type_name(&self) -> &'static str
Convenient wrapper for
std::any::type_name, since Any does not provide it and
Any::type_id is useless as a debugging aid (its Debug is just a mess of hex digits).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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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>
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