Table

lamp.table.Table
See theTable companion object
case class Table(columns: Vector[Column], colNames: Index[String]) extends RelationalAlgebra

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Classlikes

case class IndexMap(index: Index[String], values: Seq[Any])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def colName(i: Int): Option[String]
def colType(idx: Int): ColumnDataType
def colType(name: String): ColumnDataType
def copyToDevice[S : Sc](device: Device): Table
def device: Device
def equalDeep(other: Table): Boolean
def factorize[S : Sc](cols: Int*): (STen, Column)
def indexed(colIdx: Seq[Int], names: Seq[String]): Table
def mapCols(fun: (Column, String) => Column): Table
def numCols: Int
def numRows: Long
def pivot(col0: Int, col1: Int)(selectAndAggregate: Table => Table)(implicit scope: Scope): Table
def replaceCol(name: String, update: STen, tpe: Option[ColumnDataType]): Table
def replaceCol(idx: Int, update: STen, tpe: Option[ColumnDataType]): Table
def replaceCol(idx: Int, update: Column): Table
def rfilter(predicateOnColumns: ColumnSelection*)(predicate: IndexMap => Boolean)(implicit scope: Scope): Table
def rows[S : Sc](idx: STen): Table
def rows(idx: Int*)(implicit scope: Scope): Table
def rows(idx: Array[Int])(implicit scope: Scope): Table
def stringify(nrows: Int, ncols: Int): String
def take[S : Sc](idx: STen): Table
def take(idx: Int*)(implicit scope: Scope): Table
def take(idx: Array[Int])(implicit scope: Scope): Table
def toSTen[S : Sc]: STen
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
def withColNames(n: Index[String]): Table
def withColumns(columns: Vector[Column]): Table

Inherited methods

def apply(name: String): Column

Attributes

Inherited from:
RelationalAlgebra
def apply(idx: Int): Column

Attributes

Inherited from:
RelationalAlgebra
def bind(fn: Table => Table): Table

Attributes

Inherited from:
RelationalAlgebra
def bind(col: Column): Table

Attributes

Inherited from:
RelationalAlgebra
def bind(other: Table): Table

Attributes

Inherited from:
RelationalAlgebra
def bindWithName(col: Column, name: String): Table

Attributes

Inherited from:
RelationalAlgebra
def chunkedProduct(other: Table, chunkSize: Int): Resource[IO, List[Resource[IO, Table]]]

Attributes

Inherited from:
RelationalAlgebra
def col(name: String): Column

Attributes

Inherited from:
RelationalAlgebra
def colAt(idx: Int*): Table

Attributes

Inherited from:
RelationalAlgebra
def colAt(idx: Int): Column

Attributes

Inherited from:
RelationalAlgebra
def cols(names: String*): Table

Attributes

Inherited from:
RelationalAlgebra
def colsAt(idx: Int*): Table

Attributes

Inherited from:
RelationalAlgebra
def cross(other: Table)(implicit scope: Scope): Table

Attributes

Inherited from:
RelationalAlgebra
def distinct(implicit scope: Scope): Table

Attributes

Inherited from:
RelationalAlgebra
def equifilter[A](p: TableExpression => EquExpression[A])(implicit scope: Scope): Table

Attributes

Inherited from:
RelationalAlgebra
def equijoin[IndexType](col: ColumnSelection, other: Table, otherCol: ColumnSelection, how: JoinType)(implicit scope: Scope): Table

Attributes

Inherited from:
RelationalAlgebra
def equijoin(col: ColumnSelection, other: Column, how: JoinType)(implicit scope: Scope): Table

Attributes

Inherited from:
RelationalAlgebra
def extend(other: Column): Table

Attributes

Inherited from:
RelationalAlgebra
def extend(other: Table): Table

Attributes

Inherited from:
RelationalAlgebra
def extend(fn: Table => Table): Table

Attributes

Inherited from:
RelationalAlgebra
def filter(predicate: Column)(implicit scope: Scope): Table

Attributes

Inherited from:
RelationalAlgebra
def filter(p: Table => Column)(implicit scope: Scope): Table

Attributes

Inherited from:
RelationalAlgebra
def firstCol(name: String): Column

Attributes

Inherited from:
RelationalAlgebra
def groupBy[S : Sc](cols: ColumnSelection*): TableWithGroups

Attributes

Inherited from:
RelationalAlgebra
def join(other: Table, chunkSize: Int, parallelism: Int)(theta: Table => Column)(implicit scope: Scope): Table

Attributes

Inherited from:
RelationalAlgebra
def product(other: Table)(implicit scope: Scope): Table

Attributes

Inherited from:
RelationalAlgebra
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def project(name: String*): Table

Attributes

Inherited from:
RelationalAlgebra
def remove(s: String): Table

Attributes

Inherited from:
RelationalAlgebra
def remove(s: Int): Table

Attributes

Inherited from:
RelationalAlgebra
def remove(s: Int*): Table

Attributes

Inherited from:
RelationalAlgebra
def rename(i: Int, s: String): Table

Attributes

Inherited from:
RelationalAlgebra

Attributes

Inherited from:
RelationalAlgebra
def restrict(p: Table => Column)(implicit scope: Scope): Table

Attributes

Inherited from:
RelationalAlgebra
def restrict(predicate: Column)(implicit scope: Scope): Table

Attributes

Inherited from:
RelationalAlgebra
def select(p: Table => Column)(implicit scope: Scope): Table

Attributes

Inherited from:
RelationalAlgebra
def select(predicate: Column)(implicit scope: Scope): Table

Attributes

Inherited from:
RelationalAlgebra
def union[S : Sc](others: Table*): Table

Attributes

Inherited from:
RelationalAlgebra
def withoutCol(s: Int): Table

Attributes

Inherited from:
RelationalAlgebra
def withoutCol(s: Set[Int]): Table

Attributes

Inherited from:
RelationalAlgebra