| 2780 | } |
| 2781 | |
| 2782 | static char IntervalTypeFingerprint(IntervalType::type unit) { |
| 2783 | switch (unit) { |
| 2784 | case IntervalType::DAY_TIME: |
| 2785 | return 'd'; |
| 2786 | case IntervalType::MONTHS: |
| 2787 | return 'M'; |
| 2788 | case IntervalType::MONTH_DAY_NANO: |
| 2789 | return 'N'; |
| 2790 | default: |
| 2791 | DCHECK(false) << "Unexpected IntervalType::type"; |
| 2792 | return '\0'; |
| 2793 | } |
| 2794 | } |
| 2795 | |
| 2796 | static void AppendMetadataFingerprint(const KeyValueMetadata& metadata, |
| 2797 | std::stringstream* ss) { |