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

Method ODBCDescriptor

cpp/src/arrow/flight/sql/odbc/odbc_impl/odbc_descriptor.cc:57–74  ·  view source on GitHub ↗

Public =========================================================================================

Source from the content-addressed store, hash-verified

55// Public
56// =========================================================================================
57ODBCDescriptor::ODBCDescriptor(Diagnostics& base_diagnostics, ODBCConnection* conn,
58 ODBCStatement* stmt, bool is_app_descriptor,
59 bool is_writable, bool is_2x_connection)
60 : diagnostics_(base_diagnostics.GetVendor(),
61 base_diagnostics.GetDataSourceComponent(),
62 arrow::flight::sql::odbc::OdbcVersion::V_3),
63 owning_connection_(conn),
64 parent_statement_(stmt),
65 array_status_ptr_(nullptr),
66 bind_offset_ptr_(nullptr),
67 rows_processed_ptr_(nullptr),
68 array_size_(1),
69 bind_type_(SQL_BIND_BY_COLUMN),
70 highest_one_based_bound_record_(0),
71 is_2x_connection_(is_2x_connection),
72 is_app_descriptor_(is_app_descriptor),
73 is_writable_(is_writable),
74 has_bindings_changed_(true) {}
75
76Diagnostics& ODBCDescriptor::GetDiagnosticsImpl() { return diagnostics_; }
77

Callers

nothing calls this directly

Calls 2

GetVendorMethod · 0.80

Tested by

no test coverage detected