diff options
author | babenko <babenko@yandex-team.com> | 2022-09-15 10:16:02 +0300 |
---|---|---|
committer | babenko <babenko@yandex-team.com> | 2022-09-15 10:16:02 +0300 |
commit | b9588379f518a95feabccf562b290a487f8f130a (patch) | |
tree | a0e9303aaaa0ec7fb9d983c884ccb4d5b9f4c327 /library/cpp/yt/yson_string/string.h | |
parent | 83f3ea3ed2808ba1449a8af8aa3f72f29bc80efa (diff) | |
download | ydb-b9588379f518a95feabccf562b290a487f8f130a.tar.gz |
Support logging unstructured messages to structured log
Diffstat (limited to 'library/cpp/yt/yson_string/string.h')
-rw-r--r-- | library/cpp/yt/yson_string/string.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/library/cpp/yt/yson_string/string.h b/library/cpp/yt/yson_string/string.h index e13af37a6d..8feb01806d 100644 --- a/library/cpp/yt/yson_string/string.h +++ b/library/cpp/yt/yson_string/string.h @@ -100,6 +100,10 @@ public: //! Copies the data in case the payload is not TString. TString ToString() const; + //! Returns the data represented by TSharedRef. The instance must be non-null. + //! The data is never copied. + TSharedRef ToSharedRef() const; + //! Computes the hash code. size_t ComputeHash() const; |