Struct datafusion_python::context::PySessionConfig
source · pub struct PySessionConfig {
pub config: SessionConfig,
}Expand description
Configuration options for a SessionContext
Fields§
§config: SessionConfigTrait Implementations§
source§impl Clone for PySessionConfig
impl Clone for PySessionConfig
source§fn clone(&self) -> PySessionConfig
fn clone(&self) -> PySessionConfig
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 moresource§impl Default for PySessionConfig
impl Default for PySessionConfig
source§fn default() -> PySessionConfig
fn default() -> PySessionConfig
Returns the “default value” for a type. Read more
source§impl From<SessionConfig> for PySessionConfig
impl From<SessionConfig> for PySessionConfig
source§fn from(config: SessionConfig) -> Self
fn from(config: SessionConfig) -> Self
Converts to this type from the input type.
source§impl PyClassImpl for PySessionConfig
impl PyClassImpl for PySessionConfig
source§const IS_BASETYPE: bool = true
const IS_BASETYPE: bool = true
#[pyclass(subclass)]
source§const IS_SUBCLASS: bool = false
const IS_SUBCLASS: bool = false
#[pyclass(extends=…)]
source§const IS_MAPPING: bool = false
const IS_MAPPING: bool = false
#[pyclass(mapping)]
source§const IS_SEQUENCE: bool = false
const IS_SEQUENCE: bool = false
#[pyclass(sequence)]
§type ThreadChecker = SendablePyClass<PySessionConfig>
type ThreadChecker = SendablePyClass<PySessionConfig>
This handles following two situations: Read more
§type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
Immutable or mutable
§type BaseNativeType = PyAny
type BaseNativeType = PyAny
The closest native ancestor. This is
PyAny by default, and when you declare
#[pyclass(extends=PyDict)], it’s PyDict.fn items_iter() -> PyClassItemsIter
fn lazy_type_object() -> &'static LazyTypeObject<Self>
fn dict_offset() -> Option<isize>
fn weaklist_offset() -> Option<isize>
source§impl PyClassNewTextSignature<PySessionConfig> for PyClassImplCollector<PySessionConfig>
impl PyClassNewTextSignature<PySessionConfig> for PyClassImplCollector<PySessionConfig>
fn new_text_signature(self) -> Option<&'static str>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a PySessionConfig
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a PySessionConfig
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut PySessionConfig
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut PySessionConfig
source§impl PyMethods<PySessionConfig> for PyClassImplCollector<PySessionConfig>
impl PyMethods<PySessionConfig> for PyClassImplCollector<PySessionConfig>
fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for PySessionConfig
impl PyTypeInfo for PySessionConfig
§type AsRefTarget = PyCell<PySessionConfig>
type AsRefTarget = PyCell<PySessionConfig>
Utility type to make Py::as_ref work.
source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.
source§fn type_object(py: Python<'_>) -> &PyType
fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.
source§fn is_type_of(object: &PyAny) -> bool
fn is_type_of(object: &PyAny) -> bool
Checks if
object is an instance of this type or a subclass of this type.source§fn is_exact_type_of(object: &PyAny) -> bool
fn is_exact_type_of(object: &PyAny) -> bool
Checks if
object is an instance of this type.Auto Trait Implementations§
impl Freeze for PySessionConfig
impl !RefUnwindSafe for PySessionConfig
impl Send for PySessionConfig
impl Sync for PySessionConfig
impl Unpin for PySessionConfig
impl !UnwindSafe for PySessionConfig
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<'a, T> FromPyObject<'a> for T
impl<'a, T> FromPyObject<'a> for T
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