public class RowKey extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static RowKey |
AUTO
自增 ID
|
protected boolean |
before
是否前执行
|
static RowKey |
FLEX_ID
flexId
|
protected String |
keyColumn
主键字段
|
protected KeyType |
keyType
主键类型
|
static RowKey |
SNOW_FLAKE_ID
snowFlakeId
|
static RowKey |
ULID
ulid
|
static RowKey |
UUID
UUID 的 ID
|
protected String |
value
主键类型为 Sequence 和 Generator 时的对应的内容
|
| Constructor and Description |
|---|
RowKey() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getKeyColumn() |
KeyType |
getKeyType() |
String |
getValue() |
int |
hashCode() |
boolean |
isBefore() |
static RowKey |
of(String keyColumn) |
static RowKey |
of(String keyColumn,
KeyType keyType) |
static RowKey |
of(String keyColumn,
KeyType keyType,
String keyTypeValue) |
static RowKey |
of(String keyColumn,
KeyType keyType,
String keyTypeValue,
boolean before) |
public static final RowKey AUTO
public static final RowKey UUID
public static final RowKey FLEX_ID
public static final RowKey SNOW_FLAKE_ID
public static final RowKey ULID
protected String keyColumn
protected KeyType keyType
protected String value
protected boolean before
Copyright © 2024. All rights reserved.