Struct sstable::TableBuilder[][src]

pub struct TableBuilder<Dst: Write> { /* fields omitted */ }
Expand description

A TableBuilder is used to create a table from a set of sorted string pairs and write it to a file or a buffer.

Implementations

TableBuilder is used for building a new SSTable. It groups entries into blocks, calculating checksums and bloom filters.

Create a new table builder.

Returns the current number of entries.

Add a key to the table. The key must be lexically greater or equal to the one that was previously added.

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.

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.