Trait polars_ops::chunked_array::BinaryNameSpaceImpl

source ·
pub trait BinaryNameSpaceImpl: AsBinary {
    // Provided methods
    fn contains(&self, lit: &[u8]) -> BooleanChunked { ... }
    fn contains_chunked(&self, lit: &BinaryChunked) -> BooleanChunked { ... }
    fn ends_with(&self, sub: &[u8]) -> BooleanChunked { ... }
    fn starts_with(&self, sub: &[u8]) -> BooleanChunked { ... }
    fn starts_with_chunked(&self, prefix: &BinaryChunked) -> BooleanChunked { ... }
    fn ends_with_chunked(&self, suffix: &BinaryChunked) -> BooleanChunked { ... }
    fn size_bytes(&self) -> UInt32Chunked { ... }
}

Provided Methods§

source

fn contains(&self, lit: &[u8]) -> BooleanChunked

Check if binary contains given literal

source

fn contains_chunked(&self, lit: &BinaryChunked) -> BooleanChunked

source

fn ends_with(&self, sub: &[u8]) -> BooleanChunked

Check if strings ends with a substring

source

fn starts_with(&self, sub: &[u8]) -> BooleanChunked

Check if strings starts with a substring

source

fn starts_with_chunked(&self, prefix: &BinaryChunked) -> BooleanChunked

source

fn ends_with_chunked(&self, suffix: &BinaryChunked) -> BooleanChunked

source

fn size_bytes(&self) -> UInt32Chunked

Get the size of the binary values in bytes.

Implementations on Foreign Types§

source§

impl BinaryNameSpaceImpl for BinaryChunked

Implementors§