public abstract class RowChange extends Object implements IRow, Measurable
If it is a PutRow operation, refer to RowPutChange.
If it is an UpdateRow operation, refer to RowUpdateChange.
If it is a DeleteRow operation, refer to RowDeleteChange.
| 构造器和说明 |
|---|
RowChange(String tableName)
Constructor.
|
RowChange(String tableName,
PrimaryKey primaryKey)
Constructor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addReturnColumn(String columnName) |
int |
compareTo(IRow row) |
Condition |
getCondition()
Get the judgment condition.
|
PrimaryKey |
getPrimaryKey()
Get the primary key of this row.
|
Set<String> |
getReturnColumnNames() |
ReturnType |
getReturnType() |
String |
getTableName()
Get the name of the table.
|
void |
setCondition(Condition condition)
Set the judgment condition.
|
void |
setPrimaryKey(PrimaryKey primaryKey)
Add the name and value of the primary key (Primary Key) column.
|
void |
setReturnType(ReturnType returnType) |
void |
setTableName(String tableName)
Set the name of the table.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDataSizepublic RowChange(String tableName, PrimaryKey primaryKey)
The table name cannot be null or empty.
The primary key of the row cannot be null or empty.
tableName - The name of the tableprimaryKey - The primary key of the tablepublic RowChange(String tableName)
The table name cannot be null or empty.
tableName - the name of the tablepublic void setTableName(String tableName)
public String getTableName()
public void setPrimaryKey(PrimaryKey primaryKey)
primaryKey - The primary key of the row.public PrimaryKey getPrimaryKey()
getPrimaryKey 在接口中 IRowpublic Condition getCondition()
public void setCondition(Condition condition)
condition - The judgment condition.public int compareTo(IRow row)
compareTo 在接口中 Comparable<IRow>public ReturnType getReturnType()
public void setReturnType(ReturnType returnType)
public void addReturnColumn(String columnName)
Copyright © 2025. All Rights Reserved.