com.aliyun.openservices.ots.model
类 RowChange

java.lang.Object
  继承者 com.aliyun.openservices.ots.model.RowChange
直接已知子类:
RowDeleteChange, RowPutChange, RowUpdateChange

public class RowChange
extends Object

表示行的数据变更信息。


构造方法摘要
protected RowChange(String tableName)
          构造函数。
 
方法摘要
 Condition getCondition()
          获取判断条件。
 RowPrimaryKey getRowPrimaryKey()
          获取主键(Primary Key)列名称与值的对应只读字典。
 String getTableName()
           
 void setCondition(Condition condition)
          设置判断条件。
 void setPrimaryKey(RowPrimaryKey primaryKey)
          添加主键(Primary Key)列的名称和值。
 void setTableName(String tableName)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

RowChange

protected RowChange(String tableName)
构造函数。

方法详细信息

setTableName

public void setTableName(String tableName)

getTableName

public String getTableName()

getRowPrimaryKey

public RowPrimaryKey getRowPrimaryKey()
获取主键(Primary Key)列名称与值的对应只读字典。

返回:
主键(Primary Key)列名称与值的对应只读字典。

setPrimaryKey

public void setPrimaryKey(RowPrimaryKey primaryKey)
添加主键(Primary Key)列的名称和值。

参数:
primaryKey - 行的主键。

getCondition

public Condition getCondition()
获取判断条件。

返回:
判断条件。

setCondition

public void setCondition(Condition condition)
设置判断条件。

参数:
condition - 判断条件。


Copyright © 2014. All Rights Reserved.