All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.databricks.sdk.service.catalog.FunctionDependency Maven / Gradle / Ivy

There is a newer version: 0.35.0
Show newest version
// 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;

/** A function that is dependent on a SQL object. */
@Generated
public class FunctionDependency {
  /**
   * Full name of the dependent function, in the form of
   * __catalog_name__.__schema_name__.__function_name__.
   */
  @JsonProperty("function_full_name")
  private String functionFullName;

  public FunctionDependency setFunctionFullName(String functionFullName) {
    this.functionFullName = functionFullName;
    return this;
  }

  public String getFunctionFullName() {
    return functionFullName;
  }

  @Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    FunctionDependency that = (FunctionDependency) o;
    return Objects.equals(functionFullName, that.functionFullName);
  }

  @Override
  public int hashCode() {
    return Objects.hash(functionFullName);
  }

  @Override
  public String toString() {
    return new ToStringer(FunctionDependency.class)
        .add("functionFullName", functionFullName)
        .toString();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy