Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .codegen/_openapi_sha
Original file line number Diff line number Diff line change
@@ -1 +1 @@
44cbc832f1b070c47544ff470fd8498853d24cf3
dbf9b0a4e0432e846520442b14c34fc7f0ca0d8c
4 changes: 3 additions & 1 deletion NEXT_CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,6 @@
* Add `command` and `envVars` fields for `com.databricks.sdk.service.apps.AppDeployment`.
* Add `fullName` and `securableType` fields for `com.databricks.sdk.service.catalog.AccessRequestDestinations`.
* [Breaking] Change `deleteKafkaConfig()` method for `workspaceClient.featureEngineering()` service . Method path has changed.
* [Breaking] Change long-running operation configuration for `workspaceClient.postgres().deleteRole()` method . Long running operation response type changed to `Void class`.
* [Breaking] Change long-running operation configuration for `workspaceClient.postgres().deleteRole()` method . Long running operation response type changed to `Void class`.
* Add `TABLE_DELTASHARING_OPEN_DIR_BASED` enum value for `com.databricks.sdk.service.catalog.SecurableKind`.
* [Breaking] Remove `accessModes` and `storageLocation` fields for `com.databricks.sdk.service.sharing.Table`.
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@

import com.databricks.sdk.support.Generated;

/** Latest kind: CONNECTION_ONELAKE = 289; Next id:290 */
/** Latest kind: TABLE_DELTASHARING_OPEN_DIR_BASED = 290; Next id:291 */
@Generated
public enum SecurableKind {
TABLE_DB_STORAGE,
TABLE_DELTA,
TABLE_DELTASHARING,
TABLE_DELTASHARING_MUTABLE,
TABLE_DELTASHARING_OPEN_DIR_BASED,
TABLE_DELTA_EXTERNAL,
TABLE_DELTA_ICEBERG_DELTASHARING,
TABLE_DELTA_ICEBERG_MANAGED,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,6 @@

@Generated
public class Table {
/**
* The access modes supported for this table (e.g., "url", "dir"). Used for open sharing to
* indicate how the table can be accessed.
*/
@JsonProperty("access_modes")
private Collection<String> accessModes;

/** The comment of the table. */
@JsonProperty("comment")
private String comment;
Expand Down Expand Up @@ -53,23 +46,10 @@ public class Table {
@JsonProperty("share_id")
private String shareId;

/** The cloud storage location of the table for open sharing. */
@JsonProperty("storage_location")
private String storageLocation;

/** The Tags of the table. */
@JsonProperty("tags")
private Collection<com.databricks.sdk.service.catalog.TagKeyValue> tags;

public Table setAccessModes(Collection<String> accessModes) {
this.accessModes = accessModes;
return this;
}

public Collection<String> getAccessModes() {
return accessModes;
}

public Table setComment(String comment) {
this.comment = comment;
return this;
Expand Down Expand Up @@ -151,15 +131,6 @@ public String getShareId() {
return shareId;
}

public Table setStorageLocation(String storageLocation) {
this.storageLocation = storageLocation;
return this;
}

public String getStorageLocation() {
return storageLocation;
}

public Table setTags(Collection<com.databricks.sdk.service.catalog.TagKeyValue> tags) {
this.tags = tags;
return this;
Expand All @@ -174,8 +145,7 @@ public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
Table that = (Table) o;
return Objects.equals(accessModes, that.accessModes)
&& Objects.equals(comment, that.comment)
return Objects.equals(comment, that.comment)
&& Objects.equals(id, that.id)
&& Objects.equals(internalAttributes, that.internalAttributes)
&& Objects.equals(materializationNamespace, that.materializationNamespace)
Expand All @@ -184,14 +154,12 @@ public boolean equals(Object o) {
&& Objects.equals(schema, that.schema)
&& Objects.equals(share, that.share)
&& Objects.equals(shareId, that.shareId)
&& Objects.equals(storageLocation, that.storageLocation)
&& Objects.equals(tags, that.tags);
}

@Override
public int hashCode() {
return Objects.hash(
accessModes,
comment,
id,
internalAttributes,
Expand All @@ -201,14 +169,12 @@ public int hashCode() {
schema,
share,
shareId,
storageLocation,
tags);
}

@Override
public String toString() {
return new ToStringer(Table.class)
.add("accessModes", accessModes)
.add("comment", comment)
.add("id", id)
.add("internalAttributes", internalAttributes)
Expand All @@ -218,7 +184,6 @@ public String toString() {
.add("schema", schema)
.add("share", share)
.add("shareId", shareId)
.add("storageLocation", storageLocation)
.add("tags", tags)
.toString();
}
Expand Down
Loading