public object Compute( object input, EventBean[] eventsPerStream, bool newData, ExprEvaluatorContext exprEvaluatorContext) { return(caster.Cast(input)); }
public object Get(EventBean eventBean) { var value = VariantGet(eventBean, variantEventType.VariantPropertyGetterCache, propertyName); if (value == null) { return null; } return caster.Cast(value); }
public object Compute( object input, EventBean[] eventsPerStream, bool newData, ExprEvaluatorContext exprEvaluatorContext) { if (input.IsNumber()) { return(numericTypeCaster.Cast(input)); } return(null); }