Skip to main content
Version: Next

OpInterface definitions

NeedsNullWrap (DB_NeedsNullWrap)​

This interface allows operations to indicate that they cannot handle NULL values themselves and need a wrapper.

Methods:​

needsNullWrap​

bool needsNullWrap();

Returns true if the operator cannot NULL itself.

NOTE: This method must be implemented by the user.

SupportsInvalidValues (DB_SupportsInvalidValues)​

This interface allows operations to indicate that they can safely handle invalid (garbage) values (and therefore can be safely executed on the invalid value storage of NULL values).

Methods:​

supportsInvalidValues​

bool supportsInvalidValues();

Returns true if the operator supports invalid values.

NOTE: This method must be implemented by the user.

SupportsNullabilityChange (DB_SupportsNullabilityChange)​

Methods:​

getChangedResultType​

mlir::Type getChangedResultType();

Returns new result type .

NOTE: This method must be implemented by the user.