public class RowKey extends Object implements Serializable
| 限定符和类型 | 字段和说明 |
|---|---|
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 时的对应的内容
|
| 构造器和说明 |
|---|
RowKey() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 SNOW_FLAKE_ID
protected boolean before
public RowKey()
public String getKeyColumn()
public KeyType getKeyType()
public boolean isBefore()
Copyright © 2025. All rights reserved.