Struct datafusion_python::sql::logical::PyLogicalPlan
source · pub struct PyLogicalPlan { /* private fields */ }
Implementations§
source§impl PyLogicalPlan
impl PyLogicalPlan
sourcepub fn new(plan: LogicalPlan) -> Self
pub fn new(plan: LogicalPlan) -> Self
creates a new PyLogicalPlan
pub fn plan(&self) -> Arc<LogicalPlan>
Trait Implementations§
source§impl Clone for PyLogicalPlan
impl Clone for PyLogicalPlan
source§fn clone(&self) -> PyLogicalPlan
fn clone(&self) -> PyLogicalPlan
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 Debug for PyLogicalPlan
impl Debug for PyLogicalPlan
source§impl From<LogicalPlan> for PyLogicalPlan
impl From<LogicalPlan> for PyLogicalPlan
source§fn from(logical_plan: LogicalPlan) -> PyLogicalPlan
fn from(logical_plan: LogicalPlan) -> PyLogicalPlan
Converts to this type from the input type.
source§impl From<PyLogicalPlan> for LogicalPlan
impl From<PyLogicalPlan> for LogicalPlan
source§fn from(logical_plan: PyLogicalPlan) -> LogicalPlan
fn from(logical_plan: PyLogicalPlan) -> LogicalPlan
Converts to this type from the input type.
source§impl PyClassImpl for PyLogicalPlan
impl PyClassImpl for PyLogicalPlan
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 Layout = PyCell<PyLogicalPlan>
type Layout = PyCell<PyLogicalPlan>
Layout
§type ThreadChecker = ThreadCheckerStub<PyLogicalPlan>
type ThreadChecker = ThreadCheckerStub<PyLogicalPlan>
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 dict_offset() -> Option<isize>
fn weaklist_offset() -> Option<isize>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a PyLogicalPlan
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a PyLogicalPlan
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut PyLogicalPlan
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut PyLogicalPlan
source§impl PyMethods<PyLogicalPlan> for PyClassImplCollector<PyLogicalPlan>
impl PyMethods<PyLogicalPlan> for PyClassImplCollector<PyLogicalPlan>
fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for PyLogicalPlan
impl PyTypeInfo for PyLogicalPlan
§type AsRefTarget = PyCell<PyLogicalPlan>
type AsRefTarget = PyCell<PyLogicalPlan>
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.