Interface INullColHandler
What a NULL column means for a value, take a default, throw, or collapse the object it belongs to.
This is the column-level counterpart to the null-accepting result shapes.
public interface INullColHandler
- Extension Methods
Methods
HandleNull(Type, Type, string, Generator, NullSetPoint)
Emits how a NULL is handled for this value.
Label? HandleNull(Type parentType, Type closedType, string paramName, Generator generator, NullSetPoint nullSetPoint)
Parameters
parentTypeTypeclosedTypeTypeparamNamestringgeneratorGeneratornullSetPointNullSetPoint
Returns
HandleNullForMultiRow(Type, Type, string, LocalBuilder, Generator, NullSetPoint)
Emits how a NULL element signal is handled in a multi-row collection, storing the result in the element local.
Label? HandleNullForMultiRow(Type bufferType, Type elementType, string paramName, LocalBuilder elementLocal, Generator generator, NullSetPoint nullSetPoint)
Parameters
bufferTypeTypeelementTypeTypeparamNamestringelementLocalLocalBuildergeneratorGeneratornullSetPointNullSetPoint
Returns
IsBr_S(Type)
Whether the branch this handler emits is short-form, an emit detail.
bool IsBr_S(Type closedType)
Parameters
closedTypeType
Returns
NeedNullJumpSetPoint(Type)
Returns whether the generated reader needs a target for this null rule.
bool NeedNullJumpSetPoint(Type closedType)
Parameters
closedTypeType
Returns
SetAbortOnNull(Type, bool)
The same rule switched to also collapse the owning object when the value is NULL, or back.
INullColHandler SetAbortOnNull(Type type, bool abortOnNull)