You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: dqops/src/main/java/com/dqops/metadata/search/ColumnSearchFilters.java
+40
Original file line number
Diff line number
Diff line change
@@ -55,6 +55,10 @@ public class ColumnSearchFilters {
55
55
"The labels are assigned on the labels screen and stored in the *labels* node in the *.dqotable.yaml* file.")
56
56
privateString[] labels;
57
57
58
+
@JsonPropertyDescription("An array of labels assigned only to a column. All labels must be present on a column to match. The labels can use patterns: 'prefix\\*', '\\*suffix', 'prefix\\*suffix'. " +
59
+
"The labels are assigned on the labels screen and stored in the *labels* node in the *.dqotable.yaml* file.")
60
+
privateString[] columnLabels;
61
+
58
62
@JsonPropertyDescription("Optional limit for the maximum number of results to return.")
59
63
privateIntegermaxResults;
60
64
@@ -68,6 +72,9 @@ public class ColumnSearchFilters {
68
72
privateSearchPattern[] tagsSearchPatterns;
69
73
@JsonIgnore
70
74
privateSearchPattern[] labelsSearchPatterns;
75
+
@JsonIgnore
76
+
privateSearchPattern[] columnLabelSearchPatterns;
77
+
71
78
72
79
/**
73
80
* Create a hierarchy tree node traversal visitor that will search for nodes matching the current filter.
@@ -207,6 +214,22 @@ public void setLabels(String[] labels) {
207
214
this.labels = labels;
208
215
}
209
216
217
+
/**
218
+
* Returns a list of labels that must be present only on a column.
219
+
* @return Column level labels.
220
+
*/
221
+
publicString[] getColumnLabels() {
222
+
returncolumnLabels;
223
+
}
224
+
225
+
/**
226
+
* Sets a filter with a list of labels that must be present on a column (not a table).
0 commit comments