com.databricks.sdk.service.catalog.FailedStatus 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;
/**
* Detailed status of an online table. Shown if the online table is in the OFFLINE_FAILED or the
* ONLINE_PIPELINE_FAILED state.
*/
@Generated
public class FailedStatus {
/**
* The last source table Delta version that was synced to the online table. Note that this Delta
* version may only be partially synced to the online table. Only populated if the table is still
* online and available for serving.
*/
@JsonProperty("last_processed_commit_version")
private Long lastProcessedCommitVersion;
/**
* The timestamp of the last time any data was synchronized from the source table to the online
* table. Only populated if the table is still online and available for serving.
*/
@JsonProperty("timestamp")
private String timestamp;
public FailedStatus setLastProcessedCommitVersion(Long lastProcessedCommitVersion) {
this.lastProcessedCommitVersion = lastProcessedCommitVersion;
return this;
}
public Long getLastProcessedCommitVersion() {
return lastProcessedCommitVersion;
}
public FailedStatus setTimestamp(String timestamp) {
this.timestamp = timestamp;
return this;
}
public String getTimestamp() {
return timestamp;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
FailedStatus that = (FailedStatus) o;
return Objects.equals(lastProcessedCommitVersion, that.lastProcessedCommitVersion)
&& Objects.equals(timestamp, that.timestamp);
}
@Override
public int hashCode() {
return Objects.hash(lastProcessedCommitVersion, timestamp);
}
@Override
public String toString() {
return new ToStringer(FailedStatus.class)
.add("lastProcessedCommitVersion", lastProcessedCommitVersion)
.add("timestamp", timestamp)
.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy