Skip to content

Commit 8a8650a

Browse files
committed
solved binary compatibility issues
1 parent 33ab8ca commit 8a8650a

File tree

5 files changed

+187
-17
lines changed

5 files changed

+187
-17
lines changed

core/api/core.api

Lines changed: 51 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,10 @@ public abstract interface class org/jetbrains/kotlinx/dataframe/DataColumn : org
249249
public final class org/jetbrains/kotlinx/dataframe/DataColumn$Companion {
250250
public final fun create (Ljava/lang/String;Ljava/util/List;Lkotlin/reflect/KType;Lorg/jetbrains/kotlinx/dataframe/api/Infer;)Lorg/jetbrains/kotlinx/dataframe/DataColumn;
251251
public static synthetic fun create$default (Lorg/jetbrains/kotlinx/dataframe/DataColumn$Companion;Ljava/lang/String;Ljava/util/List;Lkotlin/reflect/KType;Lorg/jetbrains/kotlinx/dataframe/api/Infer;ILjava/lang/Object;)Lorg/jetbrains/kotlinx/dataframe/DataColumn;
252+
public final fun createByInference (Ljava/lang/String;Ljava/util/List;Lorg/jetbrains/kotlinx/dataframe/columns/TypeSuggestion;Ljava/lang/Boolean;)Lorg/jetbrains/kotlinx/dataframe/DataColumn;
253+
public static synthetic fun createByInference$default (Lorg/jetbrains/kotlinx/dataframe/DataColumn$Companion;Ljava/lang/String;Ljava/util/List;Lorg/jetbrains/kotlinx/dataframe/columns/TypeSuggestion;Ljava/lang/Boolean;ILjava/lang/Object;)Lorg/jetbrains/kotlinx/dataframe/DataColumn;
254+
public final fun createByType (Ljava/lang/String;Ljava/util/List;Lkotlin/reflect/KType;Lorg/jetbrains/kotlinx/dataframe/api/Infer;)Lorg/jetbrains/kotlinx/dataframe/DataColumn;
255+
public static synthetic fun createByType$default (Lorg/jetbrains/kotlinx/dataframe/DataColumn$Companion;Ljava/lang/String;Ljava/util/List;Lkotlin/reflect/KType;Lorg/jetbrains/kotlinx/dataframe/api/Infer;ILjava/lang/Object;)Lorg/jetbrains/kotlinx/dataframe/DataColumn;
252256
public final fun createColumnGroup (Ljava/lang/String;Lorg/jetbrains/kotlinx/dataframe/DataFrame;)Lorg/jetbrains/kotlinx/dataframe/columns/ColumnGroup;
253257
public final fun createFrameColumn (Ljava/lang/String;Ljava/util/List;Lkotlin/Lazy;)Lorg/jetbrains/kotlinx/dataframe/columns/FrameColumn;
254258
public final fun createFrameColumn (Ljava/lang/String;Lorg/jetbrains/kotlinx/dataframe/DataFrame;Ljava/lang/Iterable;)Lorg/jetbrains/kotlinx/dataframe/columns/FrameColumn;
@@ -4150,6 +4154,7 @@ public final class org/jetbrains/kotlinx/dataframe/api/DataColumnTypeKt {
41504154

41514155
public final class org/jetbrains/kotlinx/dataframe/api/DataFrameBuilder {
41524156
public fun <init> (Ljava/util/List;)V
4157+
public final fun fill (ILorg/jetbrains/kotlinx/dataframe/DataFrame;)Lorg/jetbrains/kotlinx/dataframe/DataFrame;
41534158
public final fun invoke (Ljava/lang/Iterable;)Lorg/jetbrains/kotlinx/dataframe/DataFrame;
41544159
public final fun invoke (Lkotlin/sequences/Sequence;)Lorg/jetbrains/kotlinx/dataframe/DataFrame;
41554160
public final fun invoke ([Ljava/lang/Object;)Lorg/jetbrains/kotlinx/dataframe/DataFrame;
@@ -9590,6 +9595,43 @@ public final class org/jetbrains/kotlinx/dataframe/columns/SingleColumnKt {
95909595
public static final fun isSingleColumnWithGroup (Lorg/jetbrains/kotlinx/dataframe/columns/ColumnsResolver;Ljava/util/List;)Z
95919596
}
95929597

9598+
public abstract interface class org/jetbrains/kotlinx/dataframe/columns/TypeSuggestion {
9599+
public static final field Companion Lorg/jetbrains/kotlinx/dataframe/columns/TypeSuggestion$Companion;
9600+
}
9601+
9602+
public final class org/jetbrains/kotlinx/dataframe/columns/TypeSuggestion$Companion {
9603+
public final fun create (Lkotlin/reflect/KType;Z)Lorg/jetbrains/kotlinx/dataframe/columns/TypeSuggestion;
9604+
}
9605+
9606+
public final class org/jetbrains/kotlinx/dataframe/columns/TypeSuggestion$Infer : org/jetbrains/kotlinx/dataframe/columns/TypeSuggestion {
9607+
public static final field INSTANCE Lorg/jetbrains/kotlinx/dataframe/columns/TypeSuggestion$Infer;
9608+
public fun equals (Ljava/lang/Object;)Z
9609+
public fun hashCode ()I
9610+
public fun toString ()Ljava/lang/String;
9611+
}
9612+
9613+
public final class org/jetbrains/kotlinx/dataframe/columns/TypeSuggestion$InferWithUpperbound : org/jetbrains/kotlinx/dataframe/columns/TypeSuggestion {
9614+
public fun <init> (Lkotlin/reflect/KType;)V
9615+
public final fun component1 ()Lkotlin/reflect/KType;
9616+
public final fun copy (Lkotlin/reflect/KType;)Lorg/jetbrains/kotlinx/dataframe/columns/TypeSuggestion$InferWithUpperbound;
9617+
public static synthetic fun copy$default (Lorg/jetbrains/kotlinx/dataframe/columns/TypeSuggestion$InferWithUpperbound;Lkotlin/reflect/KType;ILjava/lang/Object;)Lorg/jetbrains/kotlinx/dataframe/columns/TypeSuggestion$InferWithUpperbound;
9618+
public fun equals (Ljava/lang/Object;)Z
9619+
public final fun getUpperbound ()Lkotlin/reflect/KType;
9620+
public fun hashCode ()I
9621+
public fun toString ()Ljava/lang/String;
9622+
}
9623+
9624+
public final class org/jetbrains/kotlinx/dataframe/columns/TypeSuggestion$Use : org/jetbrains/kotlinx/dataframe/columns/TypeSuggestion {
9625+
public fun <init> (Lkotlin/reflect/KType;)V
9626+
public final fun component1 ()Lkotlin/reflect/KType;
9627+
public final fun copy (Lkotlin/reflect/KType;)Lorg/jetbrains/kotlinx/dataframe/columns/TypeSuggestion$Use;
9628+
public static synthetic fun copy$default (Lorg/jetbrains/kotlinx/dataframe/columns/TypeSuggestion$Use;Lkotlin/reflect/KType;ILjava/lang/Object;)Lorg/jetbrains/kotlinx/dataframe/columns/TypeSuggestion$Use;
9629+
public fun equals (Ljava/lang/Object;)Z
9630+
public final fun getType ()Lkotlin/reflect/KType;
9631+
public fun hashCode ()I
9632+
public fun toString ()Ljava/lang/String;
9633+
}
9634+
95939635
public abstract interface class org/jetbrains/kotlinx/dataframe/columns/ValueColumn : org/jetbrains/kotlinx/dataframe/DataColumn {
95949636
public abstract fun distinct ()Lorg/jetbrains/kotlinx/dataframe/columns/ValueColumn;
95959637
public abstract fun get (Ljava/lang/Iterable;)Lorg/jetbrains/kotlinx/dataframe/columns/ValueColumn;
@@ -9913,8 +9955,10 @@ public final class org/jetbrains/kotlinx/dataframe/impl/ExceptionUtilsKt {
99139955

99149956
public final class org/jetbrains/kotlinx/dataframe/impl/TypeUtilsKt {
99159957
public static final fun getValuesType (Ljava/util/List;Lkotlin/reflect/KType;Lorg/jetbrains/kotlinx/dataframe/api/Infer;)Lkotlin/reflect/KType;
9916-
public static final fun guessValueType (Lkotlin/sequences/Sequence;Lkotlin/reflect/KType;Z)Lkotlin/reflect/KType;
9958+
public static final synthetic fun guessValueType (Lkotlin/sequences/Sequence;Lkotlin/reflect/KType;Z)Lkotlin/reflect/KType;
9959+
public static final fun guessValueType (Lkotlin/sequences/Sequence;Lkotlin/reflect/KType;ZZ)Lkotlin/reflect/KType;
99179960
public static synthetic fun guessValueType$default (Lkotlin/sequences/Sequence;Lkotlin/reflect/KType;ZILjava/lang/Object;)Lkotlin/reflect/KType;
9961+
public static synthetic fun guessValueType$default (Lkotlin/sequences/Sequence;Lkotlin/reflect/KType;ZZILjava/lang/Object;)Lkotlin/reflect/KType;
99189962
public static final fun replaceGenericTypeParametersWithUpperbound (Lkotlin/reflect/KType;)Lkotlin/reflect/KType;
99199963
}
99209964

@@ -10121,9 +10165,13 @@ public final class org/jetbrains/kotlinx/dataframe/impl/columns/ComputedColumnRe
1012110165
}
1012210166

1012310167
public final class org/jetbrains/kotlinx/dataframe/impl/columns/ConstructorsKt {
10124-
public static final fun createColumn (Ljava/lang/Iterable;Lkotlin/reflect/KType;Z)Lorg/jetbrains/kotlinx/dataframe/DataColumn;
10168+
public static final synthetic fun createColumn (Ljava/lang/Iterable;Lkotlin/reflect/KType;Z)Lorg/jetbrains/kotlinx/dataframe/DataColumn;
1012510169
public static synthetic fun createColumn$default (Ljava/lang/Iterable;Lkotlin/reflect/KType;ZILjava/lang/Object;)Lorg/jetbrains/kotlinx/dataframe/DataColumn;
10126-
public static final fun guessColumnType (Ljava/lang/String;Ljava/util/List;Lkotlin/reflect/KType;ZLjava/lang/Object;Ljava/lang/Boolean;)Lorg/jetbrains/kotlinx/dataframe/DataColumn;
10170+
public static final fun createColumnGuessingType (Ljava/lang/Iterable;Lorg/jetbrains/kotlinx/dataframe/columns/TypeSuggestion;Ljava/lang/Object;Ljava/lang/Boolean;ZZ)Lorg/jetbrains/kotlinx/dataframe/DataColumn;
10171+
public static final fun createColumnGuessingType (Ljava/lang/String;Ljava/lang/Iterable;Lorg/jetbrains/kotlinx/dataframe/columns/TypeSuggestion;Ljava/lang/Object;Ljava/lang/Boolean;ZZ)Lorg/jetbrains/kotlinx/dataframe/DataColumn;
10172+
public static synthetic fun createColumnGuessingType$default (Ljava/lang/Iterable;Lorg/jetbrains/kotlinx/dataframe/columns/TypeSuggestion;Ljava/lang/Object;Ljava/lang/Boolean;ZZILjava/lang/Object;)Lorg/jetbrains/kotlinx/dataframe/DataColumn;
10173+
public static synthetic fun createColumnGuessingType$default (Ljava/lang/String;Ljava/lang/Iterable;Lorg/jetbrains/kotlinx/dataframe/columns/TypeSuggestion;Ljava/lang/Object;Ljava/lang/Boolean;ZZILjava/lang/Object;)Lorg/jetbrains/kotlinx/dataframe/DataColumn;
10174+
public static final synthetic fun guessColumnType (Ljava/lang/String;Ljava/util/List;Lkotlin/reflect/KType;ZLjava/lang/Object;Ljava/lang/Boolean;)Lorg/jetbrains/kotlinx/dataframe/DataColumn;
1012710175
public static synthetic fun guessColumnType$default (Ljava/lang/String;Ljava/util/List;Lkotlin/reflect/KType;ZLjava/lang/Object;Ljava/lang/Boolean;ILjava/lang/Object;)Lorg/jetbrains/kotlinx/dataframe/DataColumn;
1012810176
public static final fun newColumn (Lorg/jetbrains/kotlinx/dataframe/ColumnsContainer;Lkotlin/reflect/KType;Ljava/lang/String;Lorg/jetbrains/kotlinx/dataframe/api/Infer;Lkotlin/jvm/functions/Function2;)Lorg/jetbrains/kotlinx/dataframe/DataColumn;
1012910177
public static synthetic fun newColumn$default (Lorg/jetbrains/kotlinx/dataframe/ColumnsContainer;Lkotlin/reflect/KType;Ljava/lang/String;Lorg/jetbrains/kotlinx/dataframe/api/Infer;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lorg/jetbrains/kotlinx/dataframe/DataColumn;

core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/DataColumn.kt

Lines changed: 69 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import org.jetbrains.kotlinx.dataframe.api.cast
66
import org.jetbrains.kotlinx.dataframe.api.concat
77
import org.jetbrains.kotlinx.dataframe.api.filter
88
import org.jetbrains.kotlinx.dataframe.api.map
9-
import org.jetbrains.kotlinx.dataframe.api.schema
109
import org.jetbrains.kotlinx.dataframe.api.take
1110
import org.jetbrains.kotlinx.dataframe.columns.BaseColumn
1211
import org.jetbrains.kotlinx.dataframe.columns.ColumnGroup
@@ -17,18 +16,26 @@ import org.jetbrains.kotlinx.dataframe.columns.ColumnWithPath
1716
import org.jetbrains.kotlinx.dataframe.columns.FrameColumn
1817
import org.jetbrains.kotlinx.dataframe.columns.TypeSuggestion
1918
import org.jetbrains.kotlinx.dataframe.columns.ValueColumn
19+
import org.jetbrains.kotlinx.dataframe.impl.api.chunkedImpl
2020
import org.jetbrains.kotlinx.dataframe.impl.columns.ColumnGroupImpl
2121
import org.jetbrains.kotlinx.dataframe.impl.columns.FrameColumnImpl
2222
import org.jetbrains.kotlinx.dataframe.impl.columns.ValueColumnImpl
2323
import org.jetbrains.kotlinx.dataframe.impl.columns.addPath
2424
import org.jetbrains.kotlinx.dataframe.impl.columns.createColumnGuessingType
2525
import org.jetbrains.kotlinx.dataframe.impl.columns.toColumnKind
2626
import org.jetbrains.kotlinx.dataframe.impl.getValuesType
27-
import org.jetbrains.kotlinx.dataframe.impl.splitByIndices
2827
import org.jetbrains.kotlinx.dataframe.schema.DataFrameSchema
28+
import org.jetbrains.kotlinx.dataframe.util.CHUNKED_IMPL_IMPORT
29+
import org.jetbrains.kotlinx.dataframe.util.CREATE
30+
import org.jetbrains.kotlinx.dataframe.util.CREATE_BY_INFERENCE_IMPORT
31+
import org.jetbrains.kotlinx.dataframe.util.CREATE_BY_TYPE_IMPORT
2932
import org.jetbrains.kotlinx.dataframe.util.CREATE_FRAME_COLUMN
30-
import org.jetbrains.kotlinx.dataframe.util.CREATE_FRAME_COLUMN_IMPORT
3133
import org.jetbrains.kotlinx.dataframe.util.CREATE_FRAME_COLUMN_REPLACE
34+
import org.jetbrains.kotlinx.dataframe.util.CREATE_INLINE_REPLACE
35+
import org.jetbrains.kotlinx.dataframe.util.CREATE_REPLACE
36+
import org.jetbrains.kotlinx.dataframe.util.CREATE_WITH_TYPE_INFERENCE
37+
import org.jetbrains.kotlinx.dataframe.util.CREATE_WITH_TYPE_INFERENCE_REPLACE
38+
import org.jetbrains.kotlinx.dataframe.util.TYPE_SUGGESTION_IMPORT
3239
import kotlin.reflect.KClass
3340
import kotlin.reflect.KProperty
3441
import kotlin.reflect.KType
@@ -103,14 +110,6 @@ public interface DataColumn<out T> : BaseColumn<T> {
103110
*/
104111
public fun <T> createColumnGroup(name: String, df: DataFrame<T>): ColumnGroup<T> = ColumnGroupImpl(name, df)
105112

106-
@Deprecated(
107-
message = CREATE_FRAME_COLUMN,
108-
replaceWith = ReplaceWith(CREATE_FRAME_COLUMN_REPLACE, CREATE_FRAME_COLUMN_IMPORT),
109-
level = DeprecationLevel.WARNING,
110-
)
111-
public fun <T> createFrameColumn(name: String, df: DataFrame<T>, startIndices: Iterable<Int>): FrameColumn<T> =
112-
FrameColumnImpl(name, df.splitByIndices(startIndices.asSequence()).toList(), lazy { df.schema() })
113-
114113
/**
115114
* Creates [FrameColumn] using the given [name] and list of dataframes [groups].
116115
*
@@ -219,6 +218,65 @@ public interface DataColumn<out T> : BaseColumn<T> {
219218

220219
/** Creates an empty [DataColumn] with given [name]. */
221220
public fun empty(name: String = ""): AnyCol = createValueColumn(name, emptyList<Unit>(), typeOf<Unit>())
221+
222+
// region deprecated
223+
224+
@Deprecated(
225+
message = CREATE_FRAME_COLUMN,
226+
replaceWith = ReplaceWith(CREATE_FRAME_COLUMN_REPLACE, CHUNKED_IMPL_IMPORT),
227+
level = DeprecationLevel.WARNING,
228+
)
229+
public fun <T> createFrameColumn(name: String, df: DataFrame<T>, startIndices: Iterable<Int>): FrameColumn<T> =
230+
df.chunkedImpl(startIndices = startIndices, name = name)
231+
232+
@Deprecated(
233+
message = CREATE_WITH_TYPE_INFERENCE,
234+
replaceWith = ReplaceWith(
235+
CREATE_WITH_TYPE_INFERENCE_REPLACE,
236+
CREATE_BY_INFERENCE_IMPORT,
237+
TYPE_SUGGESTION_IMPORT,
238+
),
239+
level = DeprecationLevel.WARNING,
240+
)
241+
public fun <T> createWithTypeInference(
242+
name: String,
243+
values: List<T>,
244+
nullable: Boolean? = null,
245+
): DataColumn<T> =
246+
createByInference(
247+
name = name,
248+
values = values,
249+
suggestedType = TypeSuggestion.Infer,
250+
nullable = nullable,
251+
)
252+
253+
@Deprecated(
254+
message = CREATE,
255+
replaceWith = ReplaceWith(CREATE_REPLACE, CREATE_BY_TYPE_IMPORT),
256+
level = DeprecationLevel.WARNING,
257+
)
258+
public fun <T> create(
259+
name: String,
260+
values: List<T>,
261+
type: KType,
262+
infer: Infer = Infer.None,
263+
): DataColumn<T> =
264+
createByType(
265+
name = name,
266+
values = values,
267+
type = type,
268+
infer = infer,
269+
)
270+
271+
@Deprecated(
272+
message = CREATE,
273+
replaceWith = ReplaceWith(CREATE_INLINE_REPLACE, CREATE_BY_TYPE_IMPORT),
274+
level = DeprecationLevel.WARNING,
275+
)
276+
public inline fun <reified T> create(name: String, values: List<T>, infer: Infer = Infer.None): DataColumn<T> =
277+
createByType(name = name, values = values, type = typeOf<T>(), infer = infer)
278+
279+
// endregion
222280
}
223281

224282
public fun hasNulls(): Boolean = type().isMarkedNullable

core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/impl/TypeUtils.kt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import org.jetbrains.kotlinx.dataframe.DataFrame
1010
import org.jetbrains.kotlinx.dataframe.DataRow
1111
import org.jetbrains.kotlinx.dataframe.api.Infer
1212
import org.jetbrains.kotlinx.dataframe.impl.columns.createColumnGuessingType
13+
import org.jetbrains.kotlinx.dataframe.util.GUESS_VALUE_TYPE
1314
import kotlin.reflect.KClass
1415
import kotlin.reflect.KType
1516
import kotlin.reflect.KTypeParameter
@@ -385,6 +386,12 @@ internal fun <T> getValuesType(values: List<T>, type: KType, infer: Infer): KTyp
385386
Infer.None -> type
386387
}
387388

389+
/** Just for binary compatibility, as it's @PublishedApi. */
390+
@Deprecated(GUESS_VALUE_TYPE, level = DeprecationLevel.HIDDEN)
391+
@PublishedApi
392+
internal fun guessValueType(values: Sequence<Any?>, upperBound: KType? = null, listifyValues: Boolean = false): KType =
393+
guessValueType(values = values, upperBound = upperBound, listifyValues = listifyValues, allColsMakesRow = false)
394+
388395
/**
389396
* Returns the guessed value type of the given [values] sequence.
390397
*

core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/impl/columns/constructors.kt

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ import org.jetbrains.kotlinx.dataframe.impl.guessValueType
3838
import org.jetbrains.kotlinx.dataframe.impl.replaceGenericTypeParametersWithUpperbound
3939
import org.jetbrains.kotlinx.dataframe.index
4040
import org.jetbrains.kotlinx.dataframe.nrow
41+
import org.jetbrains.kotlinx.dataframe.util.CREATE_COLUMN
42+
import org.jetbrains.kotlinx.dataframe.util.GUESS_COLUMN_TYPE
4143
import kotlin.reflect.KClass
4244
import kotlin.reflect.KType
4345
import kotlin.reflect.full.withNullability
@@ -318,3 +320,39 @@ internal fun <T> createColumnGuessingType(
318320
)
319321
}
320322
}
323+
324+
// region deprecated
325+
326+
/** Just for binary compatibility, since it's @PublishedApi. */
327+
@Deprecated(CREATE_COLUMN, level = DeprecationLevel.HIDDEN)
328+
@Suppress("UNCHECKED_CAST")
329+
@PublishedApi
330+
internal fun <T> createColumn(values: Iterable<T>, suggestedType: KType, guessType: Boolean = false): DataColumn<T> =
331+
createColumnGuessingType(
332+
values = values,
333+
suggestedType = TypeSuggestion.create(suggestedType, guessType),
334+
allColsMakesColGroup = true,
335+
)
336+
337+
/** Just for binary compatibility, since it's @PublishedApi. */
338+
@Deprecated(GUESS_COLUMN_TYPE, level = DeprecationLevel.HIDDEN)
339+
@PublishedApi
340+
internal fun <T> guessColumnType(
341+
name: String,
342+
values: List<T>,
343+
suggestedType: KType? = null,
344+
suggestedTypeIsUpperBound: Boolean = false,
345+
defaultValue: T? = null,
346+
nullable: Boolean? = null,
347+
): DataColumn<T> =
348+
createColumnGuessingType(
349+
name = name,
350+
values = values,
351+
suggestedType = TypeSuggestion.create(suggestedType, suggestedTypeIsUpperBound),
352+
defaultValue = defaultValue,
353+
nullable = nullable,
354+
listifyValues = false,
355+
allColsMakesColGroup = false,
356+
)
357+
358+
// endregion

core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/util/deprecationMessages.kt

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,28 @@ internal const val DF_READ_NO_CSV = "This function is deprecated and should be r
1515
internal const val DF_READ_NO_CSV_REPLACE =
1616
"this.readCSV(fileOrUrl, delimiter, header, colTypes, skipLines, readLines, duplicate, charset)"
1717

18-
internal const val CREATE_FRAME_COLUMN = "Replaced by df.chunked(). $MESSAGE_0_16"
19-
internal const val CREATE_FRAME_COLUMN_REPLACE = "df.chunked(startIndices, name)"
20-
internal const val CREATE_FRAME_COLUMN_IMPORT = "org.jetbrains.kotlinx.dataframe.api.chunked"
18+
internal const val CREATE_FRAME_COLUMN =
19+
"Removed from public API as this can likely better be solved by `DataFrame.chunked()`. Replaced by internal df.chunkedImpl(). $MESSAGE_0_16"
20+
internal const val CREATE_FRAME_COLUMN_REPLACE = "df.chunkedImpl(startIndices, name)"
21+
internal const val CHUNKED_IMPL_IMPORT = "org.jetbrains.kotlinx.dataframe.impl.api.chunkedImpl"
22+
23+
internal const val CREATE_WITH_TYPE_INFERENCE =
24+
"This function is deprecated and should be replaced by `createByInference()`. $MESSAGE_0_16"
25+
internal const val CREATE_WITH_TYPE_INFERENCE_REPLACE =
26+
"createByInference(name, values, TypeSuggestion.Infer, nullable)"
27+
internal const val CREATE_BY_INFERENCE_IMPORT = "org.jetbrains.kotlinx.dataframe.DataColumn.Companion.createByInference"
28+
internal const val TYPE_SUGGESTION_IMPORT = "org.jetbrains.kotlinx.dataframe.columns.TypeSuggestion"
29+
30+
internal const val CREATE = "This function is deprecated and should be replaced by `createByType()`. $MESSAGE_0_16"
31+
internal const val CREATE_REPLACE = "createByType(name, values, type, infer)"
32+
internal const val CREATE_INLINE_REPLACE = "createByType(name, values, infer)"
33+
internal const val CREATE_BY_TYPE_IMPORT = "org.jetbrains.kotlinx.dataframe.DataColumn.Companion.createByType"
34+
35+
internal const val GUESS_VALUE_TYPE = "This function is just here for binary compatibility. $MESSAGE_0_16"
36+
37+
internal const val CREATE_COLUMN = "This function is just here for binary compatibility. $MESSAGE_0_16"
38+
39+
internal const val GUESS_COLUMN_TYPE = "This function is just here for binary compatibility. $MESSAGE_0_16"
2140

2241
// endregion
2342

0 commit comments

Comments
 (0)