(self, name, value, is_log_sql=True)
| 411 | return self.__host_port |
| 412 | |
| 413 | def set_configuration_option(self, name, value, is_log_sql=True): |
| 414 | # Only set the option if it's not already set to the same value. |
| 415 | name = name.lower() |
| 416 | value = str(value) |
| 417 | if self.__beeswax_client.get_query_option(name) != value: |
| 418 | self.__beeswax_client.set_query_option(name, value) |
| 419 | if is_log_sql: |
| 420 | self.log_client("\n\nset {0}={1};\n".format(name, value)) |
| 421 | return True |
| 422 | return False |
| 423 | |
| 424 | def clear_configuration(self): |
| 425 | self.__beeswax_client.clear_query_options() |
no test coverage detected