Trait tidb_query_expr::impl_cast::CastAnyAsDecimal_Fn [−][src]
Required methods
fn eval(
self,
ctx: &mut EvalContext,
output_rows: usize,
args: &[RpnStackNode<'_>],
extra: &mut RpnFnCallExtra<'_>,
metadata: &(dyn Any + Send)
) -> Result<VectorValue>
[src]
self,
ctx: &mut EvalContext,
output_rows: usize,
args: &[RpnStackNode<'_>],
extra: &mut RpnFnCallExtra<'_>,
metadata: &(dyn Any + Send)
) -> Result<VectorValue>
Implementors
impl<'arg_, From: Evaluable + EvaluableRet + ConvertTo<Decimal>, Arg0_: RpnFnArg<Type = Option<&'arg_ From>>> CastAnyAsDecimal_Fn<From> for Arg<Arg0_, Null>
[src]
default fn eval(
self,
ctx: &mut EvalContext,
output_rows: usize,
args: &[RpnStackNode<'_>],
extra: &mut RpnFnCallExtra<'_>,
metadata: &(dyn Any + Send)
) -> Result<VectorValue>
[src]
self,
ctx: &mut EvalContext,
output_rows: usize,
args: &[RpnStackNode<'_>],
extra: &mut RpnFnCallExtra<'_>,
metadata: &(dyn Any + Send)
) -> Result<VectorValue>
impl<From: Evaluable + EvaluableRet + ConvertTo<Decimal>, D_: ArgDef> CastAnyAsDecimal_Fn<From> for D_
[src]
default fn eval(
self,
ctx: &mut EvalContext,
output_rows: usize,
args: &[RpnStackNode<'_>],
extra: &mut RpnFnCallExtra<'_>,
metadata: &(dyn Any + Send)
) -> Result<VectorValue>
[src]
self,
ctx: &mut EvalContext,
output_rows: usize,
args: &[RpnStackNode<'_>],
extra: &mut RpnFnCallExtra<'_>,
metadata: &(dyn Any + Send)
) -> Result<VectorValue>