[−][src]Trait odbc_avro::AvroResultSet
Extension functions for ResultSet
.
Required methods
fn avro_schema<'n>(&self, name: &'n str) -> Result<AvroSchema, OdbcAvroError>
Crates AvroSchema
object from ResultSet
schema.
fn write_avro<'n, W: Write>(
self,
writer: &mut W,
codec: Codec,
name: &'n str
) -> Result<usize, OdbcAvroError>
self,
writer: &mut W,
codec: Codec,
name: &'n str
) -> Result<usize, OdbcAvroError>
Writes all rows as Avro "Object Container File" data.
Implementations on Foreign Types
impl<'h, 'c: 'h, S> AvroResultSet for ResultSet<'h, 'c, AvroRowRecord, S, AvroConfiguration>
[src]
fn avro_schema<'n>(&self, name: &'n str) -> Result<AvroSchema, OdbcAvroError>
[src]
fn write_avro<'n, W: Write>(
self,
writer: &mut W,
codec: Codec,
name: &'n str
) -> Result<usize, OdbcAvroError>
[src]
self,
writer: &mut W,
codec: Codec,
name: &'n str
) -> Result<usize, OdbcAvroError>