Struct polars_lazy::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>(self, pat: S) -> Exprwhere
S: AsRef<[u8]>,
pub fn contains_literal<S>(self, pat: S) -> Exprwhere
S: AsRef<[u8]>,
Check if a binary value contains a literal binary.
sourcepub fn ends_with<S>(self, sub: S) -> Exprwhere
S: AsRef<[u8]>,
pub fn ends_with<S>(self, sub: S) -> Exprwhere
S: AsRef<[u8]>,
Check if a binary value ends with the given sequence.
sourcepub fn starts_with<S>(self, sub: S) -> Exprwhere
S: AsRef<[u8]>,
pub fn starts_with<S>(self, sub: S) -> Exprwhere
S: AsRef<[u8]>,
Check if a binary value starts with the given sequence.