com.databricks.sdk.service.catalog.OnlineTable Maven / Gradle / Ivy
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
package com.databricks.sdk.service.catalog;
import com.databricks.sdk.support.Generated;
import com.databricks.sdk.support.ToStringer;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Objects;
/** Online Table information. */
@Generated
public class OnlineTable {
/** Full three-part (catalog, schema, table) name of the table. */
@JsonProperty("name")
private String name;
/** Specification of the online table. */
@JsonProperty("spec")
private OnlineTableSpec spec;
/** Online Table status */
@JsonProperty("status")
private OnlineTableStatus status;
/** Data serving REST API URL for this table */
@JsonProperty("table_serving_url")
private String tableServingUrl;
public OnlineTable setName(String name) {
this.name = name;
return this;
}
public String getName() {
return name;
}
public OnlineTable setSpec(OnlineTableSpec spec) {
this.spec = spec;
return this;
}
public OnlineTableSpec getSpec() {
return spec;
}
public OnlineTable setStatus(OnlineTableStatus status) {
this.status = status;
return this;
}
public OnlineTableStatus getStatus() {
return status;
}
public OnlineTable setTableServingUrl(String tableServingUrl) {
this.tableServingUrl = tableServingUrl;
return this;
}
public String getTableServingUrl() {
return tableServingUrl;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
OnlineTable that = (OnlineTable) o;
return Objects.equals(name, that.name)
&& Objects.equals(spec, that.spec)
&& Objects.equals(status, that.status)
&& Objects.equals(tableServingUrl, that.tableServingUrl);
}
@Override
public int hashCode() {
return Objects.hash(name, spec, status, tableServingUrl);
}
@Override
public String toString() {
return new ToStringer(OnlineTable.class)
.add("name", name)
.add("spec", spec)
.add("status", status)
.add("tableServingUrl", tableServingUrl)
.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy