public class MySqlConnectorConfig extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MySqlConnectorConfig.SnapshotMode
The set of predefined SnapshotMode options or aliases.
|
| Modifier and Type | Field and Description |
|---|---|
static Collection<Field> |
ALL_FIELDS |
static Field |
COLUMN_BLACKLIST |
static Field |
CONNECTION_TIMEOUT_MS |
static Field |
DATABASE_BLACKLIST |
static Field |
DATABASE_HISTORY |
static Field |
DATABASE_WHITELIST |
static Field |
HOSTNAME |
static Field |
INCLUDE_SCHEMA_CHANGES |
static Field |
KEEP_ALIVE |
static Field |
MAX_BATCH_SIZE |
static Field |
MAX_QUEUE_SIZE |
static Field |
PASSWORD |
static Field |
POLL_INTERVAL_MS |
static Field |
PORT |
static Field |
ROW_COUNT_FOR_STREAMING_RESULT_SETS |
static Field |
SERVER_ID |
static Field |
SERVER_NAME |
static Field |
SNAPSHOT_MINIMAL_LOCKING |
static Field |
SNAPSHOT_MODE |
static Field |
TABLE_BLACKLIST |
static Field |
TABLE_WHITELIST |
static Field |
TABLES_IGNORE_BUILTIN |
static Field |
USER |
| Constructor and Description |
|---|
MySqlConnectorConfig() |
| Modifier and Type | Method and Description |
|---|---|
static Field |
MASK_COLUMN(int length)
Method that generates a Field for specifying that string columns whose names match a set of regular expressions should
have their values masked by the specified number of asterisk ('*') characters.
|
private static int |
randomServerId() |
static Field |
TRUNCATE_COLUMN(int length)
Method that generates a Field for specifying that string columns whose names match a set of regular expressions should
have their values truncated to be no longer than the specified number of characters.
|
private static int |
validateColumnBlacklist(Configuration config,
Field field,
Consumer<String> problems) |
private static int |
validateDatabaseBlacklist(Configuration config,
Field field,
Consumer<String> problems) |
private static int |
validateMaxQueueSize(Configuration config,
Field field,
Consumer<String> problems) |
private static int |
validateSnapshotMode(Configuration config,
Field field,
Consumer<String> problems) |
private static int |
validateTableBlacklist(Configuration config,
Field field,
Consumer<String> problems) |
public static final Field USER
public static final Field PASSWORD
public static final Field HOSTNAME
public static final Field PORT
public static final Field SERVER_NAME
public static final Field SERVER_ID
public static final Field CONNECTION_TIMEOUT_MS
public static final Field KEEP_ALIVE
public static final Field MAX_QUEUE_SIZE
public static final Field MAX_BATCH_SIZE
public static final Field POLL_INTERVAL_MS
public static final Field ROW_COUNT_FOR_STREAMING_RESULT_SETS
public static final Field DATABASE_HISTORY
public static final Field INCLUDE_SCHEMA_CHANGES
public static final Field TABLE_BLACKLIST
public static final Field TABLE_WHITELIST
public static final Field DATABASE_WHITELIST
public static final Field DATABASE_BLACKLIST
public static final Field TABLES_IGNORE_BUILTIN
public static final Field COLUMN_BLACKLIST
public static final Field SNAPSHOT_MODE
public static final Field SNAPSHOT_MINIMAL_LOCKING
public static Collection<Field> ALL_FIELDS
public static final Field TRUNCATE_COLUMN(int length)
length - the maximum length of the column's string values written in source records; must be positivepublic static final Field MASK_COLUMN(int length)
length - the number of asterisks that should appear in place of the column's string values written in source records;
must be positiveprivate static int validateSnapshotMode(Configuration config, Field field, Consumer<String> problems)
private static int validateMaxQueueSize(Configuration config, Field field, Consumer<String> problems)
private static int validateDatabaseBlacklist(Configuration config, Field field, Consumer<String> problems)
private static int validateTableBlacklist(Configuration config, Field field, Consumer<String> problems)
private static int validateColumnBlacklist(Configuration config, Field field, Consumer<String> problems)
private static int randomServerId()
Copyright © 2016 JBoss by Red Hat. All rights reserved.