| 2808 | } |
| 2809 | |
| 2810 | std::string Field::ComputeFingerprint() const { |
| 2811 | const auto& type_fingerprint = type_->fingerprint(); |
| 2812 | if (type_fingerprint.empty()) { |
| 2813 | // Underlying DataType doesn't support fingerprinting. |
| 2814 | return ""; |
| 2815 | } |
| 2816 | std::stringstream ss; |
| 2817 | ss << 'F'; |
| 2818 | if (nullable_) { |
| 2819 | ss << 'n'; |
| 2820 | } else { |
| 2821 | ss << 'N'; |
| 2822 | } |
| 2823 | ss << name_; |
| 2824 | ss << '{' << type_fingerprint << '}'; |
| 2825 | return ss.str(); |
| 2826 | } |
| 2827 | |
| 2828 | std::string Field::ComputeMetadataFingerprint() const { |
| 2829 | std::stringstream ss; |
nothing calls this directly
no test coverage detected