ColumnTrie

Struct ColumnTrie 

Source
pub struct ColumnTrie {
    pub layers: Vec<ColumnTrieLayer>,
    /* private fields */
}

Fields§

§layers: Vec<ColumnTrieLayer>

Implementations§

Source§

impl ColumnTrie

Source

pub fn layer(&self, layer_i: usize) -> &ColumnTrieLayer

Trait Implementations§

Source§

impl Display for ColumnTrie

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Projectable for ColumnTrie

Source§

fn project(&self, columns: Vec<usize>) -> Self

Source§

impl Relation for ColumnTrie

Source§

fn header(&self) -> &RelationHeader

Source§

fn new(header: RelationHeader) -> Self

Creates a new relation with the specified arity.
Source§

fn from_tuples(header: RelationHeader, tuples: Vec<Vec<usize>>) -> Self

Creates a new relation with the specified arity and given tuples.
Source§

fn insert(&mut self, tuple: Vec<usize>) -> bool

Inserts a tuple into the relation, returning true if successful and false if otherwise.
Source§

fn insert_all(&mut self, tuples: Vec<Vec<usize>>) -> bool

Inserts multiple tuples into the relation, returning true if successful and false if otherwise.
Source§

impl TrieIterable for ColumnTrie

Implementation of the TrieIterable trait for TreeTrie.

Source§

fn trie_iter(&self) -> impl TrieIterator + IntoIterator<Item = Vec<usize>>

Source§

impl JoinIterable for ColumnTrie

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<R> RelationFileExt for R
where R: Relation,

Source§

fn from_csv<P>(filepath: P) -> Result<R, Error>
where P: AsRef<Path>,

Creates a new relation from a CSV file. Read more
Source§

fn from_parquet<P>(filepath: P) -> Result<R, Error>
where P: AsRef<Path>,

Creates a new relation from a Parquet file with header. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> Allocation for T
where T: RefUnwindSafe + Send + Sync,