Trait n5::N5Writer[][src]

pub trait N5Writer: N5Reader {
    fn set_attributes(
        &self,
        path_name: &str,
        attributes: Map<String, Value>
    ) -> Result<(), Error>;
fn create_group(&self, path_name: &str) -> Result<(), Error>;
fn remove(&self, path_name: &str) -> Result<(), Error>;
fn write_block<T, B: DataBlock<T>>(
        &self,
        path_name: &str,
        data_attrs: &DatasetAttributes,
        block: &B
    ) -> Result<(), Error>; fn set_attribute<T: Serialize>(
        &self,
        path_name: &str,
        key: String,
        attribute: T
    ) -> Result<(), Error> { ... }
fn set_dataset_attributes(
        &self,
        path_name: &str,
        data_attrs: &DatasetAttributes
    ) -> Result<(), Error> { ... }
fn create_dataset(
        &self,
        path_name: &str,
        data_attrs: &DatasetAttributes
    ) -> Result<(), Error> { ... }
fn remove_all(&self) -> Result<(), Error> { ... } }

Mutating operations on N5 containers.

Required Methods

Set a map of attributes.

Create a group (directory).

Remove a group or dataset (directory and all contained files).

This will wait on locks acquired by other writers or readers.

Provided Methods

Set a single attribute.

Set mandatory dataset attributes.

Create a dataset. This will create the dataset group and attributes, but not populate any block data.

Remove the N5 container.

Implementors