
com.alicloud.openservices.tablestore.model.DeleteIndexRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tablestore Show documentation
Show all versions of tablestore Show documentation
Aliyun Open Services SDK for Java Copyright (C) Alibaba Cloud Computing All rights reserved. 版权所有
(C)阿里云计算有限公司 http://www.aliyun.com
package com.alicloud.openservices.tablestore.model;
import com.alicloud.openservices.tablestore.core.utils.Preconditions;
public class DeleteIndexRequest implements Request {
/**
* 表的名称。
*/
private String mainTableName;
/**
* 索引表的名称。
*/
private String indexName;
public DeleteIndexRequest(String tableName, String indexName) {
setMainTableName(tableName);
setIndeName(indexName);
}
/**
* 获取表的名称。
* @return 表的名称。
*/
public String getMainTableName() {
return mainTableName;
}
public void setMainTableName(String tableName) {
Preconditions.checkArgument(
tableName != null && !tableName.isEmpty(),
"The name of table should not be null or empty.");
this.mainTableName = tableName;
}
/**
* 获取索引表的名称。
* @return 索引表的名称
*/
public String getIndexName() { return indexName; }
public void setIndeName(String indexName) {
Preconditions.checkArgument(indexName != null && !indexName.isEmpty(),
"The name of index should not be null or empty");
this.indexName = indexName;
}
@Override
public String getOperationName() {
return OperationNames.OP_DELETE_INDEX;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy