pub struct PyNodeAttributesTreeGroupOperand(/* private fields */);Implementations§
Source§impl PyNodeAttributesTreeGroupOperand
impl PyNodeAttributesTreeGroupOperand
pub fn max(&self) -> PyNodeMultipleAttributesWithIndexGroupOperand
pub fn min(&self) -> PyNodeMultipleAttributesWithIndexGroupOperand
pub fn count(&self) -> PyNodeMultipleAttributesWithIndexGroupOperand
pub fn sum(&self) -> PyNodeMultipleAttributesWithIndexGroupOperand
pub fn random(&self) -> PyNodeMultipleAttributesWithIndexGroupOperand
pub fn greater_than(&self, attribute: PySingleAttributeComparisonOperand)
pub fn greater_than_or_equal_to( &self, attribute: PySingleAttributeComparisonOperand, )
pub fn less_than(&self, attribute: PySingleAttributeComparisonOperand)
pub fn less_than_or_equal_to( &self, attribute: PySingleAttributeComparisonOperand, )
pub fn equal_to(&self, attribute: PySingleAttributeComparisonOperand)
pub fn not_equal_to(&self, attribute: PySingleAttributeComparisonOperand)
pub fn starts_with(&self, attribute: PySingleAttributeComparisonOperand)
pub fn ends_with(&self, attribute: PySingleAttributeComparisonOperand)
pub fn contains(&self, attribute: PySingleAttributeComparisonOperand)
pub fn is_in(&self, attributes: PyMultipleAttributesComparisonOperand)
pub fn is_not_in(&self, attributes: PyMultipleAttributesComparisonOperand)
pub fn add(&self, attribute: PySingleAttributeComparisonOperand)
pub fn sub(&self, attribute: PySingleAttributeComparisonOperand)
pub fn mul(&self, attribute: PySingleAttributeComparisonOperand)
pub fn pow(&self, attribute: PySingleAttributeComparisonOperand)
pub fn mod(&self, attribute: PySingleAttributeComparisonOperand)
pub fn abs(&self)
pub fn trim(&self)
pub fn trim_start(&self)
pub fn trim_end(&self)
pub fn lowercase(&self)
pub fn uppercase(&self)
pub fn slice(&self, start: usize, end: usize)
pub fn is_string(&self)
pub fn is_int(&self)
pub fn is_max(&self)
pub fn is_min(&self)
pub fn either_or( &self, either: &Bound<'_, PyFunction>, or: &Bound<'_, PyFunction>, )
pub fn exclude(&self, query: &Bound<'_, PyFunction>)
pub fn ungroup(&self) -> PyNodeAttributesTreeOperand
pub fn deep_clone(&self) -> PyNodeAttributesTreeGroupOperand
Methods from Deref<Target = Wrapper<GroupOperand<AttributesTreeOperand<NodeOperand>>>>§
pub fn group_by( &self, discriminator: <O as GroupBy>::Discriminator, ) -> Wrapper<GroupOperand<O>>
pub fn ungroup(&self) -> Wrapper<<O as Ungroup>::OutputOperand>
pub fn max(&self) -> Wrapper<<O as Max>::ReturnOperand>
pub fn min(&self) -> Wrapper<<O as Min>::ReturnOperand>
pub fn count(&self) -> Wrapper<<O as Count>::ReturnOperand>
pub fn sum(&self) -> Wrapper<<O as Sum>::ReturnOperand>
pub fn mean(&self) -> Wrapper<<O as Mean>::ReturnOperand>
pub fn median(&self) -> Wrapper<<O as Median>::ReturnOperand>
pub fn mode(&self) -> Wrapper<<O as Mode>::ReturnOperand>
pub fn std(&self) -> Wrapper<<O as Std>::ReturnOperand>
pub fn var(&self) -> Wrapper<<O as Var>::ReturnOperand>
pub fn add<V>(&self, value: V)where
V: Into<<O as Add>::ComparisonOperand>,
pub fn sub<V>(&self, value: V)where
V: Into<<O as Sub>::ComparisonOperand>,
pub fn mul<V>(&self, value: V)where
V: Into<<O as Mul>::ComparisonOperand>,
pub fn div<V>(&self, value: V)where
V: Into<<O as Div>::ComparisonOperand>,
pub fn pow<V>(&self, value: V)where
V: Into<<O as Pow>::ComparisonOperand>,
pub fn mod<V>(&self, value: V)where
V: Into<<O as Mod>::ComparisonOperand>,
pub fn abs(&self)
pub fn greater_than<V>(&self, value: V)where
V: Into<<O as GreaterThan>::ComparisonOperand>,
pub fn greater_than_or_equal_to<V>(&self, value: V)where
V: Into<<O as GreaterThanOrEqualTo>::ComparisonOperand>,
pub fn less_than<V>(&self, value: V)where
V: Into<<O as LessThan>::ComparisonOperand>,
pub fn less_than_or_equal_to<V>(&self, value: V)where
V: Into<<O as LessThanOrEqualTo>::ComparisonOperand>,
pub fn equal_to<V>(&self, value: V)where
V: Into<<O as EqualTo>::ComparisonOperand>,
pub fn not_equal_to<V>(&self, value: V)where
V: Into<<O as NotEqualTo>::ComparisonOperand>,
pub fn index(&self) -> Wrapper<<O as Index>::ReturnOperand>
pub fn is_float(&self)
pub fn is_bool(&self)
pub fn is_datetime(&self)
pub fn is_duration(&self)
pub fn is_null(&self)
pub fn is_string(&self)
pub fn is_int(&self)
pub fn either_or<EQ, OQ>(&self, either_query: EQ, or_query: OQ)
pub fn exclude<Q>(&self, query: Q)
pub fn random(&self) -> Wrapper<<O as Random>::ReturnOperand>
pub fn is_max(&self)
pub fn is_min(&self)
pub fn is_in<V>(&self, values: V)where
V: Into<<O as IsIn>::ComparisonOperand>,
pub fn is_not_in<V>(&self, values: V)where
V: Into<<O as IsNotIn>::ComparisonOperand>,
pub fn round(&self)
pub fn ceil(&self)
pub fn floor(&self)
pub fn sqrt(&self)
pub fn trim(&self)
pub fn trim_start(&self)
pub fn trim_end(&self)
pub fn lowercase(&self)
pub fn uppercase(&self)
pub fn slice(&self, start: usize, end: usize)
pub fn starts_with<V>(&self, value: V)where
V: Into<<O as StartsWith>::ComparisonOperand>,
pub fn ends_with<V>(&self, value: V)where
V: Into<<O as EndsWith>::ComparisonOperand>,
pub fn contains<V>(&self, value: V)where
V: Into<<O as Contains>::ComparisonOperand>,
pub fn attribute( &self, attribute: impl Into<GraphRecordAttribute>, ) -> Wrapper<<O as Attribute>::ReturnOperand>
pub fn attributes(&self) -> Wrapper<<O as Attributes>::ReturnOperand>
pub fn has_attribute<A>(&self, attribute: A)
pub fn in_group<G>(&self, group: G)
pub fn edges( &self, edge_direction: EdgeDirection, ) -> Wrapper<<O as Edges>::ReturnOperand>
pub fn neighbors( &self, edge_direction: EdgeDirection, ) -> Wrapper<<O as Neighbors>::ReturnOperand>
pub fn source_node(&self) -> Wrapper<<O as SourceNode>::ReturnOperand>
pub fn target_node(&self) -> Wrapper<<O as TargetNode>::ReturnOperand>
pub fn to_values(&self) -> Wrapper<<O as ToValues>::ReturnOperand>
Trait Implementations§
Source§impl Clone for PyNodeAttributesTreeGroupOperand
impl Clone for PyNodeAttributesTreeGroupOperand
Source§fn clone(&self) -> PyNodeAttributesTreeGroupOperand
fn clone(&self) -> PyNodeAttributesTreeGroupOperand
Returns a duplicate 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 Deref for PyNodeAttributesTreeGroupOperand
impl Deref for PyNodeAttributesTreeGroupOperand
Source§type Target = Wrapper<GroupOperand<AttributesTreeOperand<NodeOperand>>>
type Target = Wrapper<GroupOperand<AttributesTreeOperand<NodeOperand>>>
The resulting type after dereferencing.
Source§impl From<PyNodeAttributesTreeGroupOperand> for Wrapper<GroupOperand<AttributesTreeOperand<NodeOperand>>>
impl From<PyNodeAttributesTreeGroupOperand> for Wrapper<GroupOperand<AttributesTreeOperand<NodeOperand>>>
Source§fn from(operand: PyNodeAttributesTreeGroupOperand) -> Self
fn from(operand: PyNodeAttributesTreeGroupOperand) -> Self
Converts to this type from the input type.
Source§impl From<Wrapper<GroupOperand<AttributesTreeOperand<NodeOperand>>>> for PyNodeAttributesTreeGroupOperand
impl From<Wrapper<GroupOperand<AttributesTreeOperand<NodeOperand>>>> for PyNodeAttributesTreeGroupOperand
Source§fn from(
operand: Wrapper<GroupOperand<AttributesTreeOperand<NodeOperand>>>,
) -> Self
fn from( operand: Wrapper<GroupOperand<AttributesTreeOperand<NodeOperand>>>, ) -> Self
Converts to this type from the input type.
Source§impl<'py> IntoPyObject<'py> for PyNodeAttributesTreeGroupOperand
impl<'py> IntoPyObject<'py> for PyNodeAttributesTreeGroupOperand
Source§type Target = PyNodeAttributesTreeGroupOperand
type Target = PyNodeAttributesTreeGroupOperand
The Python output type
Source§type Output = Bound<'py, <PyNodeAttributesTreeGroupOperand as IntoPyObject<'py>>::Target>
type Output = Bound<'py, <PyNodeAttributesTreeGroupOperand as IntoPyObject<'py>>::Target>
The smart pointer type to use. Read more
Source§fn into_pyobject(
self,
py: Python<'py>,
) -> Result<<Self as IntoPyObject<'_>>::Output, <Self as IntoPyObject<'_>>::Error>
fn into_pyobject( self, py: Python<'py>, ) -> Result<<Self as IntoPyObject<'_>>::Output, <Self as IntoPyObject<'_>>::Error>
Performs the conversion.
Source§impl PyClassImpl for PyNodeAttributesTreeGroupOperand
impl PyClassImpl for PyNodeAttributesTreeGroupOperand
Source§const IS_BASETYPE: bool = false
const IS_BASETYPE: bool = false
#[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)]
Source§const IS_IMMUTABLE_TYPE: bool = false
const IS_IMMUTABLE_TYPE: bool = false
#[pyclass(immutable_type)]
Source§const RAW_DOC: &'static CStr = c"\x00"
const RAW_DOC: &'static CStr = c"\x00"
Docstring for the class provided on the struct or enum. Read more
Source§const DOC: &'static CStr
const DOC: &'static CStr
Fully rendered class doc, including the
text_signature if a constructor is defined. Read moreSource§type ThreadChecker = SendablePyClass<PyNodeAttributesTreeGroupOperand>
type ThreadChecker = SendablePyClass<PyNodeAttributesTreeGroupOperand>
This handles following two situations: Read more
Source§type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::ImmutableChild
type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::ImmutableChild
Immutable or mutable
Source§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 PyMethods<PyNodeAttributesTreeGroupOperand> for PyClassImplCollector<PyNodeAttributesTreeGroupOperand>
impl PyMethods<PyNodeAttributesTreeGroupOperand> for PyClassImplCollector<PyNodeAttributesTreeGroupOperand>
fn py_methods(self) -> &'static PyClassItems
Source§impl PyTypeInfo for PyNodeAttributesTreeGroupOperand
impl PyTypeInfo for PyNodeAttributesTreeGroupOperand
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<'_>) -> Bound<'_, PyType>
fn type_object(py: Python<'_>) -> Bound<'_, PyType>
Returns the safe abstraction over the type object.
impl DerefToPyAny for PyNodeAttributesTreeGroupOperand
impl ExtractPyClassWithClone for PyNodeAttributesTreeGroupOperand
Auto Trait Implementations§
impl Freeze for PyNodeAttributesTreeGroupOperand
impl !RefUnwindSafe for PyNodeAttributesTreeGroupOperand
impl Send for PyNodeAttributesTreeGroupOperand
impl Sync for PyNodeAttributesTreeGroupOperand
impl Unpin for PyNodeAttributesTreeGroupOperand
impl UnsafeUnpin for PyNodeAttributesTreeGroupOperand
impl !UnwindSafe for PyNodeAttributesTreeGroupOperand
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'a, 'py, T> FromPyObject<'a, 'py> for T
impl<'a, 'py, T> FromPyObject<'a, 'py> for T
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 moreSource§impl<'py, T> IntoPyObjectExt<'py> for Twhere
T: IntoPyObject<'py>,
impl<'py, T> IntoPyObjectExt<'py> for Twhere
T: IntoPyObject<'py>,
Source§fn into_bound_py_any(self, py: Python<'py>) -> Result<Bound<'py, PyAny>, PyErr>
fn into_bound_py_any(self, py: Python<'py>) -> Result<Bound<'py, PyAny>, PyErr>
Converts
self into an owned Python object, dropping type information.Source§impl<T> Key for Twhere
T: Clone,
impl<T> Key for Twhere
T: Clone,
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PyErrArguments for T
impl<T> PyErrArguments for T
Source§impl<T> PyTypeCheck for Twhere
T: PyTypeInfo,
impl<T> PyTypeCheck for Twhere
T: PyTypeInfo,
Source§const NAME: &'static str = T::NAME
const NAME: &'static str = T::NAME
👎Deprecated since 0.27.0:
Use ::classinfo_object() instead and format the type name at runtime. Note that using built-in cast features is often better than manual PyTypeCheck usage.
Name of self. This is used in error messages, for example.