Package-level declarations

Types

Link copied to clipboard
interface BaseColumn<out T> : ColumnReference<T>

Column with type, name/path and values Base interface for all three kinds of columns: ValueColumn, ColumnGroup and FrameColumn. Column operations that doesn't clash by signature with DataFrame operations can be defined for BaseColumn

Link copied to clipboard
internal enum class CellKind : Enum<CellKind>

Represents special kinds of elements that can be found within a Column. This is similar to the ColumnKind, but it applies to specific elements of the Column. Its main use is to provide metadata during serialization for visualization within the KTNB plugin.

Link copied to clipboard
interface ColumnAccessor<out T> : ColumnReference<T>

Combination of column path and column type.

Link copied to clipboard
interface ColumnGroup<out T> : BaseColumn<DataRow<T>> , DataFrame<T>

Group of columns. Used to create column hierarchy in DataFrame.

Link copied to clipboard
enum class ColumnKind : Enum<ColumnKind>
Link copied to clipboard
data class ColumnPath(val path: List<String>) : List<String> , ColumnAccessor<Any?>

Path to a column in DataFrame.

Link copied to clipboard
interface ColumnReference<out C> : SingleColumn<C>

Entity that can retrieve DataColumn from DataFrame or value from DataRow.

Link copied to clipboard
class ColumnResolutionContext(val df: DataFrame<*>, val unresolvedColumnsPolicy: UnresolvedColumnsPolicy)
Link copied to clipboard
interface ColumnSet<out C> : ColumnsResolver<C>

Entity that can be resolved into a list of columns. Just like SingleColumn, this is a ColumnsResolver.

Link copied to clipboard
sealed interface ColumnsResolver<out C>

Entity that can be resolved into a list of columns.

Link copied to clipboard
interface ColumnWithPath<out T> : DataColumn<T>
Link copied to clipboard
interface FrameColumn<out T> : DataColumn<DataFrame<T>>

Column that stores values of type DataFrame

Link copied to clipboard
interface SingleColumn<out C> : ColumnsResolver<C>

Entity that can be resolved into a single DataColumn.

Link copied to clipboard
sealed interface TypeSuggestion

The suggestion of how to find a column type.

Link copied to clipboard
interface ValueColumn<out T> : DataColumn<T>

Column that stores values.

Properties

Link copied to clipboard
Link copied to clipboard
internal val AnyBaseCol.isEmpty: Boolean
Link copied to clipboard
internal val AnyBaseCol.size: Int
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
internal fun <T> dropOverlappingStartOfChild(parent: List<T>, child: List<T>): List<T>
Link copied to clipboard
internal fun ColumnPath.dropStartWrt(otherPath: ColumnPath): ColumnPath

Drops the overlapping start of the child path with respect to the parent path, and returns the resulting ColumnPath.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@JvmName(name = "toColumnSetString")
fun Array<out String>.toColumnSet(): ColumnSet<Any?>
@JvmName(name = "toColumnSetColumnPath")
fun Array<out ColumnPath>.toColumnSet(): ColumnSet<Any?>
@JvmName(name = "toColumnSetC")
fun <C> Array<out ColumnsResolver<C>>.toColumnSet(): ColumnSet<C>
@JvmName(name = "toColumnSetString")
fun Iterable<String>.toColumnSet(): ColumnSet<Any?>
@JvmName(name = "toColumnSetKProperty")
fun <C> Iterable<KProperty<C>>.toColumnSet(): ColumnSet<C>
@JvmName(name = "toColumnSetColumnPath")
fun Iterable<ColumnPath>.toColumnSet(): ColumnSet<Any?>
@JvmName(name = "toColumnSetColumnReference")
fun <C> Iterable<ColumnReference<C>>.toColumnSet(): ColumnSet<C>
@JvmName(name = "toColumnSetC")
fun <C> Iterable<ColumnsResolver<C>>.toColumnSet(): ColumnSet<C>
Link copied to clipboard