All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.openservices.ots.model.SingleRowQueryCriteria Maven / Gradle / Ivy

Go to download

Aliyun Open Services SDK for Java Copyright (C) Alibaba Cloud Computing All rights reserved. 版权所有 (C)阿里云计算有限公司 http://www.aliyun.com

There is a newer version: 2.2.4
Show newest version
package com.aliyun.openservices.ots.model;

/**
 * 表示获取一行数据的查询条件。
 *
 */
public class SingleRowQueryCriteria extends RowQueryCriteria{
    private RowPrimaryKey primaryKey = new RowPrimaryKey();

    /**
     * 构造一个在给定名称的表中查询的条件。
     * @param tableName 查询的表名。
     */
    public SingleRowQueryCriteria(String tableName){
        super(tableName);
    }

    /**
     * 获取主键(Primary Key)列名称与值的对应字典(只读)。
     * @return 主键(Primary Key)列名称与值的对应字典(只读)。
     */
    public RowPrimaryKey getRowPrimaryKey() {
        return primaryKey;
    }

    /**
     * 设置主键(Primary Key)。
     * @param primaryKey 行的主键。
     */
    public void setPrimaryKey(RowPrimaryKey primaryKey){
        this.primaryKey = primaryKey;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy