| Modifier and Type | Field and Description |
|---|---|
private static Pattern |
COLUMN_SPLIT |
static Pattern |
MSG_KEY_COLUMNS_PATTERN
Pattern for defining the PK columns of a given table, in the form of "table:column1(,column2,...)",
optionally with leading/trailing whitespace.
|
static Pattern |
PATTERN_SPLIT |
private static Pattern |
TABLE_SPLIT |
| Constructor and Description |
|---|
CustomKeyMapper() |
| Modifier and Type | Method and Description |
|---|---|
static Key.KeyMapper |
getInstance(String fullyQualifiedColumnNames,
Selectors.TableIdToStringMapper tableIdMapper)
Getting an instance with a list of regexp (table:column1,column2) delimited by ';' matching the tables keys.
|
public static final Pattern MSG_KEY_COLUMNS_PATTERN
public static final Pattern PATTERN_SPLIT
private static final Pattern TABLE_SPLIT
private static final Pattern COLUMN_SPLIT
public static Key.KeyMapper getInstance(String fullyQualifiedColumnNames, Selectors.TableIdToStringMapper tableIdMapper)
fullyQualifiedColumnNames - a list of regextableIdMapper - mapper of tableIds to a StringCustomKeyMapper or null if fullyQualifiedColumnNames is invalid.Copyright © 2021 JBoss by Red Hat. All rights reserved.