dant3 commented on code in PR #6648:
URL: https://github.com/apache/ignite-3/pull/6648#discussion_r2382002013
##########
modules/catalog/src/main/java/org/apache/ignite/internal/catalog/descriptors/CatalogTableDescriptor.java:
##########
@@ -282,4 +250,199 @@ public String storageProfile() {
return storageProfile;
}
+ /**
+ * {@code CatalogTableDescriptor} builder static inner class.
+ */
+ public static final class Builder {
+ private int id;
+ private String name;
+ private int zoneId;
+ private int schemaId;
+ private int pkIndexId;
+ private CatalogTableSchemaVersions schemaVersions;
+ private List<CatalogTableColumnDescriptor> columns;
+ private List<String> primaryKeyColumns;
+ @Nullable private List<String> colocationColumns;
+ private String storageProfile;
+ private HybridTimestamp timestamp = INITIAL_TIMESTAMP;
+ private int tableVersion = 0;
Review Comment:
If was implicitly passed in a newDescriptor method previously, I just
incapsulated that logic in a builder to be able to perform updates
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]