MCPcopy Create free account
hub / github.com/apache/impala / ThriftDebugStringNoThrow

Function ThriftDebugStringNoThrow

be/src/util/thrift-debug-util.h:151–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149template <typename T,
150 std::enable_if_t<HasSecret<T>::value, T>* = nullptr>
151inline std::string ThriftDebugStringNoThrow(const T& t) {
152 static_assert(AlwaysFalse<T>::value,
153 "Don't use ThriftDebugStringNoThrow() to output this object. "
154 "Use RedactedDebugStringNoThrow() instead.");
155 return "";
156}
157
158/// This method is a wrapper over Thrift's ThriftDebugString. It catches any exception
159/// that might be thrown by the underlying Thrift method. Typically, we use this method

Callers 7

GetCatalogObjectMethod · 0.85
GetPartitionStatsMethod · 0.85
GetNullPartitionNameMethod · 0.85
GetLatestCompactionsMethod · 0.85

Calls 2

DebugActionFunction · 0.85
ThriftDebugStringFunction · 0.85

Tested by

no test coverage detected