Class: OCI::Mysql::Models::ConfigurationVariables
- Inherits:
-
Object
- Object
- OCI::Mysql::Models::ConfigurationVariables
- Defined in:
- lib/oci/mysql/models/configuration_variables.rb
Overview
User controllable service variables.
Constant Summary collapse
- COMPLETION_TYPE_ENUM =
[ COMPLETION_TYPE_NO_CHAIN = 'NO_CHAIN'.freeze, COMPLETION_TYPE_CHAIN = 'CHAIN'.freeze, COMPLETION_TYPE_RELEASE = 'RELEASE'.freeze, COMPLETION_TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
- DEFAULT_AUTHENTICATION_PLUGIN_ENUM =
[ DEFAULT_AUTHENTICATION_PLUGIN_MYSQL_NATIVE_PASSWORD = 'mysql_native_password'.freeze, DEFAULT_AUTHENTICATION_PLUGIN_SHA256_PASSWORD = 'sha256_password'.freeze, DEFAULT_AUTHENTICATION_PLUGIN_CACHING_SHA2_PASSWORD = 'caching_sha2_password'.freeze, DEFAULT_AUTHENTICATION_PLUGIN_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
- TRANSACTION_ISOLATION_ENUM =
[ TRANSACTION_ISOLATION_READ_UNCOMMITTED = 'READ-UNCOMMITTED'.freeze, TRANSACTION_ISOLATION_READ_COMMITED = 'READ-COMMITED'.freeze, TRANSACTION_ISOLATION_READ_COMMITTED = 'READ-COMMITTED'.freeze, TRANSACTION_ISOLATION_REPEATABLE_READ = 'REPEATABLE-READ'.freeze, TRANSACTION_ISOLATION_SERIALIZABLE = 'SERIALIZABLE'.freeze, TRANSACTION_ISOLATION_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
- GROUP_REPLICATION_CONSISTENCY_ENUM =
[ GROUP_REPLICATION_CONSISTENCY_EVENTUAL = 'EVENTUAL'.freeze, GROUP_REPLICATION_CONSISTENCY_BEFORE_ON_PRIMARY_FAILOVER = 'BEFORE_ON_PRIMARY_FAILOVER'.freeze, GROUP_REPLICATION_CONSISTENCY_BEFORE = 'BEFORE'.freeze, GROUP_REPLICATION_CONSISTENCY_AFTER = 'AFTER'.freeze, GROUP_REPLICATION_CONSISTENCY_BEFORE_AND_AFTER = 'BEFORE_AND_AFTER'.freeze, GROUP_REPLICATION_CONSISTENCY_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
Instance Attribute Summary collapse
-
#autocommit ⇒ BOOLEAN
("autocommit").
-
#binlog_expire_logs_seconds ⇒ Integer
("binlog_expire_logs_seconds") DEPRECATED – variable should not be settable and will be ignored.
-
#completion_type ⇒ String
("completion_type").
-
#connect_timeout ⇒ Integer
("connect_timeout").
-
#cte_max_recursion_depth ⇒ Integer
("cte_max_recursion_depth").
-
#default_authentication_plugin ⇒ String
("default_authentication_plugin").
-
#foreign_key_checks ⇒ BOOLEAN
("foreign_key_checks").
-
#generated_random_password_length ⇒ Integer
("generated_random_password_length") DEPRECATED – variable should not be settable and will be ignored.
-
#group_replication_consistency ⇒ String
-
EVENTUAL: Both RO and RW transactions do not wait for preceding transactions to be applied before executing.
-
-
#information_schema_stats_expiry ⇒ Integer
("information_schema_stats_expiry").
-
#innodb_buffer_pool_instances ⇒ Integer
("innodb_buffer_pool_instances").
-
#innodb_buffer_pool_size ⇒ Integer
("innodb_buffer_pool_size").
-
#innodb_ft_enable_stopword ⇒ BOOLEAN
("innodb_ft_enable_stopword").
-
#innodb_ft_max_token_size ⇒ Integer
("innodb_ft_max_token_size").
-
#innodb_ft_min_token_size ⇒ Integer
("innodb_ft_min_token_size").
-
#innodb_ft_num_word_optimize ⇒ Integer
("innodb_ft_num_word_optimize").
-
#innodb_ft_result_cache_limit ⇒ Integer
("innodb_ft_result_cache_limit").
-
#innodb_ft_server_stopword_table ⇒ String
("innodb_ft_server_stopword_table").
-
#innodb_lock_wait_timeout ⇒ Integer
("innodb_lock_wait_timeout").
-
#innodb_max_purge_lag ⇒ Integer
("innodb_max_purge_lag").
-
#innodb_max_purge_lag_delay ⇒ Integer
("innodb_max_purge_lag_delay").
-
#local_infile ⇒ BOOLEAN
("local_infile").
-
#mandatory_roles ⇒ String
("mandatory_roles").
-
#max_connections ⇒ Integer
("max_connections").
-
#max_execution_time ⇒ Integer
("max_execution_time").
-
#max_prepared_stmt_count ⇒ Integer
("max_prepared_stmt_count").
-
#mysql_firewall_mode ⇒ BOOLEAN
("mysql_firewall_mode").
-
#mysql_zstd_default_compression_level ⇒ Integer
DEPRECATED – typo of mysqlx_zstd_default_compression_level.
-
#mysqlx_connect_timeout ⇒ Integer
("mysqlx_connect_timeout") DEPRECATED – variable should not be settable and will be ignored.
-
#mysqlx_deflate_default_compression_level ⇒ Integer
Set the default compression level for the deflate algorithm.
-
#mysqlx_deflate_max_client_compression_level ⇒ Integer
Limit the upper bound of accepted compression levels for the deflate algorithm.
-
#mysqlx_document_id_unique_prefix ⇒ Integer
("mysqlx_document_id_unique_prefix") DEPRECATED – variable should not be settable and will be ignored.
-
#mysqlx_enable_hello_notice ⇒ BOOLEAN
("mysqlx_enable_hello_notice") DEPRECATED – variable should not be settable and will be ignored.
-
#mysqlx_idle_worker_thread_timeout ⇒ Integer
("mysqlx_idle_worker_thread_timeout") DEPRECATED – variable should not be settable and will be ignored.
-
#mysqlx_interactive_timeout ⇒ Integer
("mysqlx_interactive_timeout") DEPRECATED – variable should not be settable and will be ignored.
-
#mysqlx_lz4_default_compression_level ⇒ Integer
Set the default compression level for the lz4 algorithm.
-
#mysqlx_lz4_max_client_compression_level ⇒ Integer
Limit the upper bound of accepted compression levels for the lz4 algorithm.
-
#mysqlx_max_allowed_packet ⇒ Integer
("mysqlx_max_allowed_packet") DEPRECATED – variable should not be settable and will be ignored.
-
#mysqlx_min_worker_threads ⇒ Integer
("mysqlx_min_worker_threads") DEPRECATED – variable should not be settable and will be ignored.
-
#mysqlx_read_timeout ⇒ Integer
("mysqlx_read_timeout") DEPRECATED – variable should not be settable and will be ignored.
-
#mysqlx_wait_timeout ⇒ Integer
("mysqlx_wait_timeout") DEPRECATED – variable should not be settable and will be ignored.
-
#mysqlx_write_timeout ⇒ Integer
("mysqlx_write_timeout") DEPRECATED – variable should not be settable and will be ignored.
-
#mysqlx_zstd_default_compression_level ⇒ Integer
Set the default compression level for the zstd algorithm.
-
#mysqlx_zstd_max_client_compression_level ⇒ Integer
Limit the upper bound of accepted compression levels for the zstd algorithm.
-
#parser_max_mem_size ⇒ Integer
("parser_max_mem_size").
-
#query_alloc_block_size ⇒ Integer
("query_alloc_block_size") DEPRECATED – variable should not be settable and will be ignored.
-
#query_prealloc_size ⇒ Integer
("query_prealloc_size") DEPRECATED – variable should not be settable and will be ignored.
-
#sql_mode ⇒ String
("sql_mode").
-
#sql_require_primary_key ⇒ BOOLEAN
("sql_require_primary_key").
-
#sql_warnings ⇒ BOOLEAN
("sql_warnings").
-
#transaction_isolation ⇒ String
("transaction_isolation").
Class Method Summary collapse
-
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
-
.swagger_types ⇒ Object
Attribute type mapping.
Instance Method Summary collapse
-
#==(other) ⇒ Object
Checks equality by comparing each attribute.
-
#build_from_hash(attributes) ⇒ Object
Builds the object from hash.
- #eql?(other) ⇒ Boolean
-
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
-
#initialize(attributes = {}) ⇒ ConfigurationVariables
constructor
Initializes the object.
-
#to_hash ⇒ Hash
Returns the object in the form of hash.
-
#to_s ⇒ String
Returns the string representation of the object.
Constructor Details
#initialize(attributes = {}) ⇒ ConfigurationVariables
Initializes the object
451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 451 def initialize(attributes = {}) return unless attributes.is_a?(Hash) # convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v } self.completion_type = attributes[:'completionType'] if attributes[:'completionType'] self.completion_type = "NO_CHAIN" if completion_type.nil? && !attributes.key?(:'completionType') # rubocop:disable Style/StringLiterals raise 'You cannot provide both :completionType and :completion_type' if attributes.key?(:'completionType') && attributes.key?(:'completion_type') self.completion_type = attributes[:'completion_type'] if attributes[:'completion_type'] self.completion_type = "NO_CHAIN" if completion_type.nil? && !attributes.key?(:'completionType') && !attributes.key?(:'completion_type') # rubocop:disable Style/StringLiterals self.default_authentication_plugin = attributes[:'defaultAuthenticationPlugin'] if attributes[:'defaultAuthenticationPlugin'] self.default_authentication_plugin = "caching_sha2_password" if default_authentication_plugin.nil? && !attributes.key?(:'defaultAuthenticationPlugin') # rubocop:disable Style/StringLiterals raise 'You cannot provide both :defaultAuthenticationPlugin and :default_authentication_plugin' if attributes.key?(:'defaultAuthenticationPlugin') && attributes.key?(:'default_authentication_plugin') self.default_authentication_plugin = attributes[:'default_authentication_plugin'] if attributes[:'default_authentication_plugin'] self.default_authentication_plugin = "caching_sha2_password" if default_authentication_plugin.nil? && !attributes.key?(:'defaultAuthenticationPlugin') && !attributes.key?(:'default_authentication_plugin') # rubocop:disable Style/StringLiterals self.transaction_isolation = attributes[:'transactionIsolation'] if attributes[:'transactionIsolation'] self.transaction_isolation = "REPEATABLE-READ" if transaction_isolation.nil? && !attributes.key?(:'transactionIsolation') # rubocop:disable Style/StringLiterals raise 'You cannot provide both :transactionIsolation and :transaction_isolation' if attributes.key?(:'transactionIsolation') && attributes.key?(:'transaction_isolation') self.transaction_isolation = attributes[:'transaction_isolation'] if attributes[:'transaction_isolation'] self.transaction_isolation = "REPEATABLE-READ" if transaction_isolation.nil? && !attributes.key?(:'transactionIsolation') && !attributes.key?(:'transaction_isolation') # rubocop:disable Style/StringLiterals self.innodb_ft_server_stopword_table = attributes[:'innodbFtServerStopwordTable'] if attributes[:'innodbFtServerStopwordTable'] self.innodb_ft_server_stopword_table = "null" if innodb_ft_server_stopword_table.nil? && !attributes.key?(:'innodbFtServerStopwordTable') # rubocop:disable Style/StringLiterals raise 'You cannot provide both :innodbFtServerStopwordTable and :innodb_ft_server_stopword_table' if attributes.key?(:'innodbFtServerStopwordTable') && attributes.key?(:'innodb_ft_server_stopword_table') self.innodb_ft_server_stopword_table = attributes[:'innodb_ft_server_stopword_table'] if attributes[:'innodb_ft_server_stopword_table'] self.innodb_ft_server_stopword_table = "null" if innodb_ft_server_stopword_table.nil? && !attributes.key?(:'innodbFtServerStopwordTable') && !attributes.key?(:'innodb_ft_server_stopword_table') # rubocop:disable Style/StringLiterals self.mandatory_roles = attributes[:'mandatoryRoles'] if attributes[:'mandatoryRoles'] self.mandatory_roles = "" if mandatory_roles.nil? && !attributes.key?(:'mandatoryRoles') # rubocop:disable Style/StringLiterals raise 'You cannot provide both :mandatoryRoles and :mandatory_roles' if attributes.key?(:'mandatoryRoles') && attributes.key?(:'mandatory_roles') self.mandatory_roles = attributes[:'mandatory_roles'] if attributes[:'mandatory_roles'] self.mandatory_roles = "" if mandatory_roles.nil? && !attributes.key?(:'mandatoryRoles') && !attributes.key?(:'mandatory_roles') # rubocop:disable Style/StringLiterals self.autocommit = attributes[:'autocommit'] unless attributes[:'autocommit'].nil? self.autocommit = true if autocommit.nil? && !attributes.key?(:'autocommit') # rubocop:disable Style/StringLiterals self.foreign_key_checks = attributes[:'foreignKeyChecks'] unless attributes[:'foreignKeyChecks'].nil? self.foreign_key_checks = true if foreign_key_checks.nil? && !attributes.key?(:'foreignKeyChecks') # rubocop:disable Style/StringLiterals raise 'You cannot provide both :foreignKeyChecks and :foreign_key_checks' if attributes.key?(:'foreignKeyChecks') && attributes.key?(:'foreign_key_checks') self.foreign_key_checks = attributes[:'foreign_key_checks'] unless attributes[:'foreign_key_checks'].nil? self.foreign_key_checks = true if foreign_key_checks.nil? && !attributes.key?(:'foreignKeyChecks') && !attributes.key?(:'foreign_key_checks') # rubocop:disable Style/StringLiterals self.group_replication_consistency = attributes[:'groupReplicationConsistency'] if attributes[:'groupReplicationConsistency'] self.group_replication_consistency = "BEFORE_ON_PRIMARY_FAILOVER" if group_replication_consistency.nil? && !attributes.key?(:'groupReplicationConsistency') # rubocop:disable Style/StringLiterals raise 'You cannot provide both :groupReplicationConsistency and :group_replication_consistency' if attributes.key?(:'groupReplicationConsistency') && attributes.key?(:'group_replication_consistency') self.group_replication_consistency = attributes[:'group_replication_consistency'] if attributes[:'group_replication_consistency'] self.group_replication_consistency = "BEFORE_ON_PRIMARY_FAILOVER" if group_replication_consistency.nil? && !attributes.key?(:'groupReplicationConsistency') && !attributes.key?(:'group_replication_consistency') # rubocop:disable Style/StringLiterals self.innodb_ft_enable_stopword = attributes[:'innodbFtEnableStopword'] unless attributes[:'innodbFtEnableStopword'].nil? self.innodb_ft_enable_stopword = true if innodb_ft_enable_stopword.nil? && !attributes.key?(:'innodbFtEnableStopword') # rubocop:disable Style/StringLiterals raise 'You cannot provide both :innodbFtEnableStopword and :innodb_ft_enable_stopword' if attributes.key?(:'innodbFtEnableStopword') && attributes.key?(:'innodb_ft_enable_stopword') self.innodb_ft_enable_stopword = attributes[:'innodb_ft_enable_stopword'] unless attributes[:'innodb_ft_enable_stopword'].nil? self.innodb_ft_enable_stopword = true if innodb_ft_enable_stopword.nil? && !attributes.key?(:'innodbFtEnableStopword') && !attributes.key?(:'innodb_ft_enable_stopword') # rubocop:disable Style/StringLiterals self.local_infile = attributes[:'localInfile'] unless attributes[:'localInfile'].nil? self.local_infile = false if local_infile.nil? && !attributes.key?(:'localInfile') # rubocop:disable Style/StringLiterals raise 'You cannot provide both :localInfile and :local_infile' if attributes.key?(:'localInfile') && attributes.key?(:'local_infile') self.local_infile = attributes[:'local_infile'] unless attributes[:'local_infile'].nil? self.local_infile = false if local_infile.nil? && !attributes.key?(:'localInfile') && !attributes.key?(:'local_infile') # rubocop:disable Style/StringLiterals self.mysql_firewall_mode = attributes[:'mysqlFirewallMode'] unless attributes[:'mysqlFirewallMode'].nil? self.mysql_firewall_mode = true if mysql_firewall_mode.nil? && !attributes.key?(:'mysqlFirewallMode') # rubocop:disable Style/StringLiterals raise 'You cannot provide both :mysqlFirewallMode and :mysql_firewall_mode' if attributes.key?(:'mysqlFirewallMode') && attributes.key?(:'mysql_firewall_mode') self.mysql_firewall_mode = attributes[:'mysql_firewall_mode'] unless attributes[:'mysql_firewall_mode'].nil? self.mysql_firewall_mode = true if mysql_firewall_mode.nil? && !attributes.key?(:'mysqlFirewallMode') && !attributes.key?(:'mysql_firewall_mode') # rubocop:disable Style/StringLiterals self.mysqlx_enable_hello_notice = attributes[:'mysqlxEnableHelloNotice'] unless attributes[:'mysqlxEnableHelloNotice'].nil? self.mysqlx_enable_hello_notice = true if mysqlx_enable_hello_notice.nil? && !attributes.key?(:'mysqlxEnableHelloNotice') # rubocop:disable Style/StringLiterals raise 'You cannot provide both :mysqlxEnableHelloNotice and :mysqlx_enable_hello_notice' if attributes.key?(:'mysqlxEnableHelloNotice') && attributes.key?(:'mysqlx_enable_hello_notice') self.mysqlx_enable_hello_notice = attributes[:'mysqlx_enable_hello_notice'] unless attributes[:'mysqlx_enable_hello_notice'].nil? self.mysqlx_enable_hello_notice = true if mysqlx_enable_hello_notice.nil? && !attributes.key?(:'mysqlxEnableHelloNotice') && !attributes.key?(:'mysqlx_enable_hello_notice') # rubocop:disable Style/StringLiterals self.sql_require_primary_key = attributes[:'sqlRequirePrimaryKey'] unless attributes[:'sqlRequirePrimaryKey'].nil? self.sql_require_primary_key = false if sql_require_primary_key.nil? && !attributes.key?(:'sqlRequirePrimaryKey') # rubocop:disable Style/StringLiterals raise 'You cannot provide both :sqlRequirePrimaryKey and :sql_require_primary_key' if attributes.key?(:'sqlRequirePrimaryKey') && attributes.key?(:'sql_require_primary_key') self.sql_require_primary_key = attributes[:'sql_require_primary_key'] unless attributes[:'sql_require_primary_key'].nil? self.sql_require_primary_key = false if sql_require_primary_key.nil? && !attributes.key?(:'sqlRequirePrimaryKey') && !attributes.key?(:'sql_require_primary_key') # rubocop:disable Style/StringLiterals self.sql_warnings = attributes[:'sqlWarnings'] unless attributes[:'sqlWarnings'].nil? self.sql_warnings = false if sql_warnings.nil? && !attributes.key?(:'sqlWarnings') # rubocop:disable Style/StringLiterals raise 'You cannot provide both :sqlWarnings and :sql_warnings' if attributes.key?(:'sqlWarnings') && attributes.key?(:'sql_warnings') self.sql_warnings = attributes[:'sql_warnings'] unless attributes[:'sql_warnings'].nil? self.sql_warnings = false if sql_warnings.nil? && !attributes.key?(:'sqlWarnings') && !attributes.key?(:'sql_warnings') # rubocop:disable Style/StringLiterals self.binlog_expire_logs_seconds = attributes[:'binlogExpireLogsSeconds'] if attributes[:'binlogExpireLogsSeconds'] raise 'You cannot provide both :binlogExpireLogsSeconds and :binlog_expire_logs_seconds' if attributes.key?(:'binlogExpireLogsSeconds') && attributes.key?(:'binlog_expire_logs_seconds') self.binlog_expire_logs_seconds = attributes[:'binlog_expire_logs_seconds'] if attributes[:'binlog_expire_logs_seconds'] self.innodb_buffer_pool_size = attributes[:'innodbBufferPoolSize'] if attributes[:'innodbBufferPoolSize'] self.innodb_buffer_pool_size = 134217728 if innodb_buffer_pool_size.nil? && !attributes.key?(:'innodbBufferPoolSize') # rubocop:disable Style/StringLiterals raise 'You cannot provide both :innodbBufferPoolSize and :innodb_buffer_pool_size' if attributes.key?(:'innodbBufferPoolSize') && attributes.key?(:'innodb_buffer_pool_size') self.innodb_buffer_pool_size = attributes[:'innodb_buffer_pool_size'] if attributes[:'innodb_buffer_pool_size'] self.innodb_buffer_pool_size = 134217728 if innodb_buffer_pool_size.nil? && !attributes.key?(:'innodbBufferPoolSize') && !attributes.key?(:'innodb_buffer_pool_size') # rubocop:disable Style/StringLiterals self.innodb_ft_result_cache_limit = attributes[:'innodbFtResultCacheLimit'] if attributes[:'innodbFtResultCacheLimit'] raise 'You cannot provide both :innodbFtResultCacheLimit and :innodb_ft_result_cache_limit' if attributes.key?(:'innodbFtResultCacheLimit') && attributes.key?(:'innodb_ft_result_cache_limit') self.innodb_ft_result_cache_limit = attributes[:'innodb_ft_result_cache_limit'] if attributes[:'innodb_ft_result_cache_limit'] self.max_connections = attributes[:'maxConnections'] if attributes[:'maxConnections'] raise 'You cannot provide both :maxConnections and :max_connections' if attributes.key?(:'maxConnections') && attributes.key?(:'max_connections') self.max_connections = attributes[:'max_connections'] if attributes[:'max_connections'] self.max_prepared_stmt_count = attributes[:'maxPreparedStmtCount'] if attributes[:'maxPreparedStmtCount'] raise 'You cannot provide both :maxPreparedStmtCount and :max_prepared_stmt_count' if attributes.key?(:'maxPreparedStmtCount') && attributes.key?(:'max_prepared_stmt_count') self.max_prepared_stmt_count = attributes[:'max_prepared_stmt_count'] if attributes[:'max_prepared_stmt_count'] self.connect_timeout = attributes[:'connectTimeout'] if attributes[:'connectTimeout'] raise 'You cannot provide both :connectTimeout and :connect_timeout' if attributes.key?(:'connectTimeout') && attributes.key?(:'connect_timeout') self.connect_timeout = attributes[:'connect_timeout'] if attributes[:'connect_timeout'] self.cte_max_recursion_depth = attributes[:'cteMaxRecursionDepth'] if attributes[:'cteMaxRecursionDepth'] raise 'You cannot provide both :cteMaxRecursionDepth and :cte_max_recursion_depth' if attributes.key?(:'cteMaxRecursionDepth') && attributes.key?(:'cte_max_recursion_depth') self.cte_max_recursion_depth = attributes[:'cte_max_recursion_depth'] if attributes[:'cte_max_recursion_depth'] self.generated_random_password_length = attributes[:'generatedRandomPasswordLength'] if attributes[:'generatedRandomPasswordLength'] raise 'You cannot provide both :generatedRandomPasswordLength and :generated_random_password_length' if attributes.key?(:'generatedRandomPasswordLength') && attributes.key?(:'generated_random_password_length') self.generated_random_password_length = attributes[:'generated_random_password_length'] if attributes[:'generated_random_password_length'] self.information_schema_stats_expiry = attributes[:'informationSchemaStatsExpiry'] if attributes[:'informationSchemaStatsExpiry'] raise 'You cannot provide both :informationSchemaStatsExpiry and :information_schema_stats_expiry' if attributes.key?(:'informationSchemaStatsExpiry') && attributes.key?(:'information_schema_stats_expiry') self.information_schema_stats_expiry = attributes[:'information_schema_stats_expiry'] if attributes[:'information_schema_stats_expiry'] self.innodb_buffer_pool_instances = attributes[:'innodbBufferPoolInstances'] if attributes[:'innodbBufferPoolInstances'] raise 'You cannot provide both :innodbBufferPoolInstances and :innodb_buffer_pool_instances' if attributes.key?(:'innodbBufferPoolInstances') && attributes.key?(:'innodb_buffer_pool_instances') self.innodb_buffer_pool_instances = attributes[:'innodb_buffer_pool_instances'] if attributes[:'innodb_buffer_pool_instances'] self.innodb_ft_max_token_size = attributes[:'innodbFtMaxTokenSize'] if attributes[:'innodbFtMaxTokenSize'] raise 'You cannot provide both :innodbFtMaxTokenSize and :innodb_ft_max_token_size' if attributes.key?(:'innodbFtMaxTokenSize') && attributes.key?(:'innodb_ft_max_token_size') self.innodb_ft_max_token_size = attributes[:'innodb_ft_max_token_size'] if attributes[:'innodb_ft_max_token_size'] self.innodb_ft_min_token_size = attributes[:'innodbFtMinTokenSize'] if attributes[:'innodbFtMinTokenSize'] raise 'You cannot provide both :innodbFtMinTokenSize and :innodb_ft_min_token_size' if attributes.key?(:'innodbFtMinTokenSize') && attributes.key?(:'innodb_ft_min_token_size') self.innodb_ft_min_token_size = attributes[:'innodb_ft_min_token_size'] if attributes[:'innodb_ft_min_token_size'] self.innodb_ft_num_word_optimize = attributes[:'innodbFtNumWordOptimize'] if attributes[:'innodbFtNumWordOptimize'] raise 'You cannot provide both :innodbFtNumWordOptimize and :innodb_ft_num_word_optimize' if attributes.key?(:'innodbFtNumWordOptimize') && attributes.key?(:'innodb_ft_num_word_optimize') self.innodb_ft_num_word_optimize = attributes[:'innodb_ft_num_word_optimize'] if attributes[:'innodb_ft_num_word_optimize'] self.innodb_lock_wait_timeout = attributes[:'innodbLockWaitTimeout'] if attributes[:'innodbLockWaitTimeout'] raise 'You cannot provide both :innodbLockWaitTimeout and :innodb_lock_wait_timeout' if attributes.key?(:'innodbLockWaitTimeout') && attributes.key?(:'innodb_lock_wait_timeout') self.innodb_lock_wait_timeout = attributes[:'innodb_lock_wait_timeout'] if attributes[:'innodb_lock_wait_timeout'] self.innodb_max_purge_lag = attributes[:'innodbMaxPurgeLag'] if attributes[:'innodbMaxPurgeLag'] raise 'You cannot provide both :innodbMaxPurgeLag and :innodb_max_purge_lag' if attributes.key?(:'innodbMaxPurgeLag') && attributes.key?(:'innodb_max_purge_lag') self.innodb_max_purge_lag = attributes[:'innodb_max_purge_lag'] if attributes[:'innodb_max_purge_lag'] self.innodb_max_purge_lag_delay = attributes[:'innodbMaxPurgeLagDelay'] if attributes[:'innodbMaxPurgeLagDelay'] raise 'You cannot provide both :innodbMaxPurgeLagDelay and :innodb_max_purge_lag_delay' if attributes.key?(:'innodbMaxPurgeLagDelay') && attributes.key?(:'innodb_max_purge_lag_delay') self.innodb_max_purge_lag_delay = attributes[:'innodb_max_purge_lag_delay'] if attributes[:'innodb_max_purge_lag_delay'] self.max_execution_time = attributes[:'maxExecutionTime'] if attributes[:'maxExecutionTime'] raise 'You cannot provide both :maxExecutionTime and :max_execution_time' if attributes.key?(:'maxExecutionTime') && attributes.key?(:'max_execution_time') self.max_execution_time = attributes[:'max_execution_time'] if attributes[:'max_execution_time'] self.mysqlx_connect_timeout = attributes[:'mysqlxConnectTimeout'] if attributes[:'mysqlxConnectTimeout'] raise 'You cannot provide both :mysqlxConnectTimeout and :mysqlx_connect_timeout' if attributes.key?(:'mysqlxConnectTimeout') && attributes.key?(:'mysqlx_connect_timeout') self.mysqlx_connect_timeout = attributes[:'mysqlx_connect_timeout'] if attributes[:'mysqlx_connect_timeout'] self.mysqlx_document_id_unique_prefix = attributes[:'mysqlxDocumentIdUniquePrefix'] if attributes[:'mysqlxDocumentIdUniquePrefix'] raise 'You cannot provide both :mysqlxDocumentIdUniquePrefix and :mysqlx_document_id_unique_prefix' if attributes.key?(:'mysqlxDocumentIdUniquePrefix') && attributes.key?(:'mysqlx_document_id_unique_prefix') self.mysqlx_document_id_unique_prefix = attributes[:'mysqlx_document_id_unique_prefix'] if attributes[:'mysqlx_document_id_unique_prefix'] self.mysqlx_idle_worker_thread_timeout = attributes[:'mysqlxIdleWorkerThreadTimeout'] if attributes[:'mysqlxIdleWorkerThreadTimeout'] raise 'You cannot provide both :mysqlxIdleWorkerThreadTimeout and :mysqlx_idle_worker_thread_timeout' if attributes.key?(:'mysqlxIdleWorkerThreadTimeout') && attributes.key?(:'mysqlx_idle_worker_thread_timeout') self.mysqlx_idle_worker_thread_timeout = attributes[:'mysqlx_idle_worker_thread_timeout'] if attributes[:'mysqlx_idle_worker_thread_timeout'] self.mysqlx_interactive_timeout = attributes[:'mysqlxInteractiveTimeout'] if attributes[:'mysqlxInteractiveTimeout'] raise 'You cannot provide both :mysqlxInteractiveTimeout and :mysqlx_interactive_timeout' if attributes.key?(:'mysqlxInteractiveTimeout') && attributes.key?(:'mysqlx_interactive_timeout') self.mysqlx_interactive_timeout = attributes[:'mysqlx_interactive_timeout'] if attributes[:'mysqlx_interactive_timeout'] self.mysqlx_max_allowed_packet = attributes[:'mysqlxMaxAllowedPacket'] if attributes[:'mysqlxMaxAllowedPacket'] raise 'You cannot provide both :mysqlxMaxAllowedPacket and :mysqlx_max_allowed_packet' if attributes.key?(:'mysqlxMaxAllowedPacket') && attributes.key?(:'mysqlx_max_allowed_packet') self.mysqlx_max_allowed_packet = attributes[:'mysqlx_max_allowed_packet'] if attributes[:'mysqlx_max_allowed_packet'] self.mysqlx_min_worker_threads = attributes[:'mysqlxMinWorkerThreads'] if attributes[:'mysqlxMinWorkerThreads'] raise 'You cannot provide both :mysqlxMinWorkerThreads and :mysqlx_min_worker_threads' if attributes.key?(:'mysqlxMinWorkerThreads') && attributes.key?(:'mysqlx_min_worker_threads') self.mysqlx_min_worker_threads = attributes[:'mysqlx_min_worker_threads'] if attributes[:'mysqlx_min_worker_threads'] self.mysqlx_read_timeout = attributes[:'mysqlxReadTimeout'] if attributes[:'mysqlxReadTimeout'] raise 'You cannot provide both :mysqlxReadTimeout and :mysqlx_read_timeout' if attributes.key?(:'mysqlxReadTimeout') && attributes.key?(:'mysqlx_read_timeout') self.mysqlx_read_timeout = attributes[:'mysqlx_read_timeout'] if attributes[:'mysqlx_read_timeout'] self.mysqlx_wait_timeout = attributes[:'mysqlxWaitTimeout'] if attributes[:'mysqlxWaitTimeout'] raise 'You cannot provide both :mysqlxWaitTimeout and :mysqlx_wait_timeout' if attributes.key?(:'mysqlxWaitTimeout') && attributes.key?(:'mysqlx_wait_timeout') self.mysqlx_wait_timeout = attributes[:'mysqlx_wait_timeout'] if attributes[:'mysqlx_wait_timeout'] self.mysqlx_write_timeout = attributes[:'mysqlxWriteTimeout'] if attributes[:'mysqlxWriteTimeout'] raise 'You cannot provide both :mysqlxWriteTimeout and :mysqlx_write_timeout' if attributes.key?(:'mysqlxWriteTimeout') && attributes.key?(:'mysqlx_write_timeout') self.mysqlx_write_timeout = attributes[:'mysqlx_write_timeout'] if attributes[:'mysqlx_write_timeout'] self.parser_max_mem_size = attributes[:'parserMaxMemSize'] if attributes[:'parserMaxMemSize'] raise 'You cannot provide both :parserMaxMemSize and :parser_max_mem_size' if attributes.key?(:'parserMaxMemSize') && attributes.key?(:'parser_max_mem_size') self.parser_max_mem_size = attributes[:'parser_max_mem_size'] if attributes[:'parser_max_mem_size'] self.query_alloc_block_size = attributes[:'queryAllocBlockSize'] if attributes[:'queryAllocBlockSize'] raise 'You cannot provide both :queryAllocBlockSize and :query_alloc_block_size' if attributes.key?(:'queryAllocBlockSize') && attributes.key?(:'query_alloc_block_size') self.query_alloc_block_size = attributes[:'query_alloc_block_size'] if attributes[:'query_alloc_block_size'] self.query_prealloc_size = attributes[:'queryPreallocSize'] if attributes[:'queryPreallocSize'] raise 'You cannot provide both :queryPreallocSize and :query_prealloc_size' if attributes.key?(:'queryPreallocSize') && attributes.key?(:'query_prealloc_size') self.query_prealloc_size = attributes[:'query_prealloc_size'] if attributes[:'query_prealloc_size'] self.sql_mode = attributes[:'sqlMode'] if attributes[:'sqlMode'] self.sql_mode = "ONLY_FULL_GROUP_BY,\nSTRICT_TRANS_TABLES,\nNO_ZERO_IN_DATE,\nNO_ZERO_DATE,\nERROR_FOR_DIVISION_BY_ZERO,\nNO_ENGINE_SUBSTITUTION\n" if sql_mode.nil? && !attributes.key?(:'sqlMode') # rubocop:disable Style/StringLiterals raise 'You cannot provide both :sqlMode and :sql_mode' if attributes.key?(:'sqlMode') && attributes.key?(:'sql_mode') self.sql_mode = attributes[:'sql_mode'] if attributes[:'sql_mode'] self.sql_mode = "ONLY_FULL_GROUP_BY,\nSTRICT_TRANS_TABLES,\nNO_ZERO_IN_DATE,\nNO_ZERO_DATE,\nERROR_FOR_DIVISION_BY_ZERO,\nNO_ENGINE_SUBSTITUTION\n" if sql_mode.nil? && !attributes.key?(:'sqlMode') && !attributes.key?(:'sql_mode') # rubocop:disable Style/StringLiterals self.mysqlx_deflate_default_compression_level = attributes[:'mysqlxDeflateDefaultCompressionLevel'] if attributes[:'mysqlxDeflateDefaultCompressionLevel'] raise 'You cannot provide both :mysqlxDeflateDefaultCompressionLevel and :mysqlx_deflate_default_compression_level' if attributes.key?(:'mysqlxDeflateDefaultCompressionLevel') && attributes.key?(:'mysqlx_deflate_default_compression_level') self.mysqlx_deflate_default_compression_level = attributes[:'mysqlx_deflate_default_compression_level'] if attributes[:'mysqlx_deflate_default_compression_level'] self.mysqlx_deflate_max_client_compression_level = attributes[:'mysqlxDeflateMaxClientCompressionLevel'] if attributes[:'mysqlxDeflateMaxClientCompressionLevel'] raise 'You cannot provide both :mysqlxDeflateMaxClientCompressionLevel and :mysqlx_deflate_max_client_compression_level' if attributes.key?(:'mysqlxDeflateMaxClientCompressionLevel') && attributes.key?(:'mysqlx_deflate_max_client_compression_level') self.mysqlx_deflate_max_client_compression_level = attributes[:'mysqlx_deflate_max_client_compression_level'] if attributes[:'mysqlx_deflate_max_client_compression_level'] self.mysqlx_lz4_max_client_compression_level = attributes[:'mysqlxLz4MaxClientCompressionLevel'] if attributes[:'mysqlxLz4MaxClientCompressionLevel'] raise 'You cannot provide both :mysqlxLz4MaxClientCompressionLevel and :mysqlx_lz4_max_client_compression_level' if attributes.key?(:'mysqlxLz4MaxClientCompressionLevel') && attributes.key?(:'mysqlx_lz4_max_client_compression_level') self.mysqlx_lz4_max_client_compression_level = attributes[:'mysqlx_lz4_max_client_compression_level'] if attributes[:'mysqlx_lz4_max_client_compression_level'] self.mysqlx_lz4_default_compression_level = attributes[:'mysqlxLz4DefaultCompressionLevel'] if attributes[:'mysqlxLz4DefaultCompressionLevel'] raise 'You cannot provide both :mysqlxLz4DefaultCompressionLevel and :mysqlx_lz4_default_compression_level' if attributes.key?(:'mysqlxLz4DefaultCompressionLevel') && attributes.key?(:'mysqlx_lz4_default_compression_level') self.mysqlx_lz4_default_compression_level = attributes[:'mysqlx_lz4_default_compression_level'] if attributes[:'mysqlx_lz4_default_compression_level'] self.mysqlx_zstd_max_client_compression_level = attributes[:'mysqlxZstdMaxClientCompressionLevel'] if attributes[:'mysqlxZstdMaxClientCompressionLevel'] raise 'You cannot provide both :mysqlxZstdMaxClientCompressionLevel and :mysqlx_zstd_max_client_compression_level' if attributes.key?(:'mysqlxZstdMaxClientCompressionLevel') && attributes.key?(:'mysqlx_zstd_max_client_compression_level') self.mysqlx_zstd_max_client_compression_level = attributes[:'mysqlx_zstd_max_client_compression_level'] if attributes[:'mysqlx_zstd_max_client_compression_level'] self.mysqlx_zstd_default_compression_level = attributes[:'mysqlxZstdDefaultCompressionLevel'] if attributes[:'mysqlxZstdDefaultCompressionLevel'] raise 'You cannot provide both :mysqlxZstdDefaultCompressionLevel and :mysqlx_zstd_default_compression_level' if attributes.key?(:'mysqlxZstdDefaultCompressionLevel') && attributes.key?(:'mysqlx_zstd_default_compression_level') self.mysqlx_zstd_default_compression_level = attributes[:'mysqlx_zstd_default_compression_level'] if attributes[:'mysqlx_zstd_default_compression_level'] self.mysql_zstd_default_compression_level = attributes[:'mysqlZstdDefaultCompressionLevel'] if attributes[:'mysqlZstdDefaultCompressionLevel'] raise 'You cannot provide both :mysqlZstdDefaultCompressionLevel and :mysql_zstd_default_compression_level' if attributes.key?(:'mysqlZstdDefaultCompressionLevel') && attributes.key?(:'mysql_zstd_default_compression_level') self.mysql_zstd_default_compression_level = attributes[:'mysql_zstd_default_compression_level'] if attributes[:'mysql_zstd_default_compression_level'] end |
Instance Attribute Details
#autocommit ⇒ BOOLEAN
("autocommit")
65 66 67 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 65 def autocommit @autocommit end |
#binlog_expire_logs_seconds ⇒ Integer
("binlog_expire_logs_seconds") DEPRECATED – variable should not be settable and will be ignored
130 131 132 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 130 def binlog_expire_logs_seconds @binlog_expire_logs_seconds end |
#completion_type ⇒ String
("completion_type")
45 46 47 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 45 def completion_type @completion_type end |
#connect_timeout ⇒ Integer
("connect_timeout")
150 151 152 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 150 def connect_timeout @connect_timeout end |
#cte_max_recursion_depth ⇒ Integer
("cte_max_recursion_depth")
154 155 156 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 154 def cte_max_recursion_depth @cte_max_recursion_depth end |
#default_authentication_plugin ⇒ String
("default_authentication_plugin")
49 50 51 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 49 def default_authentication_plugin @default_authentication_plugin end |
#foreign_key_checks ⇒ BOOLEAN
("foreign_key_checks")
69 70 71 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 69 def foreign_key_checks @foreign_key_checks end |
#generated_random_password_length ⇒ Integer
("generated_random_password_length") DEPRECATED – variable should not be settable and will be ignored
158 159 160 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 158 def generated_random_password_length @generated_random_password_length end |
#group_replication_consistency ⇒ String
-
EVENTUAL:
Both RO and RW transactions do not wait for preceding transactions to be applied before executing. A RW transaction does not wait for other members to apply a transaction. This means that a transaction could be externalized on one member before the others. This also means that in the event of a primary failover, the new primary can accept new RO and RW transactions before the previous primary transactions are all applied. RO transactions could result in outdated values, RW transactions could result in a rollback due to conflicts. -
BEFORE_ON_PRIMARY_FAILOVER:
New RO or RW transactions with a newly elected primary that is backlog from the old primary are held (not applied) until any backlog has been applied. This ensures that when a primary failover happens, intentionally or not, clients always see the latest value on the primary. This guarantees consistency, but means that clients must be able to handle the delay in the event that a backlog is being applied. Usually this delay should be minimal, but does depend on the size of the backlog. -
BEFORE:
A RW transaction waits for all preceding transactions to complete before being applied. A RO transaction waits for all preceding transactions to complete before being executed. This ensures that this transaction reads the latest value by only affecting the latency of the transaction. This reduces the overhead of synchronization on every RW transaction, by ensuring synchronization is used only on RO transactions. This consistency level also includes the consistency guarantees provided by BEFORE_ON_PRIMARY_FAILOVER. -
AFTER:
A RW transaction waits until its changes have been applied to all of the other members. This value has no effect on RO transactions. This mode ensures that when a transaction is committed on the local member, any subsequent transaction reads the written value or a more recent value on any group member. Use this mode with a group that is used for predominantly RO operations to ensure that applied RW transactions are applied everywhere once they commit. This could be used by your application to ensure that subsequent reads fetch the latest data which includes the latest writes. This reduces the overhead of synchronization on every RO transaction, by ensuring synchronization is used only on RW transactions. This consistency level also includes the consistency guarantees provided by BEFORE_ON_PRIMARY_FAILOVER. -
BEFORE_AND_AFTER:
A RW transaction waits for 1) all preceding transactions to complete before being applied and 2) until its changes have been applied on other members. A RO transaction waits for all preceding transactions to complete before execution takes place. This consistency level also includes the consistency guarantees provided by BEFORE_ON_PRIMARY_FAILOVER.
102 103 104 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 102 def group_replication_consistency @group_replication_consistency end |
#information_schema_stats_expiry ⇒ Integer
("information_schema_stats_expiry")
162 163 164 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 162 def information_schema_stats_expiry @information_schema_stats_expiry end |
#innodb_buffer_pool_instances ⇒ Integer
("innodb_buffer_pool_instances")
166 167 168 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 166 def innodb_buffer_pool_instances @innodb_buffer_pool_instances end |
#innodb_buffer_pool_size ⇒ Integer
("innodb_buffer_pool_size")
134 135 136 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 134 def innodb_buffer_pool_size @innodb_buffer_pool_size end |
#innodb_ft_enable_stopword ⇒ BOOLEAN
("innodb_ft_enable_stopword")
106 107 108 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 106 def innodb_ft_enable_stopword @innodb_ft_enable_stopword end |
#innodb_ft_max_token_size ⇒ Integer
("innodb_ft_max_token_size")
170 171 172 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 170 def innodb_ft_max_token_size @innodb_ft_max_token_size end |
#innodb_ft_min_token_size ⇒ Integer
("innodb_ft_min_token_size")
174 175 176 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 174 def innodb_ft_min_token_size @innodb_ft_min_token_size end |
#innodb_ft_num_word_optimize ⇒ Integer
("innodb_ft_num_word_optimize")
178 179 180 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 178 def innodb_ft_num_word_optimize @innodb_ft_num_word_optimize end |
#innodb_ft_result_cache_limit ⇒ Integer
("innodb_ft_result_cache_limit")
138 139 140 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 138 def innodb_ft_result_cache_limit @innodb_ft_result_cache_limit end |
#innodb_ft_server_stopword_table ⇒ String
("innodb_ft_server_stopword_table")
57 58 59 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 57 def innodb_ft_server_stopword_table @innodb_ft_server_stopword_table end |
#innodb_lock_wait_timeout ⇒ Integer
("innodb_lock_wait_timeout")
182 183 184 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 182 def innodb_lock_wait_timeout @innodb_lock_wait_timeout end |
#innodb_max_purge_lag ⇒ Integer
("innodb_max_purge_lag")
186 187 188 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 186 def innodb_max_purge_lag @innodb_max_purge_lag end |
#innodb_max_purge_lag_delay ⇒ Integer
("innodb_max_purge_lag_delay")
190 191 192 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 190 def innodb_max_purge_lag_delay @innodb_max_purge_lag_delay end |
#local_infile ⇒ BOOLEAN
("local_infile")
110 111 112 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 110 def local_infile @local_infile end |
#mandatory_roles ⇒ String
("mandatory_roles")
61 62 63 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 61 def mandatory_roles @mandatory_roles end |
#max_connections ⇒ Integer
("max_connections")
142 143 144 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 142 def max_connections @max_connections end |
#max_execution_time ⇒ Integer
("max_execution_time")
194 195 196 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 194 def max_execution_time @max_execution_time end |
#max_prepared_stmt_count ⇒ Integer
("max_prepared_stmt_count")
146 147 148 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 146 def max_prepared_stmt_count @max_prepared_stmt_count end |
#mysql_firewall_mode ⇒ BOOLEAN
("mysql_firewall_mode")
114 115 116 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 114 def mysql_firewall_mode @mysql_firewall_mode end |
#mysql_zstd_default_compression_level ⇒ Integer
DEPRECATED – typo of mysqlx_zstd_default_compression_level. variable will be ignored.
274 275 276 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 274 def mysql_zstd_default_compression_level @mysql_zstd_default_compression_level end |
#mysqlx_connect_timeout ⇒ Integer
("mysqlx_connect_timeout") DEPRECATED – variable should not be settable and will be ignored
198 199 200 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 198 def mysqlx_connect_timeout @mysqlx_connect_timeout end |
#mysqlx_deflate_default_compression_level ⇒ Integer
Set the default compression level for the deflate algorithm. ("mysqlx_deflate_default_compression_level")
250 251 252 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 250 def mysqlx_deflate_default_compression_level @mysqlx_deflate_default_compression_level end |
#mysqlx_deflate_max_client_compression_level ⇒ Integer
Limit the upper bound of accepted compression levels for the deflate algorithm. ("mysqlx_deflate_max_client_compression_level")
254 255 256 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 254 def mysqlx_deflate_max_client_compression_level @mysqlx_deflate_max_client_compression_level end |
#mysqlx_document_id_unique_prefix ⇒ Integer
("mysqlx_document_id_unique_prefix") DEPRECATED – variable should not be settable and will be ignored
202 203 204 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 202 def mysqlx_document_id_unique_prefix @mysqlx_document_id_unique_prefix end |
#mysqlx_enable_hello_notice ⇒ BOOLEAN
("mysqlx_enable_hello_notice") DEPRECATED – variable should not be settable and will be ignored
118 119 120 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 118 def mysqlx_enable_hello_notice @mysqlx_enable_hello_notice end |
#mysqlx_idle_worker_thread_timeout ⇒ Integer
("mysqlx_idle_worker_thread_timeout") DEPRECATED – variable should not be settable and will be ignored
206 207 208 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 206 def mysqlx_idle_worker_thread_timeout @mysqlx_idle_worker_thread_timeout end |
#mysqlx_interactive_timeout ⇒ Integer
("mysqlx_interactive_timeout") DEPRECATED – variable should not be settable and will be ignored
210 211 212 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 210 def mysqlx_interactive_timeout @mysqlx_interactive_timeout end |
#mysqlx_lz4_default_compression_level ⇒ Integer
Set the default compression level for the lz4 algorithm. ("mysqlx_lz4_default_compression_level")
262 263 264 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 262 def mysqlx_lz4_default_compression_level @mysqlx_lz4_default_compression_level end |
#mysqlx_lz4_max_client_compression_level ⇒ Integer
Limit the upper bound of accepted compression levels for the lz4 algorithm. ("mysqlx_lz4_max_client_compression_level")
258 259 260 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 258 def mysqlx_lz4_max_client_compression_level @mysqlx_lz4_max_client_compression_level end |
#mysqlx_max_allowed_packet ⇒ Integer
("mysqlx_max_allowed_packet") DEPRECATED – variable should not be settable and will be ignored
214 215 216 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 214 def mysqlx_max_allowed_packet @mysqlx_max_allowed_packet end |
#mysqlx_min_worker_threads ⇒ Integer
("mysqlx_min_worker_threads") DEPRECATED – variable should not be settable and will be ignored
218 219 220 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 218 def mysqlx_min_worker_threads @mysqlx_min_worker_threads end |
#mysqlx_read_timeout ⇒ Integer
("mysqlx_read_timeout") DEPRECATED – variable should not be settable and will be ignored
222 223 224 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 222 def mysqlx_read_timeout @mysqlx_read_timeout end |
#mysqlx_wait_timeout ⇒ Integer
("mysqlx_wait_timeout") DEPRECATED – variable should not be settable and will be ignored
226 227 228 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 226 def mysqlx_wait_timeout @mysqlx_wait_timeout end |
#mysqlx_write_timeout ⇒ Integer
("mysqlx_write_timeout") DEPRECATED – variable should not be settable and will be ignored
230 231 232 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 230 def mysqlx_write_timeout @mysqlx_write_timeout end |
#mysqlx_zstd_default_compression_level ⇒ Integer
Set the default compression level for the zstd algorithm. ("mysqlx_zstd_default_compression_level")
270 271 272 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 270 def mysqlx_zstd_default_compression_level @mysqlx_zstd_default_compression_level end |
#mysqlx_zstd_max_client_compression_level ⇒ Integer
Limit the upper bound of accepted compression levels for the zstd algorithm. ("mysqlx_zstd_max_client_compression_level")
266 267 268 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 266 def mysqlx_zstd_max_client_compression_level @mysqlx_zstd_max_client_compression_level end |
#parser_max_mem_size ⇒ Integer
("parser_max_mem_size")
234 235 236 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 234 def parser_max_mem_size @parser_max_mem_size end |
#query_alloc_block_size ⇒ Integer
("query_alloc_block_size") DEPRECATED – variable should not be settable and will be ignored
238 239 240 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 238 def query_alloc_block_size @query_alloc_block_size end |
#query_prealloc_size ⇒ Integer
("query_prealloc_size") DEPRECATED – variable should not be settable and will be ignored
242 243 244 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 242 def query_prealloc_size @query_prealloc_size end |
#sql_mode ⇒ String
("sql_mode")
246 247 248 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 246 def sql_mode @sql_mode end |
#sql_require_primary_key ⇒ BOOLEAN
("sql_require_primary_key")
122 123 124 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 122 def sql_require_primary_key @sql_require_primary_key end |
#sql_warnings ⇒ BOOLEAN
("sql_warnings")
126 127 128 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 126 def sql_warnings @sql_warnings end |
#transaction_isolation ⇒ String
("transaction_isolation")
53 54 55 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 53 def transaction_isolation @transaction_isolation end |
Class Method Details
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 277 def self.attribute_map { # rubocop:disable Style/SymbolLiteral 'completion_type': :'completionType', 'default_authentication_plugin': :'defaultAuthenticationPlugin', 'transaction_isolation': :'transactionIsolation', 'innodb_ft_server_stopword_table': :'innodbFtServerStopwordTable', 'mandatory_roles': :'mandatoryRoles', 'autocommit': :'autocommit', 'foreign_key_checks': :'foreignKeyChecks', 'group_replication_consistency': :'groupReplicationConsistency', 'innodb_ft_enable_stopword': :'innodbFtEnableStopword', 'local_infile': :'localInfile', 'mysql_firewall_mode': :'mysqlFirewallMode', 'mysqlx_enable_hello_notice': :'mysqlxEnableHelloNotice', 'sql_require_primary_key': :'sqlRequirePrimaryKey', 'sql_warnings': :'sqlWarnings', 'binlog_expire_logs_seconds': :'binlogExpireLogsSeconds', 'innodb_buffer_pool_size': :'innodbBufferPoolSize', 'innodb_ft_result_cache_limit': :'innodbFtResultCacheLimit', 'max_connections': :'maxConnections', 'max_prepared_stmt_count': :'maxPreparedStmtCount', 'connect_timeout': :'connectTimeout', 'cte_max_recursion_depth': :'cteMaxRecursionDepth', 'generated_random_password_length': :'generatedRandomPasswordLength', 'information_schema_stats_expiry': :'informationSchemaStatsExpiry', 'innodb_buffer_pool_instances': :'innodbBufferPoolInstances', 'innodb_ft_max_token_size': :'innodbFtMaxTokenSize', 'innodb_ft_min_token_size': :'innodbFtMinTokenSize', 'innodb_ft_num_word_optimize': :'innodbFtNumWordOptimize', 'innodb_lock_wait_timeout': :'innodbLockWaitTimeout', 'innodb_max_purge_lag': :'innodbMaxPurgeLag', 'innodb_max_purge_lag_delay': :'innodbMaxPurgeLagDelay', 'max_execution_time': :'maxExecutionTime', 'mysqlx_connect_timeout': :'mysqlxConnectTimeout', 'mysqlx_document_id_unique_prefix': :'mysqlxDocumentIdUniquePrefix', 'mysqlx_idle_worker_thread_timeout': :'mysqlxIdleWorkerThreadTimeout', 'mysqlx_interactive_timeout': :'mysqlxInteractiveTimeout', 'mysqlx_max_allowed_packet': :'mysqlxMaxAllowedPacket', 'mysqlx_min_worker_threads': :'mysqlxMinWorkerThreads', 'mysqlx_read_timeout': :'mysqlxReadTimeout', 'mysqlx_wait_timeout': :'mysqlxWaitTimeout', 'mysqlx_write_timeout': :'mysqlxWriteTimeout', 'parser_max_mem_size': :'parserMaxMemSize', 'query_alloc_block_size': :'queryAllocBlockSize', 'query_prealloc_size': :'queryPreallocSize', 'sql_mode': :'sqlMode', 'mysqlx_deflate_default_compression_level': :'mysqlxDeflateDefaultCompressionLevel', 'mysqlx_deflate_max_client_compression_level': :'mysqlxDeflateMaxClientCompressionLevel', 'mysqlx_lz4_max_client_compression_level': :'mysqlxLz4MaxClientCompressionLevel', 'mysqlx_lz4_default_compression_level': :'mysqlxLz4DefaultCompressionLevel', 'mysqlx_zstd_max_client_compression_level': :'mysqlxZstdMaxClientCompressionLevel', 'mysqlx_zstd_default_compression_level': :'mysqlxZstdDefaultCompressionLevel', 'mysql_zstd_default_compression_level': :'mysqlZstdDefaultCompressionLevel' # rubocop:enable Style/SymbolLiteral } end |
.swagger_types ⇒ Object
Attribute type mapping.
336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 336 def self.swagger_types { # rubocop:disable Style/SymbolLiteral 'completion_type': :'String', 'default_authentication_plugin': :'String', 'transaction_isolation': :'String', 'innodb_ft_server_stopword_table': :'String', 'mandatory_roles': :'String', 'autocommit': :'BOOLEAN', 'foreign_key_checks': :'BOOLEAN', 'group_replication_consistency': :'String', 'innodb_ft_enable_stopword': :'BOOLEAN', 'local_infile': :'BOOLEAN', 'mysql_firewall_mode': :'BOOLEAN', 'mysqlx_enable_hello_notice': :'BOOLEAN', 'sql_require_primary_key': :'BOOLEAN', 'sql_warnings': :'BOOLEAN', 'binlog_expire_logs_seconds': :'Integer', 'innodb_buffer_pool_size': :'Integer', 'innodb_ft_result_cache_limit': :'Integer', 'max_connections': :'Integer', 'max_prepared_stmt_count': :'Integer', 'connect_timeout': :'Integer', 'cte_max_recursion_depth': :'Integer', 'generated_random_password_length': :'Integer', 'information_schema_stats_expiry': :'Integer', 'innodb_buffer_pool_instances': :'Integer', 'innodb_ft_max_token_size': :'Integer', 'innodb_ft_min_token_size': :'Integer', 'innodb_ft_num_word_optimize': :'Integer', 'innodb_lock_wait_timeout': :'Integer', 'innodb_max_purge_lag': :'Integer', 'innodb_max_purge_lag_delay': :'Integer', 'max_execution_time': :'Integer', 'mysqlx_connect_timeout': :'Integer', 'mysqlx_document_id_unique_prefix': :'Integer', 'mysqlx_idle_worker_thread_timeout': :'Integer', 'mysqlx_interactive_timeout': :'Integer', 'mysqlx_max_allowed_packet': :'Integer', 'mysqlx_min_worker_threads': :'Integer', 'mysqlx_read_timeout': :'Integer', 'mysqlx_wait_timeout': :'Integer', 'mysqlx_write_timeout': :'Integer', 'parser_max_mem_size': :'Integer', 'query_alloc_block_size': :'Integer', 'query_prealloc_size': :'Integer', 'sql_mode': :'String', 'mysqlx_deflate_default_compression_level': :'Integer', 'mysqlx_deflate_max_client_compression_level': :'Integer', 'mysqlx_lz4_max_client_compression_level': :'Integer', 'mysqlx_lz4_default_compression_level': :'Integer', 'mysqlx_zstd_max_client_compression_level': :'Integer', 'mysqlx_zstd_default_compression_level': :'Integer', 'mysql_zstd_default_compression_level': :'Integer' # rubocop:enable Style/SymbolLiteral } end |
Instance Method Details
#==(other) ⇒ Object
Checks equality by comparing each attribute.
850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 850 def ==(other) return true if equal?(other) self.class == other.class && completion_type == other.completion_type && default_authentication_plugin == other.default_authentication_plugin && transaction_isolation == other.transaction_isolation && innodb_ft_server_stopword_table == other.innodb_ft_server_stopword_table && mandatory_roles == other.mandatory_roles && autocommit == other.autocommit && foreign_key_checks == other.foreign_key_checks && group_replication_consistency == other.group_replication_consistency && innodb_ft_enable_stopword == other.innodb_ft_enable_stopword && local_infile == other.local_infile && mysql_firewall_mode == other.mysql_firewall_mode && mysqlx_enable_hello_notice == other.mysqlx_enable_hello_notice && sql_require_primary_key == other.sql_require_primary_key && sql_warnings == other.sql_warnings && binlog_expire_logs_seconds == other.binlog_expire_logs_seconds && innodb_buffer_pool_size == other.innodb_buffer_pool_size && innodb_ft_result_cache_limit == other.innodb_ft_result_cache_limit && max_connections == other.max_connections && max_prepared_stmt_count == other.max_prepared_stmt_count && connect_timeout == other.connect_timeout && cte_max_recursion_depth == other.cte_max_recursion_depth && generated_random_password_length == other.generated_random_password_length && information_schema_stats_expiry == other.information_schema_stats_expiry && innodb_buffer_pool_instances == other.innodb_buffer_pool_instances && innodb_ft_max_token_size == other.innodb_ft_max_token_size && innodb_ft_min_token_size == other.innodb_ft_min_token_size && innodb_ft_num_word_optimize == other.innodb_ft_num_word_optimize && innodb_lock_wait_timeout == other.innodb_lock_wait_timeout && innodb_max_purge_lag == other.innodb_max_purge_lag && innodb_max_purge_lag_delay == other.innodb_max_purge_lag_delay && max_execution_time == other.max_execution_time && mysqlx_connect_timeout == other.mysqlx_connect_timeout && mysqlx_document_id_unique_prefix == other.mysqlx_document_id_unique_prefix && mysqlx_idle_worker_thread_timeout == other.mysqlx_idle_worker_thread_timeout && mysqlx_interactive_timeout == other.mysqlx_interactive_timeout && mysqlx_max_allowed_packet == other.mysqlx_max_allowed_packet && mysqlx_min_worker_threads == other.mysqlx_min_worker_threads && mysqlx_read_timeout == other.mysqlx_read_timeout && mysqlx_wait_timeout == other.mysqlx_wait_timeout && mysqlx_write_timeout == other.mysqlx_write_timeout && parser_max_mem_size == other.parser_max_mem_size && query_alloc_block_size == other.query_alloc_block_size && query_prealloc_size == other.query_prealloc_size && sql_mode == other.sql_mode && mysqlx_deflate_default_compression_level == other.mysqlx_deflate_default_compression_level && mysqlx_deflate_max_client_compression_level == other.mysqlx_deflate_max_client_compression_level && mysqlx_lz4_max_client_compression_level == other.mysqlx_lz4_max_client_compression_level && mysqlx_lz4_default_compression_level == other.mysqlx_lz4_default_compression_level && mysqlx_zstd_max_client_compression_level == other.mysqlx_zstd_max_client_compression_level && mysqlx_zstd_default_compression_level == other.mysqlx_zstd_default_compression_level && mysql_zstd_default_compression_level == other.mysql_zstd_default_compression_level end |
#build_from_hash(attributes) ⇒ Object
Builds the object from hash
930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 930 def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) self.class.swagger_types.each_pair do |key, type| if type =~ /^Array<(.*)>/i # check to ensure the input is an array given that the the attribute # is documented as an array but the input is not if attributes[self.class.attribute_map[key]].is_a?(Array) public_method("#{key}=").call( attributes[self.class.attribute_map[key]] .map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) } ) end elsif !attributes[self.class.attribute_map[key]].nil? public_method("#{key}=").call( OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]) ) end # or else data not found in attributes(hash), not an issue as the data can be optional end self end |
#eql?(other) ⇒ Boolean
910 911 912 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 910 def eql?(other) self == other end |
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
919 920 921 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 919 def hash [completion_type, default_authentication_plugin, transaction_isolation, innodb_ft_server_stopword_table, mandatory_roles, autocommit, foreign_key_checks, group_replication_consistency, innodb_ft_enable_stopword, local_infile, mysql_firewall_mode, mysqlx_enable_hello_notice, sql_require_primary_key, sql_warnings, binlog_expire_logs_seconds, innodb_buffer_pool_size, innodb_ft_result_cache_limit, max_connections, max_prepared_stmt_count, connect_timeout, cte_max_recursion_depth, generated_random_password_length, information_schema_stats_expiry, innodb_buffer_pool_instances, innodb_ft_max_token_size, innodb_ft_min_token_size, innodb_ft_num_word_optimize, innodb_lock_wait_timeout, innodb_max_purge_lag, innodb_max_purge_lag_delay, max_execution_time, mysqlx_connect_timeout, mysqlx_document_id_unique_prefix, mysqlx_idle_worker_thread_timeout, mysqlx_interactive_timeout, mysqlx_max_allowed_packet, mysqlx_min_worker_threads, mysqlx_read_timeout, mysqlx_wait_timeout, mysqlx_write_timeout, parser_max_mem_size, query_alloc_block_size, query_prealloc_size, sql_mode, mysqlx_deflate_default_compression_level, mysqlx_deflate_max_client_compression_level, mysqlx_lz4_max_client_compression_level, mysqlx_lz4_default_compression_level, mysqlx_zstd_max_client_compression_level, mysqlx_zstd_default_compression_level, mysql_zstd_default_compression_level].hash end |
#to_hash ⇒ Hash
Returns the object in the form of hash
963 964 965 966 967 968 969 970 971 972 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 963 def to_hash hash = {} self.class.attribute_map.each_pair do |attr, param| value = public_method(attr).call next if value.nil? && !instance_variable_defined?("@#{attr}") hash[param] = _to_hash(value) end hash end |
#to_s ⇒ String
Returns the string representation of the object
957 958 959 |
# File 'lib/oci/mysql/models/configuration_variables.rb', line 957 def to_s to_hash.to_s end |