MCPcopy Create free account
hub / github.com/apache/arrow / ScalarToInt32

Function ScalarToInt32

cpp/src/arrow/flight/sql/odbc/odbc_impl/get_info_cache.cc:188–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188inline int32_t ScalarToInt32(UnionScalar* scalar) {
189 return reinterpret_cast<Int32Scalar*>(scalar->child_value().get())->value;
190}
191
192inline int64_t ScalarToInt64(UnionScalar* scalar) {
193 return reinterpret_cast<Int64Scalar*>(scalar->child_value().get())->value;

Callers 1

LoadInfoFromServerMethod · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected