MCPcopy Create free account
hub / github.com/apache/arrow / ~PreparedStatement

Method ~PreparedStatement

cpp/src/arrow/flight/sql/client.cc:138–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136 is_closed_(false) {}
137
138PreparedStatement::~PreparedStatement() {
139 if (IsClosed()) return;
140
141 const Status status = Close();
142 if (!status.ok()) {
143 ARROW_LOG(ERROR) << "Failed to delete PreparedStatement: " << status.ToString();
144 }
145}
146
147arrow::Result<std::unique_ptr<FlightInfo>> FlightSqlClient::Execute(
148 const FlightCallOptions& options, const std::string& query,

Callers

nothing calls this directly

Calls 3

CloseFunction · 0.50
okMethod · 0.45
ToStringMethod · 0.45

Tested by

no test coverage detected