Class: OCI::Mysql::Models::ConfigurationVariables

Inherits:
Object
  • Object
show all
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
BINLOG_ROW_METADATA_ENUM =
[
   = 'FULL'.freeze,
   = 'MINIMAL'.freeze,
   = 'UNKNOWN_ENUM_VALUE'.freeze
].freeze

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ ConfigurationVariables

Initializes the object

Parameters:

  • attributes (Hash) (defaults to: {})

    Model attributes in the form of hash

Options Hash (attributes):



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
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
# File 'lib/oci/mysql/models/configuration_variables.rb', line 486

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. = attributes[:'binlogRowMetadata'] if attributes[:'binlogRowMetadata']
  self. = "MINIMAL" if .nil? && !attributes.key?(:'binlogRowMetadata') # rubocop:disable Style/StringLiterals

  raise 'You cannot provide both :binlogRowMetadata and :binlog_row_metadata' if attributes.key?(:'binlogRowMetadata') && attributes.key?(:'binlog_row_metadata')

  self. = attributes[:'binlog_row_metadata'] if attributes[:'binlog_row_metadata']
  self. = "MINIMAL" if .nil? && !attributes.key?(:'binlogRowMetadata') && !attributes.key?(:'binlog_row_metadata') # rubocop:disable Style/StringLiterals

  self.binlog_row_value_options = attributes[:'binlogRowValueOptions'] if attributes[:'binlogRowValueOptions']
  self.binlog_row_value_options = "PARTIAL_JSON" if binlog_row_value_options.nil? && !attributes.key?(:'binlogRowValueOptions') # rubocop:disable Style/StringLiterals

  raise 'You cannot provide both :binlogRowValueOptions and :binlog_row_value_options' if attributes.key?(:'binlogRowValueOptions') && attributes.key?(:'binlog_row_value_options')

  self.binlog_row_value_options = attributes[:'binlog_row_value_options'] if attributes[:'binlog_row_value_options']
  self.binlog_row_value_options = "PARTIAL_JSON" if binlog_row_value_options.nil? && !attributes.key?(:'binlogRowValueOptions') && !attributes.key?(:'binlog_row_value_options') # rubocop:disable Style/StringLiterals

  self.binlog_transaction_compression = attributes[:'binlogTransactionCompression'] unless attributes[:'binlogTransactionCompression'].nil?
  self.binlog_transaction_compression = true if binlog_transaction_compression.nil? && !attributes.key?(:'binlogTransactionCompression') # rubocop:disable Style/StringLiterals

  raise 'You cannot provide both :binlogTransactionCompression and :binlog_transaction_compression' if attributes.key?(:'binlogTransactionCompression') && attributes.key?(:'binlog_transaction_compression')

  self.binlog_transaction_compression = attributes[:'binlog_transaction_compression'] unless attributes[:'binlog_transaction_compression'].nil?
  self.binlog_transaction_compression = true if binlog_transaction_compression.nil? && !attributes.key?(:'binlogTransactionCompression') && !attributes.key?(:'binlog_transaction_compression') # rubocop:disable Style/StringLiterals

  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

#autocommitBOOLEAN

("autocommit")

Returns:

  • (BOOLEAN)


71
72
73
# File 'lib/oci/mysql/models/configuration_variables.rb', line 71

def autocommit
  @autocommit
end

#binlog_expire_logs_secondsInteger

