com.clickzetta.platform.common.IGSTableMeta Maven / Gradle / Ivy
Show all versions of clickzetta-java Show documentation
package com.clickzetta.platform.common;
import cz.proto.MetadataEntity.Entity;
import static cz.proto.ingestion.Ingestion.IGSTableType;
/**
* wrap for TableMeta & IGSTableType
*
* IGSTableType:
* CLUSTER,
* ACID,
* NORMAL
*/
public class IGSTableMeta {
private long instanceId;
private String schemaName;
private String tableName;
private Entity tableMeta;
private IGSTableType tableType;
public IGSTableMeta() {
}
public IGSTableMeta(long instanceId, String schemaName, String tableName,
Entity tableMeta, IGSTableType tableType) {
this.instanceId = instanceId;
this.schemaName = schemaName;
this.tableName = tableName;
this.tableMeta = tableMeta;
this.tableType = tableType;
}
public long getInstanceId() {
return instanceId;
}
public void setInstanceId(long instanceId) {
this.instanceId = instanceId;
}
public String getSchemaName() {
return schemaName;
}
public void setSchemaName(String schemaName) {
this.schemaName = schemaName;
}
public String getTableName() {
return tableName;
}
public void setTableName(String tableName) {
this.tableName = tableName;
}
public Entity getTableMeta() {
return tableMeta;
}
public void setTableMeta(Entity tableMeta) {
this.tableMeta = tableMeta;
}
public IGSTableType getTableType() {
return tableType;
}
public void setTableType(IGSTableType tableType) {
this.tableType = tableType;
}
@Override
public String toString() {
return "IGSTableMeta{" +
"instanceId=" + instanceId +
", schemaName='" + schemaName + '\'' +
", tableName='" + tableName + '\'' +
", tableMeta=" + tableMeta +
", tableType=" + tableType +
'}';
}
}