/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.ambari.view.hive20.internal.dto;
import java.util.Map;
/**
*
*/
public class DetailedTableInfo {
private String tableName;
private String dbName;
private String owner;
private String createTime;
private String lastAccessTime;
private String retention;
private String tableType;
private String location;
private Map<String, String> parameters;
public String getTableName() {
return tableName;
}
public void setTableName(String tableName) {
this.tableName = tableName;
}
public String getDbName() {
return dbName;
}
public void setDbName(String dbName) {
this.dbName = dbName;
}
public String getOwner() {
return owner;
}
public void setOwner(String owner) {
this.owner = owner;
}
public String getCreateTime() {
return createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
public String getLastAccessTime() {
return lastAccessTime;
}
public void setLastAccessTime(String lastAccessTime) {
this.lastAccessTime = lastAccessTime;
}
public String getRetention() {
return retention;
}
public void setRetention(String retention) {
this.retention = retention;
}
public String getTableType() {
return tableType;
}
public void setTableType(String tableType) {
this.tableType = tableType;
}
public Map<String, String> getParameters() {
return parameters;
}
public void setParameters(Map<String, String> parameters) {
this.parameters = parameters;
}
public String getLocation() {
return location;
}
public void setLocation(String location) {
this.location = location;
}
@Override
public String toString() {
return "DetailedTableInfo{" +
"tableName='" + tableName + '\'' +
", dbName='" + dbName + '\'' +
", owner='" + owner + '\'' +
", createTime='" + createTime + '\'' +
", lastAccessTime='" + lastAccessTime + '\'' +
", retention='" + retention + '\'' +
", tableType='" + tableType + '\'' +
", location='" + location + '\'' +
", parameters=" + parameters +
'}';
}
}