public class ParamChecker extends Object
| 构造器和说明 |
|---|
ParamChecker() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
checkRowChange(TableMeta tableMeta,
RowChange rowChange,
com.aliyun.openservices.ots.internal.writer.WriterConfig config)
It does following checkings:
- primary key schema is matched with which defined in table meta
|
public static void checkRowChange(TableMeta tableMeta, RowChange rowChange, com.aliyun.openservices.ots.internal.writer.WriterConfig config) throws ClientException
WriterConfig.maxPKColumnSize
- attribute column's value size is less than WriterConfig.maxAttrColumnSize
- the count of attribute columns is less than WriterConfig.maxColumnsCount
- the name of attribute columns not duplicated with primary key column's name
- the total row sizetableMeta - rowChange - config - ClientExceptionCopyright © 2019. All Rights Reserved.