pub struct RowDataDecoder<'a> { /* private fields */ }Expand description
Decoder for row data from Oracle wire format
Implementations§
Source§impl<'a> RowDataDecoder<'a>
impl<'a> RowDataDecoder<'a>
Sourcepub fn new(columns: &'a [ColumnInfo]) -> Self
pub fn new(columns: &'a [ColumnInfo]) -> Self
Create a new row data decoder
Sourcepub fn set_bit_vector(&mut self, bit_vector: Vec<u8>)
pub fn set_bit_vector(&mut self, bit_vector: Vec<u8>)
Set the bit vector for duplicate data detection
Sourcepub fn clear_bit_vector(&mut self)
pub fn clear_bit_vector(&mut self)
Clear the bit vector after row processing
Sourcepub fn decode_row(
&self,
buf: &mut ReadBuffer,
previous_row: Option<&Row>,
) -> Result<Row>
pub fn decode_row( &self, buf: &mut ReadBuffer, previous_row: Option<&Row>, ) -> Result<Row>
Decode a single row from the buffer
Auto Trait Implementations§
impl<'a> Freeze for RowDataDecoder<'a>
impl<'a> RefUnwindSafe for RowDataDecoder<'a>
impl<'a> Send for RowDataDecoder<'a>
impl<'a> Sync for RowDataDecoder<'a>
impl<'a> Unpin for RowDataDecoder<'a>
impl<'a> UnwindSafe for RowDataDecoder<'a>
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more