Sets the binary log expiration period in seconds. binlogExpireLogsSeconds corresponds to the MySQL binary logging system variable [binlog_expire_logs_seconds](dev.mysql.com/doc/refman/8.0/en/replication-options-binary-log.html#sysvar_binlog_expire_logs_seconds).

Returns:

  • (Integer)


138
139
140
# File 'lib/oci/mysql/models/configuration_variables.rb', line 138

def binlog_expire_logs_seconds
  @binlog_expire_logs_seconds
end

#binlog_row_metadataString

Configures the amount of table metadata added to the binary log when using row-based logging. binlogRowMetadata corresponds to the MySQL binary logging system variable [binlog_row_metadata](dev.mysql.com/doc/refman/8.0/en/replication-options-binary-log.html#sysvar_binlog_row_metadata).

Returns:

  • (String)


144
145
146
# File 'lib/oci/mysql/models/configuration_variables.rb', line 144

def 
  
end

#binlog_row_value_optionsString

When set to PARTIAL_JSON, this enables use of a space-efficient binary log format for updates that modify only a small portion of a JSON document. binlogRowValueOptions corresponds to the MySQL binary logging system variable [binlog_row_value_options](dev.mysql.com/doc/refman/8.0/en/replication-options-binary-log.html#sysvar_binlog_row_value_options).

Returns:

  • (String)


150
151
152
# File 'lib/oci/mysql/models/configuration_variables.rb', line 150

def binlog_row_value_options
  @binlog_row_value_options
end

#binlog_transaction_compressionBOOLEAN

Enables compression for transactions that are written to binary log files on this server. binlogTransactionCompression corresponds to the MySQL binary logging system variable [binlog_transaction_compression](dev.mysql.com/doc/refman/8.0/en/replication-options-binary-log.html#sysvar_binlog_transaction_compression).

Returns:

  • (BOOLEAN)


156
157
158
# File 'lib/oci/mysql/models/configuration_variables.rb', line 156

def binlog_transaction_compression
  @binlog_transaction_compression
end

#completion_typeString

("completion_type")

Returns:

  • (String)


51
52
53
# File 'lib/oci/mysql/models/configuration_variables.rb', line 51

def completion_type
  @completion_type
end

#connect_timeoutInteger

("connect_timeout")

Returns:

  • (Integer)


176
177
178
# File 'lib/oci/mysql/models/configuration_variables.rb', line 176

def connect_timeout
  @connect_timeout
end

#cte_max_recursion_depthInteger

("cte_max_recursion_depth")

Returns:

  • (Integer)


180
181
182
# File 'lib/oci/mysql/models/configuration_variables.rb', line 180

def cte_max_recursion_depth
  @cte_max_recursion_depth
end

#default_authentication_pluginString

("default_authentication_plugin")

Returns:

  • (String)


55
56
57
# File 'lib/oci/mysql/models/configuration_variables.rb', line 55

def default_authentication_plugin
  @default_authentication_plugin
end

#foreign_key_checksBOOLEAN

("foreign_key_checks")

Returns:

  • (BOOLEAN)


75
76
77
# File 'lib/oci/mysql/models/configuration_variables.rb', line 75

def foreign_key_checks
  @foreign_key_checks
end

#generated_random_password_lengthInteger

("generated_random_password_length") DEPRECATED – variable should not be settable and will be ignored

Returns:

  • (Integer)


184
185
186
# File 'lib/oci/mysql/models/configuration_variables.rb', line 184

def generated_random_password_length
  @generated_random_password_length
end

#group_replication_consistencyString

  • 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 applying 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.
    

Returns:

  • (String)


108
109
110
# File 'lib/oci/mysql/models/configuration_variables.rb', line 108

def group_replication_consistency
  @group_replication_consistency
end

#information_schema_stats_expiryInteger

("information_schema_stats_expiry")

Returns:

  • (Integer)


188
189
190
# File 'lib/oci/mysql/models/configuration_variables.rb', line 188

def information_schema_stats_expiry
  @information_schema_stats_expiry
end

#innodb_buffer_pool_instancesInteger

("innodb_buffer_pool_instances")

Returns:

  • (Integer)


192
193
194
# File 'lib/oci/mysql/models/configuration_variables.rb', line 192

def innodb_buffer_pool_instances
  @innodb_buffer_pool_instances
end

#innodb_buffer_pool_sizeInteger

("innodb_buffer_pool_size")

Returns:

  • (Integer)


160
161
162
# File 'lib/oci/mysql/models/configuration_variables.rb', line 160

def innodb_buffer_pool_size
  @innodb_buffer_pool_size
end

#innodb_ft_enable_stopwordBOOLEAN

("innodb_ft_enable_stopword")

Returns:

  • (BOOLEAN)


112
113
114
# File 'lib/oci/mysql/models/configuration_variables.rb', line 112

def innodb_ft_enable_stopword
  @innodb_ft_enable_stopword
end

#innodb_ft_max_token_sizeInteger

("innodb_ft_max_token_size")

Returns:

  • (Integer)


196
197
198
# File 'lib/oci/mysql/models/configuration_variables.rb', line 196

def innodb_ft_max_token_size
  @innodb_ft_max_token_size
end

#innodb_ft_min_token_sizeInteger

("innodb_ft_min_token_size")

Returns:

  • (Integer)


200
201
202
# File 'lib/oci/mysql/models/configuration_variables.rb', line 200

def innodb_ft_min_token_size
  @innodb_ft_min_token_size
end

#innodb_ft_num_word_optimizeInteger

("innodb_ft_num_word_optimize")

Returns:

  • (Integer)


204
205
206
# File 'lib/oci/mysql/models/configuration_variables.rb', line 204

def innodb_ft_num_word_optimize
  @innodb_ft_num_word_optimize
end

#innodb_ft_result_cache_limitInteger

("innodb_ft_result_cache_limit")

Returns:

  • (Integer)


164
165
166
# File 'lib/oci/mysql/models/configuration_variables.rb', line 164

def innodb_ft_result_cache_limit
  @innodb_ft_result_cache_limit
end

#innodb_ft_server_stopword_tableString

("innodb_ft_server_stopword_table")

Returns:

  • (String)


63
64
65
# File 'lib/oci/mysql/models/configuration_variables.rb', line 63

def innodb_ft_server_stopword_table
  @innodb_ft_server_stopword_table
end

#innodb_lock_wait_timeoutInteger

("innodb_lock_wait_timeout")

Returns:

  • (Integer)


208
209
210
# File 'lib/oci/mysql/models/configuration_variables.rb', line 208

def innodb_lock_wait_timeout
  @innodb_lock_wait_timeout
end

#innodb_max_purge_lagInteger

("innodb_max_purge_lag")

Returns:

  • (Integer)


212
213
214
# File 'lib/oci/mysql/models/configuration_variables.rb', line 212

def innodb_max_purge_lag
  @innodb_max_purge_lag
end

#innodb_max_purge_lag_delayInteger

("innodb_max_purge_lag_delay")

Returns:

  • (Integer)


216
217
218
# File 'lib/oci/mysql/models/configuration_variables.rb', line 216

def innodb_max_purge_lag_delay
  @innodb_max_purge_lag_delay
end

#local_infileBOOLEAN

("local_infile")

Returns:

  • (BOOLEAN)


116
117
118
# File 'lib/oci/mysql/models/configuration_variables.rb', line 116

def local_infile
  @local_infile
end

#mandatory_rolesString

("mandatory_roles")

Returns:

  • (String)


67
68
69
# File 'lib/oci/mysql/models/configuration_variables.rb', line 67

def mandatory_roles
  @mandatory_roles
end

#max_connectionsInteger

("max_connections")

Returns:

  • (Integer)


168
169
170
# File 'lib/oci/mysql/models/configuration_variables.rb', line 168

def max_connections
  @max_connections
end

#max_execution_timeInteger

("max_execution_time")

Returns:

  • (Integer)


220
221
222
# File 'lib/oci/mysql/models/configuration_variables.rb', line 220

def max_execution_time
  @max_execution_time
end

#max_prepared_stmt_countInteger

("max_prepared_stmt_count")

Returns:

  • (Integer)


172
173
174
# File 'lib/oci/mysql/models/configuration_variables.rb', line 172

def max_prepared_stmt_count
  @max_prepared_stmt_count
end

#mysql_firewall_modeBOOLEAN

("mysql_firewall_mode")

Returns:

  • (BOOLEAN)


120
121
122
# File 'lib/oci/mysql/models/configuration_variables.rb', line 120

def mysql_firewall_mode
  @mysql_firewall_mode
end

#mysql_zstd_default_compression_levelInteger

DEPRECATED – typo of mysqlx_zstd_default_compression_level. variable will be ignored.

Returns:

  • (Integer)


300
301
302
# File 'lib/oci/mysql/models/configuration_variables.rb', line 300

def mysql_zstd_default_compression_level
  @mysql_zstd_default_compression_level
end

#mysqlx_connect_timeoutInteger

("mysqlx_connect_timeout") DEPRECATED – variable should not be settable and will be ignored

Returns:

  • (Integer)


224
225
226
# File 'lib/oci/mysql/models/configuration_variables.rb', line 224

def mysqlx_connect_timeout
  @mysqlx_connect_timeout
end

#mysqlx_deflate_default_compression_levelInteger

Set the default compression level for the deflate algorithm. ("mysqlx_deflate_default_compression_level")

Returns:

  • (Integer)


276
277
278
# File 'lib/oci/mysql/models/configuration_variables.rb', line 276

def mysqlx_deflate_default_compression_level
  @mysqlx_deflate_default_compression_level
end

#mysqlx_deflate_max_client_compression_levelInteger

Limit the upper bound of accepted compression levels for the deflate algorithm. ("mysqlx_deflate_max_client_compression_level")

Returns:

  • (Integer)


280
281
282
# File 'lib/oci/mysql/models/configuration_variables.rb', line 280

def mysqlx_deflate_max_client_compression_level
  @mysqlx_deflate_max_client_compression_level
end

#mysqlx_document_id_unique_prefixInteger

("mysqlx_document_id_unique_prefix") DEPRECATED – variable should not be settable and will be ignored

Returns:

  • (Integer)


228
229
230
# File 'lib/oci/mysql/models/configuration_variables.rb', line 228

def mysqlx_document_id_unique_prefix
  @mysqlx_document_id_unique_prefix
end

#mysqlx_enable_hello_noticeBOOLEAN

("mysqlx_enable_hello_notice") DEPRECATED – variable should not be settable and will be ignored

Returns:

  • (BOOLEAN)


124
125
126
# File 'lib/oci/mysql/models/configuration_variables.rb', line 124

def mysqlx_enable_hello_notice
  @mysqlx_enable_hello_notice
end

#mysqlx_idle_worker_thread_timeoutInteger

("mysqlx_idle_worker_thread_timeout") DEPRECATED – variable should not be settable and will be ignored

Returns:

  • (Integer)


232
233
234
# File 'lib/oci/mysql/models/configuration_variables.rb', line 232

def mysqlx_idle_worker_thread_timeout
  @mysqlx_idle_worker_thread_timeout
end

#mysqlx_interactive_timeoutInteger

("mysqlx_interactive_timeout") DEPRECATED – variable should not be settable and will be ignored

Returns:

  • (Integer)


236
237
238
# File 'lib/oci/mysql/models/configuration_variables.rb', line 236

def mysqlx_interactive_timeout
  @mysqlx_interactive_timeout
end

#mysqlx_lz4_default_compression_levelInteger

Set the default compression level for the lz4 algorithm. ("mysqlx_lz4_default_compression_level")

Returns:

  • (Integer)


288
289
290
# File 'lib/oci/mysql/models/configuration_variables.rb', line 288

def mysqlx_lz4_default_compression_level
  @mysqlx_lz4_default_compression_level
end

#mysqlx_lz4_max_client_compression_levelInteger

Limit the upper bound of accepted compression levels for the lz4 algorithm. ("mysqlx_lz4_max_client_compression_level")

Returns:

  • (Integer)


284
285
286
# File 'lib/oci/mysql/models/configuration_variables.rb', line 284

def mysqlx_lz4_max_client_compression_level
  @mysqlx_lz4_max_client_compression_level
end

#mysqlx_max_allowed_packetInteger

("mysqlx_max_allowed_packet") DEPRECATED – variable should not be settable and will be ignored

Returns:

  • (Integer)


240
241
242
# File 'lib/oci/mysql/models/configuration_variables.rb', line 240

def mysqlx_max_allowed_packet
  @mysqlx_max_allowed_packet
end

#mysqlx_min_worker_threadsInteger

("mysqlx_min_worker_threads") DEPRECATED – variable should not be settable and will be ignored

Returns:

  • (Integer)


244
245
246
# File 'lib/oci/mysql/models/configuration_variables.rb', line 244

def mysqlx_min_worker_threads
  @mysqlx_min_worker_threads
end

#mysqlx_read_timeoutInteger

("mysqlx_read_timeout") DEPRECATED – variable should not be settable and will be ignored

Returns:

  • (Integer)


248
249
250
# File 'lib/oci/mysql/models/configuration_variables.rb', line 248

def mysqlx_read_timeout
  @mysqlx_read_timeout
end

#mysqlx_wait_timeoutInteger

("mysqlx_wait_timeout") DEPRECATED – variable should not be settable and will be ignored

Returns:

  • (Integer)


252
253
254
# File 'lib/oci/mysql/models/configuration_variables.rb', line 252

def mysqlx_wait_timeout
  @mysqlx_wait_timeout
end

#mysqlx_write_timeoutInteger

("mysqlx_write_timeout") DEPRECATED – variable should not be settable and will be ignored

Returns:

  • (Integer)


256
257
258
# File 'lib/oci/mysql/models/configuration_variables.rb', line 256

def mysqlx_write_timeout
  @mysqlx_write_timeout
end

#mysqlx_zstd_default_compression_levelInteger

Set the default compression level for the zstd algorithm. ("mysqlx_zstd_default_compression_level")

Returns:

  • (Integer)


296
297
298
# File 'lib/oci/mysql/models/configuration_variables.rb', line 296

def mysqlx_zstd_default_compression_level
  @mysqlx_zstd_default_compression_level
end

#mysqlx_zstd_max_client_compression_levelInteger

Limit the upper bound of accepted compression levels for the zstd algorithm. ("mysqlx_zstd_max_client_compression_level")

Returns:

  • (Integer)


292
293
294
# File 'lib/oci/mysql/models/configuration_variables.rb', line 292

def mysqlx_zstd_max_client_compression_level
  @mysqlx_zstd_max_client_compression_level
end

#parser_max_mem_sizeInteger

("parser_max_mem_size")

Returns:

  • (Integer)


260
261
262
# File 'lib/oci/mysql/models/configuration_variables.rb', line 260

def parser_max_mem_size
  @parser_max_mem_size
end

#query_alloc_block_sizeInteger

("query_alloc_block_size") DEPRECATED – variable should not be settable and will be ignored

Returns:

  • (Integer)


264
265
266
# File 'lib/oci/mysql/models/configuration_variables.rb', line 264

def query_alloc_block_size
  @query_alloc_block_size
end

#query_prealloc_sizeInteger

("query_prealloc_size") DEPRECATED – variable should not be settable and will be ignored

Returns:

  • (Integer)


268
269
270
# File 'lib/oci/mysql/models/configuration_variables.rb', line 268

def query_prealloc_size
  @query_prealloc_size
end

#sql_modeString

("sql_mode")

Returns:

  • (String)


272
273
274
# File 'lib/oci/mysql/models/configuration_variables.rb', line 272

def sql_mode
  @sql_mode
end

#sql_require_primary_keyBOOLEAN

("sql_require_primary_key")

Returns:

  • (BOOLEAN)


128
129
130
# File 'lib/oci/mysql/models/configuration_variables.rb', line 128

def sql_require_primary_key
  @sql_require_primary_key
end

#sql_warningsBOOLEAN

("sql_warnings")

Returns:

  • (BOOLEAN)


132
133
134
# File 'lib/oci/mysql/models/configuration_variables.rb', line 132

def sql_warnings
  @sql_warnings
end

#transaction_isolationString

("transaction_isolation")

Returns:

  • (String)


59
60
61
# File 'lib/oci/mysql/models/configuration_variables.rb', line 59

def transaction_isolation
  @transaction_isolation
end

Class Method Details

.attribute_mapObject

Attribute mapping from ruby-style variable name to JSON key.



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
334
335
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
# File 'lib/oci/mysql/models/configuration_variables.rb', line 303

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',
    'binlog_row_metadata': :'binlogRowMetadata',
    'binlog_row_value_options': :'binlogRowValueOptions',
    'binlog_transaction_compression': :'binlogTransactionCompression',
    '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_typesObject

Attribute type mapping.



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
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
# File 'lib/oci/mysql/models/configuration_variables.rb', line 365

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',
    'binlog_row_metadata': :'String',
    'binlog_row_value_options': :'String',
    'binlog_transaction_compression': :'BOOLEAN',
    '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.

Parameters:

  • other (Object)

    the other object to be compared



922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
# File 'lib/oci/mysql/models/configuration_variables.rb', line 922

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 &&
     == other. &&
    binlog_row_value_options == other.binlog_row_value_options &&
    binlog_transaction_compression == other.binlog_transaction_compression &&
    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

Parameters:

  • attributes (Hash)

    Model attributes in the form of hash

Returns:

  • (Object)

    Returns the model itself



1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
# File 'lib/oci/mysql/models/configuration_variables.rb', line 1005

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

Parameters:

  • other (Object)

    the other object to be compared

Returns:

  • (Boolean)

See Also:

  • `==` method


985
986
987
# File 'lib/oci/mysql/models/configuration_variables.rb', line 985

def eql?(other)
  self == other
end

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



994
995
996
# File 'lib/oci/mysql/models/configuration_variables.rb', line 994

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, , binlog_row_value_options, binlog_transaction_compression, 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_hashHash

Returns the object in the form of hash

Returns:

  • (Hash)

    Returns the object in the form of hash



1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
# File 'lib/oci/mysql/models/configuration_variables.rb', line 1038

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_sString

Returns the string representation of the object

Returns:

  • (String)

    String presentation of the object



1032
1033
1034
# File 'lib/oci/mysql/models/configuration_variables.rb', line 1032

def to_s
  to_hash.to_s
end