T - the type of the property valuepublic final class ReaderSystemProperty<T> extends Object
This is the static configuration which should be loaded when JVM starts to ensure thread-safety.
| 限定符和类型 | 字段和说明 |
|---|---|
static ReaderSystemProperty<String> |
COMPOSITE_KEY_DELIMITER
For cli, when parsing string to list of objects to build key, use the delimiter.
|
static ReaderSystemProperty<Boolean> |
ENABLE_IBD_FILE_LENGTH_CHECK
Whether to enable innodb file length check to see if it can be divided by page size.
|
static ReaderSystemProperty<Boolean> |
ENABLE_INNODB_PAGE_CHECKSUM_ALGORITHM
This takes effect only when
ENABLE_PAGE_CHECKSUM_CHECK is set to true. |
static ReaderSystemProperty<Boolean> |
ENABLE_PAGE_CHECKSUM_CHECK
Whether to enable innodb page level checksum validation.
|
static ReaderSystemProperty<Boolean> |
ENABLE_THROW_EXCEPTION_FOR_UNSUPPORTED_MYSQL80_LOB
Whether to enable throwing exception when reading mysql8.0 new lob page, because
currently this does not implement yet.
|
static ReaderSystemProperty<Boolean> |
ENABLE_TRIM_CHAR
CHAR type will have \20 padding, but for mysql dump command, the head and tail padding are
disappear, so provide this configuration to handle CHAR like mysql dump.
|
static String |
PROP_PREFIX |
static ReaderSystemProperty<String> |
RANGE_QUERY_KEY_DELIMITER
For cli, when parsing range query parameters, the two values will use the delimiter.
|
public static final ReaderSystemProperty<Boolean> ENABLE_IBD_FILE_LENGTH_CHECK
public static final ReaderSystemProperty<Boolean> ENABLE_INNODB_PAGE_CHECKSUM_ALGORITHM
ENABLE_PAGE_CHECKSUM_CHECK is set to true.
Refer to https://dev.mysql.com/doc/refman/5.7/en/innodb-parameters.html#sysvar_innodb_checksum_algorithm
In MySQL 5.7 or later, crc32 checksum algorithm is the default value
for innodb_checksum_algorithm.
Here is this framework, crc32 will be used. If the checksum does not match,
you can enable this configuration to use innodb checksum algorithm to validate
again, this is useful in MySQL 5.6.
public static final ReaderSystemProperty<Boolean> ENABLE_PAGE_CHECKSUM_CHECK
public static final ReaderSystemProperty<Boolean> ENABLE_THROW_EXCEPTION_FOR_UNSUPPORTED_MYSQL80_LOB
public static final ReaderSystemProperty<Boolean> ENABLE_TRIM_CHAR
public static final ReaderSystemProperty<String> COMPOSITE_KEY_DELIMITER
public static final ReaderSystemProperty<String> RANGE_QUERY_KEY_DELIMITER
public T value()
null if a default value has not been
defined for this property.Copyright © 2019–2020 Alibaba Group Holding Limited. All rights reserved.