Value Date::GetNullValue(CodeGen &codegen) const { auto *raw_val = codegen.Const32(peloton::type::PELOTON_DATE_NULL); return Value{Type{TypeId(), true}, raw_val, nullptr, codegen.ConstBool(true)}; }
Value Varchar::GetNullValue(CodeGen &codegen) const { return Value{Type{TypeId(), true}, codegen.NullPtr(codegen.CharPtrType()), codegen.Const32(0), codegen.ConstBool(true)}; }
Value SmallInt::GetNullValue(CodeGen &codegen) const { auto *raw_val = codegen.Const16(peloton::type::PELOTON_INT16_NULL); return Value{Type{TypeId(), true}, raw_val, nullptr, codegen.ConstBool(true)}; }