pub struct PyNodeSingleAttributeWithIndexGroupOperand(/* private fields */);Implementations§
Source§impl PyNodeSingleAttributeWithIndexGroupOperand
impl PyNodeSingleAttributeWithIndexGroupOperand
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 either_or( &self, either: &Bound<'_, PyFunction>, or: &Bound<'_, PyFunction>, )
pub fn exclude(&self, query: &Bound<'_, PyFunction>)
pub fn ungroup(&self) -> PyNodeMultipleAttributesWithIndexOperand
pub fn deep_clone(&self) -> PyNodeSingleAttributeWithIndexGroupOperand
Methods from Deref<Target = Wrapper<GroupOperand<SingleAttributeWithIndexOperand<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 PyNodeSingleAttributeWithIndexGroupOperand
impl Clone for PyNodeSingleAttributeWithIndexGroupOperand
Source§fn clone(&self) -> PyNodeSingleAttributeWithIndexGroupOperand
fn clone(&self) -> PyNodeSingleAttributeWithIndexGroupOperand
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 PyNodeSingleAttributeWithIndexGroupOperand
impl Deref for PyNodeSingleAttributeWithIndexGroupOperand
Source§type Target = Wrapper<GroupOperand<SingleAttributeWithIndexOperand<NodeOperand>>>
type Target = Wrapper<GroupOperand<SingleAttributeWithIndexOperand<NodeOperand>>>
The resulting type after dereferencing.
Source§impl From<PyNodeSingleAttributeWithIndexGroupOperand> for Wrapper<GroupOperand<SingleAttributeWithIndexOperand<NodeOperand>>>
impl From<PyNodeSingleAttributeWithIndexGroupOperand> for Wrapper<GroupOperand<SingleAttributeWithIndexOperand<NodeOperand>>>
Source§fn from(operand: PyNodeSingleAttributeWithIndexGroupOperand) -> Self
fn from(operand: PyNodeSingleAttributeWithIndexGroupOperand) -> Self
Converts to this type from the input type.
Source§impl From<Wrapper<GroupOperand<SingleAttributeWithIndexOperand<NodeOperand>>>> for PyNodeSingleAttributeWithIndexGroupOperand
impl From<Wrapper<GroupOperand<SingleAttributeWithIndexOperand<NodeOperand>>>> for PyNodeSingleAttributeWithIndexGroupOperand
Source§fn from(
operand: Wrapper<GroupOperand<SingleAttributeWithIndexOperand<NodeOperand>>>,
) -> Self
fn from( operand: Wrapper<GroupOperand<SingleAttributeWithIndexOperand<NodeOperand>>>, ) -> Self
Converts to this type from the input type.
Source§impl<'py> IntoPyObject<'py> for PyNodeSingleAttributeWithIndexGroupOperand
impl<'py> IntoPyObject<'py> for PyNodeSingleAttributeWithIndexGroupOperand
Source§type Target = PyNodeSingleAttributeWithIndexGroupOperand
type Target = PyNodeSingleAttributeWithIndexGroupOperand
The Python output type
Source§type Output = Bound<'py, <PyNodeSingleAttributeWithIndexGroupOperand as IntoPyObject<'py>>::Target>
type Output = Bound<'py, <PyNodeSingleAttributeWithIndexGroupOperand 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 PyNodeSingleAttributeWithIndexGroupOperand
impl PyClassImpl for PyNodeSingleAttributeWithIndexGroupOperand
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<PyNodeSingleAttributeWithIndexGroupOperand>
type ThreadChecker = SendablePyClass<PyNodeSingleAttributeWithIndexGroupOperand>
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<PyNodeSingleAttributeWithIndexGroupOperand> for PyClassImplCollector<PyNodeSingleAttributeWithIndexGroupOperand>
impl PyMethods<PyNodeSingleAttributeWithIndexGroupOperand> for PyClassImplCollector<PyNodeSingleAttributeWithIndexGroupOperand>
fn py_methods(self) -> &'static PyClassItems
Source§impl PyTypeInfo for PyNodeSingleAttributeWithIndexGroupOperand
impl PyTypeInfo for PyNodeSingleAttributeWithIndexGroupOperand
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 PyNodeSingleAttributeWithIndexGroupOperand
impl ExtractPyClassWithClone for PyNodeSingleAttributeWithIndexGroupOperand
Auto Trait Implementations§
impl Freeze for PyNodeSingleAttributeWithIndexGroupOperand
impl !RefUnwindSafe for PyNodeSingleAttributeWithIndexGroupOperand
impl Send for PyNodeSingleAttributeWithIndexGroupOperand
impl Sync for PyNodeSingleAttributeWithIndexGroupOperand
impl Unpin for PyNodeSingleAttributeWithIndexGroupOperand
impl UnsafeUnpin for PyNodeSingleAttributeWithIndexGroupOperand
impl !UnwindSafe for PyNodeSingleAttributeWithIndexGroupOperand
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.