com.aliyun.openservices.ots.model
类 RowPutChange

java.lang.Object
  继承者 com.aliyun.openservices.ots.model.RowChange
      继承者 com.aliyun.openservices.ots.model.RowPutChange

public class RowPutChange
extends RowChange

表示行的插入或更新信息。


构造方法摘要
RowPutChange(String tableName)
          构造一个新的RowPutChange实例。
 
方法摘要
 void addAttributeColumn(String name, ColumnValue value)
          添加属性列的名称和值。
 Map<String,ColumnValue> getAttributeColumns()
          返回属性列的名称与值的对应字典(只读)。
 
从类 com.aliyun.openservices.ots.model.RowChange 继承的方法
getCondition, getRowPrimaryKey, getTableName, setCondition, setPrimaryKey, setTableName
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

RowPutChange

public RowPutChange(String tableName)
构造一个新的RowPutChange实例。

参数:
tableName - 表的名称
方法详细信息

getAttributeColumns

public Map<String,ColumnValue> getAttributeColumns()
返回属性列的名称与值的对应字典(只读)。

返回:
名称与值的对应字典(只读)。

addAttributeColumn

public void addAttributeColumn(String name,
                               ColumnValue value)
添加属性列的名称和值。

参数:
name - 属性列的列名。
value - 属性列的值。


Copyright © 2014. All Rights Reserved.