(&mut self)
| 3058 | } |
| 3059 | |
| 3060 | fn parse_connection_option_unified(&mut self) -> Result<ConnectionOption<Raw>, ParserError> { |
| 3061 | let name = self.parse_connection_option_name()?; |
| 3062 | let value = match name { |
| 3063 | ConnectionOptionName::AwsConnection => Some(self.parse_object_option_value()?), |
| 3064 | ConnectionOptionName::AwsPrivatelink => Some(self.parse_default_aws_privatelink()?), |
| 3065 | ConnectionOptionName::Broker => Some(self.parse_kafka_broker()?), |
| 3066 | ConnectionOptionName::Brokers => Some(WithOptionValue::Sequence( |
| 3067 | self.parse_list_value(Parser::parse_kafka_broker_or_matching_rule)?, |
| 3068 | )), |
| 3069 | ConnectionOptionName::GcpConnection => Some(self.parse_object_option_value()?), |
| 3070 | ConnectionOptionName::SshTunnel => Some(self.parse_object_option_value()?), |
| 3071 | _ => self.parse_optional_option_value()?, |
| 3072 | }; |
| 3073 | Ok(ConnectionOption { name, value }) |
| 3074 | } |
| 3075 | |
| 3076 | fn parse_create_subsource(&mut self) -> Result<Statement<Raw>, ParserError> { |
| 3077 | self.expect_keyword(SUBSOURCE)?; |
no test coverage detected