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