-
- All Implemented Interfaces:
-
org.jetbrains.kotlinx.dataframe.columns.ColumnReference,org.jetbrains.kotlinx.dataframe.columns.ColumnSet,org.jetbrains.kotlinx.dataframe.columns.SingleColumn
public interface BaseColumn<T extends Object> implements ColumnReference<T>
Column with type, name/path and values Base interface for all three kinds of columns: ValueColumn, ColumnGroup and FrameColumn
-
-
Method Summary
Modifier and Type Method Description abstract Integersize()abstract Integerndistinct()abstract ColumnKindkind()abstract KTypetype()abstract Tget(Integer index)BaseColumn<T>get(Integer firstIndex, Integer otherIndices)Tget(DataRow<?> row)abstract BaseColumn<T>get(IntRange range)abstract BaseColumn<T>get(Iterable<Integer> indices)abstract DataColumn<?>get(String columnName)abstract Iterable<T>values()List<T>toList()abstract TdefaultValue()abstract BaseColumn<T>distinct()abstract BaseColumn<T>rename(String newName)abstract Set<T>toSet()BaseColumn<T>getValue(Object thisRef, KProperty<?> property)-
Methods inherited from class org.jetbrains.kotlinx.dataframe.columns.BaseColumn
getValue, name, path, resolveSingle -
Methods inherited from class org.jetbrains.kotlinx.dataframe.columns.ColumnReference
resolve -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
kind
abstract ColumnKind kind()
-
get
BaseColumn<T> get(Integer firstIndex, Integer otherIndices)
-
get
abstract BaseColumn<T> get(IntRange range)
-
get
abstract BaseColumn<T> get(Iterable<Integer> indices)
-
get
abstract DataColumn<?> get(String columnName)
-
defaultValue
abstract T defaultValue()
-
distinct
abstract BaseColumn<T> distinct()
-
rename
abstract BaseColumn<T> rename(String newName)
-
getValue
BaseColumn<T> getValue(Object thisRef, KProperty<?> property)
-
-
-
-