[][src]Trait rlink::api::function::OutputFormat

pub trait OutputFormat where
    Self: Function
{ pub fn open(&mut self, context: &Context);
pub fn write_record(&mut self, record: Record);
pub fn close(&mut self); pub fn write_element(&mut self, element: Element) { ... }
pub fn begin_transaction(&mut self) { ... }
pub fn prepare_commit(&mut self) { ... }
pub fn commit(&mut self) { ... }
pub fn abort(&mut self) { ... } }

Required methods

pub fn open(&mut self, context: &Context)[src]

Opens a parallel instance of the output format to store the result of its parallel instance.

When this method is called, the output format it guaranteed to be configured.

taskNumber The number of the parallel instance. numTasks The number of parallel tasks.

pub fn write_record(&mut self, record: Record)[src]

pub fn close(&mut self)[src]

Loading content...

Provided methods

pub fn write_element(&mut self, element: Element)[src]

pub fn begin_transaction(&mut self)[src]

pub fn prepare_commit(&mut self)[src]

pub fn commit(&mut self)[src]

pub fn abort(&mut self)[src]

Loading content...

Implementors

Loading content...