Skip to content

Commit c3af993

Browse files
committed
Merges cherry-picked commits for persona/purpose/policy mgmt
Signed-off-by: Christopher Grote <[email protected]>
1 parent f8cf156 commit c3af993

File tree

144 files changed

+1082
-735
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

144 files changed

+1082
-735
lines changed

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SPDX-License-Identifier: Apache-2.0
22
GROUP=com.atlan
3-
VERSION_NAME=0.8.0-SNAPSHOT
3+
VERSION_NAME=0.7.0
44

55
POM_URL=https://github.com/atlanhq/atlan-java
66
POM_SCM_URL=[email protected]:atlanhq/atlan-java.git

src/main/java/com/atlan/Atlan.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public abstract class Atlan {
2222
public static final int DEFAULT_CONNECT_TIMEOUT = 30 * 1000;
2323
public static final int DEFAULT_READ_TIMEOUT = 80 * 1000;
2424

25-
public static final String VERSION = "0.8.0-SNAPSHOT";
25+
public static final String VERSION = "0.7.0";
2626

2727
public static volatile String clientId;
2828
public static volatile boolean enableTelemetry = true;

src/main/java/com/atlan/generators/GeneratorConfig.java

+1
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ public static GeneratorConfigBuilder getDefault(Class<?> generatorClass) {
211211
.singularForAttribute("policyValiditySchedule", "addPolicyValiditySchedule")
212212
.singularForAttribute("authServiceConfig", "putAuthServiceConfig")
213213
.singularForAttribute("microStrategyLocation", "putMicroStrategyLocation")
214+
.singularForAttribute("starredBy", "addStarredBy")
214215
.renameAttribute("connectorName", "connectorType")
215216
.renameAttribute("__hasLineage", "hasLineage")
216217
.renameAttribute("viewsCount", "viewCount")

src/main/java/com/atlan/model/assets/Asset.java

+5
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,11 @@ public abstract class Asset extends Reference {
560560
@Attribute
561561
Long assetMcLastSyncRunAt;
562562

563+
/** TBC */
564+
@Attribute
565+
@Singular("addStarredBy")
566+
SortedSet<String> starredBy;
567+
563568
/** TBC */
564569
@Attribute
565570
@Singular

src/main/java/com/atlan/model/assets/Column.java

+29
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,18 @@ public class Column extends SQL {
5050
@Attribute
5151
String subDataType;
5252

53+
/** TBC */
54+
@Attribute
55+
String rawDataTypeDefinition;
56+
5357
/** Order (position) in which the column appears in the table (starting at 1). */
5458
@Attribute
5559
Integer order;
5660

61+
/** TBC */
62+
@Attribute
63+
Integer nestedColumnCount;
64+
5765
/** TBC */
5866
@Attribute
5967
Boolean isPartition;
@@ -123,6 +131,14 @@ public class Column extends SQL {
123131
@Singular
124132
Map<String, String> validations;
125133

134+
/** TBC */
135+
@Attribute
136+
String parentColumnQualifiedName;
137+
138+
/** TBC */
139+
@Attribute
140+
String parentColumnName;
141+
126142
/** Number of rows that contain distinct values. */
127143
@Attribute
128144
Integer columnDistinctValuesCount;
@@ -227,10 +243,19 @@ public class Column extends SQL {
227243
@Singular
228244
List<ColumnValueFrequencyMap> columnTopValues;
229245

246+
/** Level of nesting, used for STRUCT/NESTED columns */
247+
@Attribute
248+
Integer columnDepthLevel;
249+
230250
/** View in which this column exists, or empty if the column instead exists in a table or materialized view. */
231251
@Attribute
232252
View view;
233253

254+
/** TBC */
255+
@Attribute
256+
@Singular
257+
SortedSet<Column> nestedColumns;
258+
234259
/** TBC */
235260
@Attribute
236261
@Singular
@@ -255,6 +280,10 @@ public class Column extends SQL {
255280
@JsonProperty("materialisedView")
256281
MaterializedView materializedView;
257282

283+
/** TBC */
284+
@Attribute
285+
Column parentColumn;
286+
258287
/** Queries that involve this column. */
259288
@Attribute
260289
@Singular

src/main/java/com/atlan/model/assets/Connection.java

+4
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@ public class Connection extends Asset {
106106
@Attribute
107107
Long rowLimit;
108108

109+
/** TBC */
110+
@Attribute
111+
Long queryTimeout;
112+
109113
/** TBC */
110114
@Attribute
111115
String defaultCredentialGuid;

src/main/java/com/atlan/model/enums/KeywordFields.java

+8
Original file line numberDiff line numberDiff line change
@@ -670,6 +670,10 @@ public enum KeywordFields implements AtlanSearchableField {
670670
/** TBC */
671671
PARAMS("params"),
672672
/** TBC */
673+
PARENT_COLUMN_NAME("parentColumnName.keyword"),
674+
/** TBC */
675+
PARENT_COLUMN_QUALIFIED_NAME("parentColumnQualifiedName"),
676+
/** TBC */
673677
PARENT_QUALIFIED_NAME("parentQualifiedName"),
674678
/** TBC */
675679
PARTITION_LIST("partitionList"),
@@ -832,6 +836,8 @@ public enum KeywordFields implements AtlanSearchableField {
832836
/** TBC */
833837
QUICK_SIGHT_SHEET_NAME("quickSightSheetName.keyword"),
834838
/** TBC */
839+
RAW_DATA_TYPE_DEFINITION("rawDataTypeDefinition"),
840+
/** TBC */
835841
RAW_QUERY("rawQuery"),
836842
/** Name of the query from which the visualization was created. */
837843
REDASH_QUERY_NAME("redashQueryName.keyword"),
@@ -983,6 +989,8 @@ public enum KeywordFields implements AtlanSearchableField {
983989
SQL_TABLE_NAME("sqlTableName"),
984990
/** TBC */
985991
STALENESS("staleness"),
992+
/** TBC */
993+
STARRED_BY("starredBy"),
986994
/** Asset status in Atlan (active vs deleted). */
987995
STATE("__state"),
988996
/** TBC */

src/main/java/com/atlan/model/enums/NumericFields.java

+6
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ public enum NumericFields implements AtlanSearchableField {
3939
COLUMN_AVERAGE_LENGTH("columnAverageLength"),
4040
/** Number of columns in this materialized view. */
4141
COLUMN_COUNT("columnCount"),
42+
/** Level of nesting, used for STRUCT/NESTED columns */
43+
COLUMN_DEPTH_LEVEL("columnDepthLevel"),
4244
/** Number of rows that contain distinct values. */
4345
COLUMN_DISTINCT_VALUES_COUNT("columnDistinctValuesCount"),
4446
/** TBC */
@@ -175,6 +177,8 @@ public enum NumericFields implements AtlanSearchableField {
175177
MODE_REPORT_PUBLISHED_AT("modeReportPublishedAt"),
176178
/** Time (in milliseconds) when the asset was last updated. */
177179
MODIFICATION_TIMESTAMP("__modificationTimestamp"),
180+
/** TBC */
181+
NESTED_COLUMN_COUNT("nestedColumnCount"),
178182
/** Number of digits allowed to the right of the decimal point. */
179183
NUMERIC_SCALE("numericScale"),
180184
/** TBC */
@@ -230,6 +234,8 @@ public enum NumericFields implements AtlanSearchableField {
230234
/** TBC */
231235
QUERY_ID("queryID"),
232236
/** TBC */
237+
QUERY_TIMEOUT("queryTimeout"),
238+
/** TBC */
233239
QUERY_USER_COUNT("queryUserCount"),
234240
/** TBC */
235241
QUICK_SIGHT_DASHBOARD_LAST_PUBLISHED_TIME("quickSightDashboardLastPublishedTime"),

src/main/java/com/atlan/model/enums/TextFields.java

+4
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,10 @@ public enum TextFields implements AtlanSearchableField {
234234
/** Human-readable name of the asset. */
235235
NAME("name"),
236236
/** TBC */
237+
PARENT_COLUMN_NAME("parentColumnName"),
238+
/** TBC */
239+
PARENT_COLUMN_QUALIFIED_NAME("parentColumnQualifiedName.text"),
240+
/** TBC */
237241
PARENT_QUALIFIED_NAME("parentQualifiedName.text"),
238242
/** TBC */
239243
POWER_BI_MEASURE_EXPRESSION("powerBIMeasureExpression"),

0 commit comments

Comments
 (0)