Enum tc_table::Table[][src]

pub enum Table<F, D, Txn> {
    Index(Index<F, D, Txn>),
    ROIndex(ReadOnly<F, D, Txn>),
    Table(TableIndex<F, D, Txn>),
    Aggregate(Box<Aggregate<F, D, Txn, Table<F, D, Txn>>>),
    IndexSlice(IndexSlice<F, D, Txn>),
    Limit(Box<Limited<F, D, Txn>>),
    Merge(Merged<F, D, Txn>),
    Selection(Box<Selection<F, D, Txn, Table<F, D, Txn>>>),
    TableSlice(TableSlice<F, D, Txn>),
}
Expand description

An ordered collection of Rows which supports BTree-based indexing

Variants

Index(Index<F, D, Txn>)
ROIndex(ReadOnly<F, D, Txn>)
Table(TableIndex<F, D, Txn>)
Aggregate(Box<Aggregate<F, D, Txn, Table<F, D, Txn>>>)
IndexSlice(IndexSlice<F, D, Txn>)
Limit(Box<Limited<F, D, Txn>>)
Merge(Merged<F, D, Txn>)
Selection(Box<Selection<F, D, Txn, Table<F, D, Txn>>>)
TableSlice(TableSlice<F, D, Txn>)

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

The decoding context of this type, useful in situations where the stream to be decoded may be too large to hold in main memory. Read more

Parse this value using the given Decoder.

The Class type of this instance

Returns the [Class] of this instance.

The type of Table returned by this instance’s order_by method.

The type of Table returned by this instance’s reversed method.

The type of Table returned by this instance’s slice method.

Return the number of rows in this Table.

Delete all rows in this Table.

Delete the given Row from this table, if present.

Construct and return a temporary index of the given columns.

Return the schema of this Table’s key.

Return the schema of this Table’s values.

Return the schema of this Table.

Limit the number of rows returned by rows.

Set the order returned by rows.

Reverse the order returned by rows.

Limit the returned rows to the given Bounds.

Return a stream of the rows in this Table.

Return an error if this table does not support the given Bounds.

Return an error if this table does not support ordering by the given columns.

Update the values of the columns in this Table to match the given Row.

Update one row of this Table.

Insert or update the given row.

Group this Table by the given columns.

Limit the columns returned by rows.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Returns true if self can be cast into the target type T.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

Test if value can be cast into Self.

Returns Some(Self) if the source value can be cast into Self, otherwise None.

Returns Ok(Self) if the source value can be cast into Self, otherwise calls on_err.

Test if self can be cast into T.

Returns Some(T) if self can be cast into T, otherwise None.

Returns Ok(T) if self can be cast into T, otherwise calls on_err.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.