Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import org.jetbrains.kotlinx.dataframe.impl.columnName
import org.jetbrains.kotlinx.dataframe.impl.owner
import org.jetbrains.kotlinx.dataframe.impl.toIterable
import org.jetbrains.kotlinx.dataframe.util.DEPRECATED_ACCESS_API
import org.jetbrains.kotlinx.dataframe.util.DEPRECATED_DATA_ROW_COLUMN_REFERENCE_GET
import kotlin.reflect.KProperty

/**
Expand All @@ -29,7 +30,7 @@ public interface DataRow<out T> {

public operator fun <R> get(expression: RowExpression<T, R>): R = expression(this, this)

@Deprecated(DEPRECATED_ACCESS_API)
@Deprecated(DEPRECATED_DATA_ROW_COLUMN_REFERENCE_GET)
@AccessApiOverload
public operator fun <R> get(column: ColumnReference<R>): R

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,9 @@ internal const val UNIFIED_SIMILAR_CS_API = "Deprecated duplicated functionality
internal const val DEPRECATED_ACCESS_API =
"It's recommended to migrate to the String or Extension Properties Access API https://kotlin.github.io/dataframe/apilevels.html"

internal const val DEPRECATED_DATA_ROW_COLUMN_REFERENCE_GET =
"Accessing a DataRow by ColumnReference (row[col]) is deprecated. Prefer String or extension property access (e.g., row[\"name\"] or row.name). The reverse indexing col[row] remains supported."

internal const val IDENTITY_FUNCTION = "This overload is an identity function and can be omitted."

internal const val COL_REPLACE = "col"
Expand Down