Struct polars_plan::dsl::binary::BinaryNameSpace
source · pub struct BinaryNameSpace(_);
Available on crate feature
dtype-binary
only.Expand description
Specialized expressions for Series
of DataType::Utf8
.
Implementations§
source§impl BinaryNameSpace
impl BinaryNameSpace
sourcepub fn contains_literal<S: AsRef<[u8]>>(self, pat: S) -> Expr
pub fn contains_literal<S: AsRef<[u8]>>(self, pat: S) -> Expr
Check if a binary value contains a literal binary.
sourcepub fn ends_with<S: AsRef<[u8]>>(self, sub: S) -> Expr
pub fn ends_with<S: AsRef<[u8]>>(self, sub: S) -> Expr
Check if a binary value ends with the given sequence.
sourcepub fn starts_with<S: AsRef<[u8]>>(self, sub: S) -> Expr
pub fn starts_with<S: AsRef<[u8]>>(self, sub: S) -> Expr
Check if a binary value starts with the given sequence.