@@ -11,6 +11,7 @@ import org.jetbrains.kotlinx.dataframe.columns.ColumnPath
11
11
import org.jetbrains.kotlinx.dataframe.columns.ColumnReference
12
12
import org.jetbrains.kotlinx.dataframe.columns.FrameColumn
13
13
import org.jetbrains.kotlinx.dataframe.impl.columns.getColumn
14
+ import org.jetbrains.kotlinx.dataframe.util.DEPRECATED_ACCESS_API
14
15
import kotlin.reflect.KProperty
15
16
16
17
/* * [Column Selection DSL][ColumnSelectionDsl] */
@@ -71,29 +72,23 @@ public interface ColumnSelectionDsl<out T> : ColumnsContainer<T> {
71
72
* @include [CommonKPropertyInvokeDocs]
72
73
* @return The [DataColumn] this [KProperty Accessor][KProperty] points to.
73
74
*/
74
- @Deprecated(
75
- " Recommended to migrate to use String or Extension properties API https://kotlin.github.io/dataframe/apilevels.html" ,
76
- )
75
+ @Deprecated(DEPRECATED_ACCESS_API )
77
76
@AccessApiOverload
78
77
public operator fun <T > KProperty<T>.invoke (): DataColumn <T > = this @ColumnSelectionDsl[this ]
79
78
80
79
/* *
81
80
* @include [CommonKPropertyInvokeDocs]
82
81
* @return The [ColumnGroup] this [KProperty Accessor][KProperty] points to.
83
82
*/
84
- @Deprecated(
85
- " Recommended to migrate to use String or Extension properties API https://kotlin.github.io/dataframe/apilevels.html" ,
86
- )
83
+ @Deprecated(DEPRECATED_ACCESS_API )
87
84
@AccessApiOverload
88
85
public operator fun <T > KProperty<DataRow<T>>.invoke (): ColumnGroup <T > = this @ColumnSelectionDsl[this ]
89
86
90
87
/* *
91
88
* @include [CommonKPropertyInvokeDocs]
92
89
* @return The [FrameColumn] this [KProperty Accessor][KProperty] points to.
93
90
*/
94
- @Deprecated(
95
- " Recommended to migrate to use String or Extension properties API https://kotlin.github.io/dataframe/apilevels.html" ,
96
- )
91
+ @Deprecated(DEPRECATED_ACCESS_API )
97
92
@AccessApiOverload
98
93
public operator fun <T > KProperty<DataFrame<T>>.invoke (): FrameColumn <T > = this @ColumnSelectionDsl[this ]
99
94
@@ -118,9 +113,7 @@ public interface ColumnSelectionDsl<out T> : ColumnsContainer<T> {
118
113
*/
119
114
@Suppress(" INAPPLICABLE_JVM_NAME" )
120
115
@JvmName(" KPropertyDataRowGet" )
121
- @Deprecated(
122
- " Recommended to migrate to use String or Extension properties API https://kotlin.github.io/dataframe/apilevels.html" ,
123
- )
116
+ @Deprecated(DEPRECATED_ACCESS_API )
124
117
@AccessApiOverload
125
118
public operator fun <T , R > KProperty<DataRow<T>>.get (column : KProperty <R >): DataColumn <R > = invoke()[column]
126
119
@@ -130,9 +123,7 @@ public interface ColumnSelectionDsl<out T> : ColumnsContainer<T> {
130
123
*/
131
124
@Suppress(" INAPPLICABLE_JVM_NAME" )
132
125
@JvmName(" KPropertyDataRowGet" )
133
- @Deprecated(
134
- " Recommended to migrate to use String or Extension properties API https://kotlin.github.io/dataframe/apilevels.html" ,
135
- )
126
+ @Deprecated(DEPRECATED_ACCESS_API )
136
127
@AccessApiOverload
137
128
public operator fun <T , R > KProperty<DataRow<T>>.get (column : KProperty <DataRow <R >>): ColumnGroup <R > =
138
129
invoke()[column]
@@ -143,9 +134,7 @@ public interface ColumnSelectionDsl<out T> : ColumnsContainer<T> {
143
134
*/
144
135
@Suppress(" INAPPLICABLE_JVM_NAME" )
145
136
@JvmName(" KPropertyDataRowGet" )
146
- @Deprecated(
147
- " Recommended to migrate to use String or Extension properties API https://kotlin.github.io/dataframe/apilevels.html" ,
148
- )
137
+ @Deprecated(DEPRECATED_ACCESS_API )
149
138
@AccessApiOverload
150
139
public operator fun <T , R > KProperty<DataRow<T>>.get (column : KProperty <DataFrame <R >>): FrameColumn <R > =
151
140
invoke()[column]
@@ -154,19 +143,15 @@ public interface ColumnSelectionDsl<out T> : ColumnsContainer<T> {
154
143
* @include [CommonKPropertyGetDocs]
155
144
* @return The [DataColumn] these [KProperty Accessors][KProperty] point to.
156
145
*/
157
- @Deprecated(
158
- " Recommended to migrate to use String or Extension properties API https://kotlin.github.io/dataframe/apilevels.html" ,
159
- )
146
+ @Deprecated(DEPRECATED_ACCESS_API )
160
147
@AccessApiOverload
161
148
public operator fun <T , R > KProperty<T>.get (column : KProperty <R >): DataColumn <R > = invoke().asColumnGroup()[column]
162
149
163
150
/* *
164
151
* @include [CommonKPropertyGetDocs]
165
152
* @return The [ColumnGroup] these [KProperty Accessors][KProperty] point to.
166
153
*/
167
- @Deprecated(
168
- " Recommended to migrate to use String or Extension properties API https://kotlin.github.io/dataframe/apilevels.html" ,
169
- )
154
+ @Deprecated(DEPRECATED_ACCESS_API )
170
155
@AccessApiOverload
171
156
public operator fun <T , R > KProperty<T>.get (column : KProperty <DataRow <R >>): ColumnGroup <R > =
172
157
invoke().asColumnGroup()[column]
@@ -175,9 +160,7 @@ public interface ColumnSelectionDsl<out T> : ColumnsContainer<T> {
175
160
* @include [CommonKPropertyGetDocs]
176
161
* @return The [FrameColumn] these [KProperty Accessors][KProperty] point to.
177
162
*/
178
- @Deprecated(
179
- " Recommended to migrate to use String or Extension properties API https://kotlin.github.io/dataframe/apilevels.html" ,
180
- )
163
+ @Deprecated(DEPRECATED_ACCESS_API )
181
164
@AccessApiOverload
182
165
public operator fun <T , R > KProperty<T>.get (column : KProperty <DataFrame <R >>): FrameColumn <R > =
183
166
invoke().asColumnGroup()[column]
0 commit comments