[−][src]Struct rubbl_casatables::Table
Methods
impl Table
[src]
pub fn open<P: AsRef<Path>>(path: P, mode: TableOpenMode) -> Result<Self, Error>
[src]
pub fn n_rows(&self) -> u64
[src]
pub fn n_columns(&self) -> usize
[src]
pub fn column_names(&mut self) -> Result<Vec<String>, CasacoreError>
[src]
pub fn remove_column(&mut self, col_name: &str) -> Result<(), CasacoreError>
[src]
pub fn table_keyword_names(&mut self) -> Result<Vec<String>, CasacoreError>
[src]
pub fn get_col_desc(
&mut self,
col_name: &str
) -> Result<ColumnDescription, CasacoreError>
[src]
&mut self,
col_name: &str
) -> Result<ColumnDescription, CasacoreError>
pub fn get_col_as_vec<T: CasaScalarData>(
&mut self,
col_name: &str
) -> Result<Vec<T>, Error>
[src]
&mut self,
col_name: &str
) -> Result<Vec<T>, Error>
pub fn get_cell<T: CasaDataType>(
&mut self,
col_name: &str,
row: u64
) -> Result<T, Error>
[src]
&mut self,
col_name: &str,
row: u64
) -> Result<T, Error>
pub fn get_cell_as_vec<T: CasaScalarData>(
&mut self,
col_name: &str,
row: u64
) -> Result<Vec<T>, Error>
[src]
&mut self,
col_name: &str,
row: u64
) -> Result<Vec<T>, Error>
This function discards shape information but won't accept scalars.
pub fn put_cell<T: CasaDataType>(
&mut self,
col_name: &str,
row: u64,
value: &T
) -> Result<(), CasacoreError>
[src]
&mut self,
col_name: &str,
row: u64,
value: &T
) -> Result<(), CasacoreError>
pub fn add_rows(&mut self, n_rows: usize) -> Result<(), CasacoreError>
[src]
pub fn get_row_reader(&mut self) -> Result<TableRow, CasacoreError>
[src]
pub fn get_row_writer(&mut self) -> Result<TableRow, CasacoreError>
[src]
pub fn read_row(
&mut self,
row: &mut TableRow,
row_number: u64
) -> Result<(), Error>
[src]
&mut self,
row: &mut TableRow,
row_number: u64
) -> Result<(), Error>
pub fn for_each_row<F>(&mut self, func: F) -> Result<(), Error> where
F: FnMut(&mut TableRow) -> Result<(), Error>,
[src]
F: FnMut(&mut TableRow) -> Result<(), Error>,
pub fn copy_rows_to(&mut self, dest: &mut Table) -> Result<(), CasacoreError>
[src]
pub fn deep_copy_no_rows(
&mut self,
dest_path: &str
) -> Result<(), CasacoreError>
[src]
&mut self,
dest_path: &str
) -> Result<(), CasacoreError>
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,