Struct mentat_transaction::InProgress [] [src]

pub struct InProgress<'a, 'c> {
    pub transaction: Transaction<'c>,
    pub mutex: &'a Mutex<Metadata>,
    pub generation: u64,
    pub partition_map: PartitionMap,
    pub schema: Schema,
    pub cache: InProgressSQLiteAttributeCache,
    pub use_caching: bool,
    pub tx_observer: &'a Mutex<TxObservationService>,
    pub tx_observer_watcher: InProgressObserverTransactWatcher,
}

Represents an in-progress, not yet committed, set of changes to the store. Call commit to commit your changes, or rollback to discard them. A transaction is held open until you do so. Your changes will be implicitly dropped along with this struct.

Fields

Methods

impl<'a, 'c> InProgress<'a, 'c>
[src]

[src]

[src]

Choose whether to use in-memory caches for running queries.

[src]

If you only have a reference to an InProgress, you can't use the easy builder. This exists so you can make your own.

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl<'a, 'c> Queryable for InProgress<'a, 'c>
[src]

[src]

[src]

[src]

[src]

[src]

impl<'a, 'c> Pullable for InProgress<'a, 'c>
[src]

[src]

[src]

impl<'a, 'c> HasSchema for InProgress<'a, 'c>
[src]

[src]

[src]

[src]

[src]

[src]

[src]

Return true if the provided entid identifies an attribute in this schema.

[src]

Return true if the provided ident identifies an attribute in this schema.

Important traits for &'a [u8]
[src]