
com.alicloud.openservices.tablestore.timeline.model.TimelineMetaSchema 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.timeline.model;
import com.alicloud.openservices.tablestore.model.search.IndexSchema;
public class TimelineMetaSchema {
private TimelineIdentifierSchema identifierSchema;
private String tableName;
private String indexName;
private IndexSchema indexSchema;
public TimelineMetaSchema(String tableName, TimelineIdentifierSchema identifierSchema) {
this.tableName = tableName;
this.identifierSchema = identifierSchema;
}
public TimelineMetaSchema withIndex(String indexName, IndexSchema metaIndex) {
this.indexName = indexName;
this.indexSchema = metaIndex;
return this;
}
public boolean hasMetaIndex() {
return indexName != null && indexSchema != null;
}
public TimelineIdentifierSchema getIdentifierSchema() {
return identifierSchema;
}
public String getTableName() {
return tableName;
}
public String getIndexName() {
return indexName;
}
public IndexSchema getIndexSchema() {
return indexSchema;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy