Class ConvertedScalarPlan
A terminal plan that reads a column through the standard typed reader API and emits a conversion.
public sealed class ConvertedScalarPlan : ScalarDbItemPlan, ISimpleDbItemPlan, IColumnOrdinalPlan
- Inheritance
-
ConvertedScalarPlan
- Implements
- Inherited Members
- Extension Methods
Constructors
ConvertedScalarPlan(Type, ITypeConverter, string, INullColHandler, int)
A terminal plan that reads a column through the standard typed reader API and emits a conversion.
public ConvertedScalarPlan(Type parentType, ITypeConverter converter, string parameterName, INullColHandler nullHandler, int ordinal)
Parameters
parentTypeTypeconverterITypeConverterparameterNamestringnullHandlerINullColHandlerordinalint
Properties
Converter
The conversion emitted after the standard column read.
public ITypeConverter Converter { get; }
Property Value
Methods
EmitValue(ColumnInfo, Generator)
Writes the non null read for column and leaves exactly one
OutputType value on the evaluation stack.
protected override void EmitValue(ColumnInfo column, Generator generator)
Parameters
columnColumnInfoThe result column to read.
generatorGeneratorThe instruction writer to use.