Class JsonSchemaMysql


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.4.0")
    public class JsonSchemaMysql
    extends Object
    JsonSchemaMysql
    • Constructor Detail

      • JsonSchemaMysql

        public JsonSchemaMysql()
    • Method Detail

      • getNetWriteTimeout

        @Nullable
        public Integer getNetWriteTimeout()
        The number of seconds to wait for a block to be written to a connection before aborting the write. minimum: 1 maximum: 3600
        Returns:
        netWriteTimeout
      • setNetWriteTimeout

        public void setNetWriteTimeout​(Integer netWriteTimeout)
      • getSqlMode

        @Nullable
        public String getSqlMode()
        Global SQL mode. Set to empty to use MySQL server defaults. When creating a new service and not setting this field Aiven default SQL mode (strict, SQL standard compliant) will be assigned.
        Returns:
        sqlMode
      • setSqlMode

        public void setSqlMode​(String sqlMode)
      • informationSchemaStatsExpiry

        public JsonSchemaMysql informationSchemaStatsExpiry​(Integer informationSchemaStatsExpiry)
      • getInformationSchemaStatsExpiry

        @Nullable
        public Integer getInformationSchemaStatsExpiry()
        The time, in seconds, before cached statistics expire minimum: 900 maximum: 31536000
        Returns:
        informationSchemaStatsExpiry
      • setInformationSchemaStatsExpiry

        public void setInformationSchemaStatsExpiry​(Integer informationSchemaStatsExpiry)
      • getSortBufferSize

        @Nullable
        public Integer getSortBufferSize()
        Sort buffer size in bytes for ORDER BY optimization. Default is 262144 (256K) minimum: 32768 maximum: 1073741824
        Returns:
        sortBufferSize
      • setSortBufferSize

        public void setSortBufferSize​(Integer sortBufferSize)
      • innodbThreadConcurrency

        public JsonSchemaMysql innodbThreadConcurrency​(Integer innodbThreadConcurrency)
      • getInnodbThreadConcurrency

        @Nullable
        public Integer getInnodbThreadConcurrency()
        Defines the maximum number of threads permitted inside of InnoDB. Default is 0 (infinite concurrency - no limit) minimum: 0 maximum: 1000
        Returns:
        innodbThreadConcurrency
      • setInnodbThreadConcurrency

        public void setInnodbThreadConcurrency​(Integer innodbThreadConcurrency)
      • getInnodbWriteIoThreads

        @Nullable
        public Integer getInnodbWriteIoThreads()
        The number of I/O threads for write operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service. minimum: 1 maximum: 64
        Returns:
        innodbWriteIoThreads
      • setInnodbWriteIoThreads

        public void setInnodbWriteIoThreads​(Integer innodbWriteIoThreads)
      • getInnodbFtMinTokenSize

        @Nullable
        public Integer getInnodbFtMinTokenSize()
        Minimum length of words that are stored in an InnoDB FULLTEXT index. Changing this parameter will lead to a restart of the MySQL service. minimum: 0 maximum: 16
        Returns:
        innodbFtMinTokenSize
      • setInnodbFtMinTokenSize

        public void setInnodbFtMinTokenSize​(Integer innodbFtMinTokenSize)
      • innodbChangeBufferMaxSize

        public JsonSchemaMysql innodbChangeBufferMaxSize​(Integer innodbChangeBufferMaxSize)
      • getInnodbChangeBufferMaxSize

        @Nullable
        public Integer getInnodbChangeBufferMaxSize()
        Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. Default is 25 minimum: 0 maximum: 50
        Returns:
        innodbChangeBufferMaxSize
      • setInnodbChangeBufferMaxSize

        public void setInnodbChangeBufferMaxSize​(Integer innodbChangeBufferMaxSize)
      • getInnodbFlushNeighbors

        @Nullable
        public Integer getInnodbFlushNeighbors()
        Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent (default is 1): 0 - dirty pages in the same extent are not flushed, 1 - flush contiguous dirty pages in the same extent, 2 - flush dirty pages in the same extent minimum: 0 maximum: 2
        Returns:
        innodbFlushNeighbors
      • setInnodbFlushNeighbors

        public void setInnodbFlushNeighbors​(Integer innodbFlushNeighbors)
      • getTmpTableSize

        @Nullable
        public Integer getTmpTableSize()
        Limits the size of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M) minimum: 1048576 maximum: 1073741824
        Returns:
        tmpTableSize
      • setTmpTableSize

        public void setTmpTableSize​(Integer tmpTableSize)
      • getSlowQueryLog

        @Nullable
        public Boolean getSlowQueryLog()
        Slow query log enables capturing of slow queries. Setting slow_query_log to false also truncates the mysql.slow_log table. Default is off
        Returns:
        slowQueryLog
      • setSlowQueryLog

        public void setSlowQueryLog​(Boolean slowQueryLog)
      • getConnectTimeout

        @Nullable
        public Integer getConnectTimeout()
        The number of seconds that the mysqld server waits for a connect packet before responding with Bad handshake minimum: 2 maximum: 3600
        Returns:
        connectTimeout
      • setConnectTimeout

        public void setConnectTimeout​(Integer connectTimeout)
      • getNetReadTimeout

        @Nullable
        public Integer getNetReadTimeout()
        The number of seconds to wait for more data from a connection before aborting the read. minimum: 1 maximum: 3600
        Returns:
        netReadTimeout
      • setNetReadTimeout

        public void setNetReadTimeout​(Integer netReadTimeout)
      • getInnodbLockWaitTimeout

        @Nullable
        public Integer getInnodbLockWaitTimeout()
        The length of time in seconds an InnoDB transaction waits for a row lock before giving up. Default is 120. minimum: 1 maximum: 3600
        Returns:
        innodbLockWaitTimeout
      • setInnodbLockWaitTimeout

        public void setInnodbLockWaitTimeout​(Integer innodbLockWaitTimeout)
      • getWaitTimeout

        @Nullable
        public Integer getWaitTimeout()
        The number of seconds the server waits for activity on a noninteractive connection before closing it. minimum: 1 maximum: 2147483
        Returns:
        waitTimeout
      • setWaitTimeout

        public void setWaitTimeout​(Integer waitTimeout)
      • innodbRollbackOnTimeout

        public JsonSchemaMysql innodbRollbackOnTimeout​(Boolean innodbRollbackOnTimeout)
      • getInnodbRollbackOnTimeout

        @Nullable
        public Boolean getInnodbRollbackOnTimeout()
        When enabled a transaction timeout causes InnoDB to abort and roll back the entire transaction. Changing this parameter will lead to a restart of the MySQL service.
        Returns:
        innodbRollbackOnTimeout
      • setInnodbRollbackOnTimeout

        public void setInnodbRollbackOnTimeout​(Boolean innodbRollbackOnTimeout)
      • getGroupConcatMaxLen

        @Nullable
        public Integer getGroupConcatMaxLen()
        The maximum permitted result length in bytes for the GROUP_CONCAT() function. minimum: 4 maximum: -1
        Returns:
        groupConcatMaxLen
      • setGroupConcatMaxLen

        public void setGroupConcatMaxLen​(Integer groupConcatMaxLen)
      • getNetBufferLength

        @Nullable
        public Integer getNetBufferLength()
        Start sizes of connection buffer and result buffer. Default is 16384 (16K). Changing this parameter will lead to a restart of the MySQL service. minimum: 1024 maximum: 1048576
        Returns:
        netBufferLength
      • setNetBufferLength

        public void setNetBufferLength​(Integer netBufferLength)
      • innodbPrintAllDeadlocks

        public JsonSchemaMysql innodbPrintAllDeadlocks​(Boolean innodbPrintAllDeadlocks)
      • getInnodbPrintAllDeadlocks

        @Nullable
        public Boolean getInnodbPrintAllDeadlocks()
        When enabled, information about all deadlocks in InnoDB user transactions is recorded in the error log. Disabled by default.
        Returns:
        innodbPrintAllDeadlocks
      • setInnodbPrintAllDeadlocks

        public void setInnodbPrintAllDeadlocks​(Boolean innodbPrintAllDeadlocks)
      • innodbOnlineAlterLogMaxSize

        public JsonSchemaMysql innodbOnlineAlterLogMaxSize​(Integer innodbOnlineAlterLogMaxSize)
      • getInnodbOnlineAlterLogMaxSize

        @Nullable
        public Integer getInnodbOnlineAlterLogMaxSize()
        The upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables. minimum: 65536 maximum: 1099511627776
        Returns:
        innodbOnlineAlterLogMaxSize
      • setInnodbOnlineAlterLogMaxSize

        public void setInnodbOnlineAlterLogMaxSize​(Integer innodbOnlineAlterLogMaxSize)
      • getInteractiveTimeout

        @Nullable
        public Integer getInteractiveTimeout()
        The number of seconds the server waits for activity on an interactive connection before closing it. minimum: 30 maximum: 604800
        Returns:
        interactiveTimeout
      • setInteractiveTimeout

        public void setInteractiveTimeout​(Integer interactiveTimeout)
      • getInnodbLogBufferSize

        @Nullable
        public Integer getInnodbLogBufferSize()
        The size in bytes of the buffer that InnoDB uses to write to the log files on disk. minimum: 1048576 maximum: 4294967295
        Returns:
        innodbLogBufferSize
      • setInnodbLogBufferSize

        public void setInnodbLogBufferSize​(Integer innodbLogBufferSize)
      • getMaxAllowedPacket

        @Nullable
        public Integer getMaxAllowedPacket()
        Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M) minimum: 102400 maximum: 1073741824
        Returns:
        maxAllowedPacket
      • setMaxAllowedPacket

        public void setMaxAllowedPacket​(Integer maxAllowedPacket)
      • getMaxHeapTableSize

        @Nullable
        public Integer getMaxHeapTableSize()
        Limits the size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M) minimum: 1048576 maximum: 1073741824
        Returns:
        maxHeapTableSize
      • setMaxHeapTableSize

        public void setMaxHeapTableSize​(Integer maxHeapTableSize)
      • innodbFtServerStopwordTable

        public JsonSchemaMysql innodbFtServerStopwordTable​(String innodbFtServerStopwordTable)
      • getInnodbFtServerStopwordTable

        @Nullable
        public String getInnodbFtServerStopwordTable()
        This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables.
        Returns:
        innodbFtServerStopwordTable
      • getInnodbFtServerStopwordTable_JsonNullable

        public org.openapitools.jackson.nullable.JsonNullable<String> getInnodbFtServerStopwordTable_JsonNullable()
      • setInnodbFtServerStopwordTable_JsonNullable

        public void setInnodbFtServerStopwordTable_JsonNullable​(org.openapitools.jackson.nullable.JsonNullable<String> innodbFtServerStopwordTable)
      • setInnodbFtServerStopwordTable

        public void setInnodbFtServerStopwordTable​(String innodbFtServerStopwordTable)
      • getInnodbReadIoThreads

        @Nullable
        public Integer getInnodbReadIoThreads()
        The number of I/O threads for read operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service. minimum: 1 maximum: 64
        Returns:
        innodbReadIoThreads
      • setInnodbReadIoThreads

        public void setInnodbReadIoThreads​(Integer innodbReadIoThreads)
      • getSqlRequirePrimaryKey

        @Nullable
        public Boolean getSqlRequirePrimaryKey()
        Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them.
        Returns:
        sqlRequirePrimaryKey
      • setSqlRequirePrimaryKey

        public void setSqlRequirePrimaryKey​(Boolean sqlRequirePrimaryKey)
      • getDefaultTimeZone

        @Nullable
        public String getDefaultTimeZone()
        Default server time zone as an offset from UTC (from -12:00 to +12:00), a time zone name, or 'SYSTEM' to use the MySQL server default.
        Returns:
        defaultTimeZone
      • setDefaultTimeZone

        public void setDefaultTimeZone​(String defaultTimeZone)
      • getLongQueryTime

        @Nullable
        public BigDecimal getLongQueryTime()
        The slow_query_logs work as SQL statements that take more than long_query_time seconds to execute. Default is 10s minimum: 0.0 maximum: 3600
        Returns:
        longQueryTime
      • setLongQueryTime

        public void setLongQueryTime​(BigDecimal longQueryTime)
      • equals

        public boolean equals​(Object o)
        Return true if this json-schema-mysql object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • toUrlQueryString

        public String toUrlQueryString()
        Convert the instance into URL query string.
        Returns:
        URL query string
      • toUrlQueryString

        public String toUrlQueryString​(String prefix)
        Convert the instance into URL query string.
        Parameters:
        prefix - prefix of the query string
        Returns:
        URL query string