| 97 | } |
| 98 | |
| 99 | std::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 | |
| 109 | std::optional<std::shared_ptr<ResultSetMetadata>> FlightSqlStatement::Prepare( |
| 110 | const std::string& query) { |