Commit a6cbad6
committed
[SPARK-53642] Improve
### What changes were proposed in this pull request?
This PR aims to improve `Javadoc` for interfaces, classes, methods, and variables as a part of v0.5 preparation.
### Why are the changes needed?
Currently, we have comments partially. We had better be consistent as much as possible.
- Fill many javadoc comments.
- Fill missing `param` descriptions.
- Fix typos.
- Unify the description style like a sentence, e.g., adding a period at the end.
After making this is a baseline, we can add and revise more in the future at every releases.
### Does this PR introduce _any_ user-facing change?
No behavior change because this is a documentation only change.
### How was this patch tested?
Pass the CIs (including building `javadoc` successfully).
### Was this patch authored or co-authored using generative AI tooling?
Yes, I asked `gemini-2.5-flash` to fill the comments first and revised.
Closes #324 from dongjoon-hyun/SPARK-53642.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>Javadoc for interfaces, classes, methods, variables1 parent 90e4777 commit a6cbad6
File tree
87 files changed
+1975
-102
lines changed- build-tools/docs-utils/src/main/java/org/apache/spark/k8s/operator/utils
- spark-operator-api/src/main/java/org/apache/spark/k8s/operator
- decorators
- diff
- spec
- status
- utils
- spark-operator/src/main/java/org/apache/spark/k8s/operator
- client
- config
- context
- decorators
- listeners
- metrics
- healthcheck
- source
- probe
- reconciler
- observers
- reconcilesteps
- utils
- spark-submission-worker/src/main/java/org/apache/spark/k8s/operator
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
87 files changed
+1975
-102
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
Lines changed: 102 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
| 27 | + | |
| 28 | + | |
26 | 29 | | |
| 30 | + | |
| 31 | + | |
27 | 32 | | |
| 33 | + | |
| 34 | + | |
28 | 35 | | |
| 36 | + | |
| 37 | + | |
29 | 38 | | |
| 39 | + | |
| 40 | + | |
30 | 41 | | |
| 42 | + | |
| 43 | + | |
31 | 44 | | |
| 45 | + | |
| 46 | + | |
32 | 47 | | |
| 48 | + | |
| 49 | + | |
33 | 50 | | |
| 51 | + | |
| 52 | + | |
34 | 53 | | |
| 54 | + | |
| 55 | + | |
35 | 56 | | |
| 57 | + | |
| 58 | + | |
36 | 59 | | |
| 60 | + | |
| 61 | + | |
37 | 62 | | |
| 63 | + | |
| 64 | + | |
38 | 65 | | |
| 66 | + | |
| 67 | + | |
39 | 68 | | |
| 69 | + | |
| 70 | + | |
40 | 71 | | |
41 | 72 | | |
| 73 | + | |
42 | 74 | | |
43 | 75 | | |
| 76 | + | |
| 77 | + | |
44 | 78 | | |
45 | 79 | | |
| 80 | + | |
| 81 | + | |
46 | 82 | | |
47 | 83 | | |
48 | 84 | | |
49 | 85 | | |
| 86 | + | |
50 | 87 | | |
| 88 | + | |
| 89 | + | |
51 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
52 | 96 | | |
53 | 97 | | |
| 98 | + | |
| 99 | + | |
54 | 100 | | |
55 | 101 | | |
| 102 | + | |
| 103 | + | |
56 | 104 | | |
57 | 105 | | |
58 | 106 | | |
| 107 | + | |
| 108 | + | |
59 | 109 | | |
60 | 110 | | |
| 111 | + | |
| 112 | + | |
61 | 113 | | |
62 | 114 | | |
63 | 115 | | |
| 116 | + | |
| 117 | + | |
64 | 118 | | |
65 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
66 | 125 | | |
67 | 126 | | |
| 127 | + | |
| 128 | + | |
68 | 129 | | |
69 | 130 | | |
70 | 131 | | |
71 | 132 | | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
72 | 138 | | |
73 | 139 | | |
74 | 140 | | |
75 | 141 | | |
| 142 | + | |
| 143 | + | |
76 | 144 | | |
| 145 | + | |
| 146 | + | |
77 | 147 | | |
| 148 | + | |
| 149 | + | |
78 | 150 | | |
79 | 151 | | |
| 152 | + | |
| 153 | + | |
80 | 154 | | |
| 155 | + | |
| 156 | + | |
81 | 157 | | |
82 | 158 | | |
| 159 | + | |
| 160 | + | |
83 | 161 | | |
84 | 162 | | |
| 163 | + | |
| 164 | + | |
85 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
86 | 171 | | |
87 | 172 | | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
88 | 178 | | |
89 | 179 | | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
90 | 185 | | |
91 | 186 | | |
92 | 187 | | |
93 | 188 | | |
| 189 | + | |
94 | 190 | | |
95 | 191 | | |
| 192 | + | |
| 193 | + | |
96 | 194 | | |
97 | 195 | | |
| 196 | + | |
| 197 | + | |
98 | 198 | | |
| 199 | + | |
| 200 | + | |
99 | 201 | | |
100 | 202 | | |
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
49 | 54 | | |
50 | 55 | | |
51 | 56 | | |
52 | 57 | | |
53 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
54 | 64 | | |
55 | 65 | | |
56 | 66 | | |
| |||
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
45 | 50 | | |
46 | 51 | | |
47 | 52 | | |
48 | 53 | | |
49 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
50 | 60 | | |
51 | 61 | | |
52 | 62 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
25 | 33 | | |
26 | 34 | | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
22 | 27 | | |
Lines changed: 14 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
73 | 77 | | |
74 | 78 | | |
75 | 79 | | |
| |||
89 | 93 | | |
90 | 94 | | |
91 | 95 | | |
92 | | - | |
| 96 | + | |
93 | 97 | | |
94 | | - | |
95 | | - | |
96 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
97 | 102 | | |
98 | 103 | | |
99 | 104 | | |
| |||
106 | 111 | | |
107 | 112 | | |
108 | 113 | | |
109 | | - | |
| 114 | + | |
110 | 115 | | |
111 | | - | |
112 | | - | |
| 116 | + | |
| 117 | + | |
113 | 118 | | |
114 | 119 | | |
115 | 120 | | |
116 | 121 | | |
117 | 122 | | |
118 | 123 | | |
119 | 124 | | |
120 | | - | |
| 125 | + | |
121 | 126 | | |
122 | | - | |
| 127 | + | |
123 | 128 | | |
124 | 129 | | |
125 | 130 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
30 | 39 | | |
31 | 40 | | |
32 | 41 | | |
| |||
0 commit comments