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

Method GetAttribute

cpp/src/arrow/flight/sql/odbc/odbc_impl/flight_sql_statement.cc:99–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99std::optional<Statement::Attribute> FlightSqlStatement::GetAttribute(
100 StatementAttributeId attribute) {
101 const auto& it = attribute_.find(attribute);
102 if (it != attribute_.end()) {
103 return std::make_optional(it->second);
104 } else {
105 return std::nullopt;
106 }
107}
108
109std::optional<std::shared_ptr<ResultSetMetadata>> FlightSqlStatement::Prepare(
110 const std::string& query) {

Callers 6

TESTFunction · 0.45
GetInfoMethod · 0.45
GetConnectAttrMethod · 0.45
AuthenticateMethod · 0.45
CopyAttributeFunction · 0.45
GetStmtAttrMethod · 0.45

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by 1

TESTFunction · 0.36