Trait tidb_query_datatype::codec::datum_codec::EvaluableDatumEncoder [−][src]
An encoder to encode an evaluable type to datum bytes.
Provided methods
fn write_evaluable_datum_null(&mut self) -> Result<()>
[src]
fn write_evaluable_datum_int(
&mut self,
val: i64,
is_unsigned: bool
) -> Result<()>
[src]
&mut self,
val: i64,
is_unsigned: bool
) -> Result<()>
fn write_evaluable_datum_real(&mut self, val: f64) -> Result<()>
[src]
fn write_evaluable_datum_decimal(&mut self, val: &Decimal) -> Result<()>
[src]
fn write_evaluable_datum_bytes(&mut self, val: &[u8]) -> Result<()>
[src]
fn write_evaluable_datum_date_time(
&mut self,
val: DateTime,
ctx: &mut EvalContext
) -> Result<()>
[src]
&mut self,
val: DateTime,
ctx: &mut EvalContext
) -> Result<()>