Helpers for Sorter::Run::ConvertValueOffsetsToPtr() to get the data size based on the type.
| 765 | // Helpers for Sorter::Run::ConvertValueOffsetsToPtr() to get the data size based on the |
| 766 | // type. |
| 767 | int64_t GetDataSize(const StringValue& string_value, const SlotDescriptor& slot_desc) { |
| 768 | return string_value.IsSmall() ? 0 : string_value.Len(); |
| 769 | } |
| 770 | |
| 771 | int64_t GetDataSize(const CollectionValue& collection_value, |
| 772 | const SlotDescriptor& slot_desc) { |
no test coverage detected