Struct datafusion_python::expr::aggregate::PyAggregate
source · pub struct PyAggregate { /* private fields */ }Implementations§
source§impl PyAggregate
impl PyAggregate
Trait Implementations§
source§impl Clone for PyAggregate
impl Clone for PyAggregate
source§fn clone(&self) -> PyAggregate
fn clone(&self) -> PyAggregate
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 Display for PyAggregate
impl Display for PyAggregate
source§impl From<Aggregate> for PyAggregate
impl From<Aggregate> for PyAggregate
source§fn from(aggregate: Aggregate) -> PyAggregate
fn from(aggregate: Aggregate) -> PyAggregate
Converts to this type from the input type.
source§impl LogicalNode for PyAggregate
impl LogicalNode for PyAggregate
source§impl PyClassImpl for PyAggregate
impl PyClassImpl for PyAggregate
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<PyAggregate>
type ThreadChecker = SendablePyClass<PyAggregate>
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<'a, 'py> PyFunctionArgument<'a, 'py> for &'a PyAggregate
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a PyAggregate
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut PyAggregate
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut PyAggregate
source§impl PyMethods<PyAggregate> for PyClassImplCollector<PyAggregate>
impl PyMethods<PyAggregate> for PyClassImplCollector<PyAggregate>
fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for PyAggregate
impl PyTypeInfo for PyAggregate
§type AsRefTarget = PyCell<PyAggregate>
type AsRefTarget = PyCell<PyAggregate>
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.source§impl TryFrom<PyAggregate> for Aggregate
impl TryFrom<PyAggregate> for Aggregate
§type Error = DataFusionError
type Error = DataFusionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for PyAggregate
impl !RefUnwindSafe for PyAggregate
impl Send for PyAggregate
impl Sync for PyAggregate
impl Unpin for PyAggregate
impl !UnwindSafe for PyAggregate
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