Packages

class RelationF extends Relation

The RelationF class create a relation/data frame by extending the Relation class, and provides high order functions such as map and reduce. FIX - should extend Tabular, not Relation

Linear Supertypes
Relation, Serializable, Error, Table, Tabular, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RelationF
  2. Relation
  3. Serializable
  4. Error
  5. Table
  6. Tabular
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RelationF(name: String, colName: Seq[String], col: Vector[Vec], key: Int = 0, domain: String = null, fKeys: Seq[(String, String, Int)] = null)

    name

    the name of the relation

    colName

    the names of columns

    col

    the Scala Vector of columns making up the columnar relation

    key

    the column number for the primary key (< 0 => no primary key)

    domain

    an optional string indicating domains for columns (e.g., 'SD' = 'StrNum', 'Double')

    fKeys

    an optional sequence of foreign keys - Seq (column name, ref table name, ref column position)

Value Members

  1. def !=[T](cv: (String, T))(implicit arg0: ClassTag[T]): Relation
    Definition Classes
    Relation
  2. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  3. final def ##(): Int
    Definition Classes
    AnyRef → Any
  4. def -(r2: Table): Table

    Take the difference of 'this' table and 'r2' ('this - r2').

    Take the difference of 'this' table and 'r2' ('this - r2'). Check that the two tables are compatible.

    r2

    the other table

    Definition Classes
    Table
  5. def <[T <: Ordered[T]](cv: (String, T))(implicit arg0: ClassTag[T]): Relation
    Definition Classes
    Relation
  6. def <=[T <: Ordered[T]](cv: (String, T))(implicit arg0: ClassTag[T]): Relation
    Definition Classes
    Relation
  7. def ==[T](cv: (String, T))(implicit arg0: ClassTag[T]): Relation

    Return the relation whose rows are equal to 'value' in the column with the given name.

    Return the relation whose rows are equal to 'value' in the column with the given name.

    cv

    the (column-name, value) pair, e.g., ("time", 5.00)

    Definition Classes
    Relation
  8. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def >[T <: Ordered[T]](cv: (String, T))(implicit arg0: ClassTag[T]): Relation
    Definition Classes
    Relation
  10. def >=[T <: Ordered[T]](cv: (String, T))(implicit arg0: ClassTag[T]): Relation
    Definition Classes
    Relation
  11. def add(tuple: Row): Unit

    Add 'tuple' to 'this' relation as a new row.

    Add 'tuple' to 'this' relation as a new row. It uses 'col2' as a temp 'col' to improve performance.

    tuple

    an aggregation of columns values (new row)

    Definition Classes
    RelationTable
    Annotations
    @throws( classOf [Exception] )
  12. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  13. def avg(cName: String): Any

    Return the mean of the values in column 'cName'.

    Return the mean of the values in column 'cName'.

    cName

    the column name

    Definition Classes
    Relation
  14. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  15. var col: Vector[Vec]
    Definition Classes
    Relation
  16. def colEmpty: Boolean

    Determine whether all of the columns in the relation are empty.

    Determine whether all of the columns in the relation are empty.

    Definition Classes
    Relation
  17. val colName: Seq[String]
    Definition Classes
    Relation
  18. def colNames: Seq[String]

    Return the names of columns in the relation.

    Return the names of columns in the relation.

    Definition Classes
    RelationTable
  19. def cols: Int

    Return the size in terms of number of columns in the relation.

    Return the size in terms of number of columns in the relation.

    Definition Classes
    RelationTable
  20. def colsMap: Map[String, Int]

    Return the mapping from column names to column positions.

    Return the mapping from column names to column positions.

    Definition Classes
    RelationTable
  21. def column(cName: String): Vec

    Return the column in the relation with column name 'cName'.

    Return the column in the relation with column name 'cName'.

    cName

    column name used to retrieve the column vector

    Definition Classes
    RelationTable
  22. def columns: Vector[Vec]

    Return all of the columns in the relation.

    Return all of the columns in the relation.

    Definition Classes
    RelationTable
  23. def compress(cName: String*): Unit

    Compress the selected columns 'cName' in 'this' table.

    Compress the selected columns 'cName' in 'this' table.

    cName

    the names of the columns to be compressed

    Definition Classes
    RelationTable
  24. def contains(tuple: Row): Boolean

    Determine whether 'this' relation contains a row matching the given 'tuple'.

    Determine whether 'this' relation contains a row matching the given 'tuple'.

    tuple

    an aggregation of columns values (potential row)

    Definition Classes
    RelationTable
  25. def count(cName: String): Int

    Return the number of values in column 'cName'.

    Return the number of values in column 'cName'.

    cName

    the column name

    Definition Classes
    Relation
  26. def delete[T](p: Predicate[T]*): Relation

    Delete the rows from 'this' relation that satisfy the predicates.

    Delete the rows from 'this' relation that satisfy the predicates. FIX - handle all 24 domain types

    T

    the predicate type

    p

    tuple(1): column name, tuple(2): predicate (T => Boolean)

    Definition Classes
    RelationTable
  27. def disambiguate(cn1: Seq[String], cn2: Seq[String]): Seq[String]

    Combine two sequences of column names and disambiguate any repeated names by appending "2".

    Combine two sequences of column names and disambiguate any repeated names by appending "2".

    cn1

    the first sequence of column names

    cn2

    the second sequence of column names

    Attributes
    protected
    Definition Classes
    Table
  28. val domain: String
    Definition Classes
    Relation
  29. def domains: String

    Return the domains for the columns in the relation.

    Return the domains for the columns in the relation.

    Definition Classes
    RelationTable
  30. def epi(aggCol: AggColumn*)(cName: String*): Table

    Aggregate/project on the given columns (an extended projection operator that applies aggregate operators to aggregation columns and regular projection to projection columns).

    Aggregate/project on the given columns (an extended projection operator that applies aggregate operators to aggregation columns and regular projection to projection columns).

    aggCol

    the columns to aggregate on: (aggregate function, new column name, old column name)*

    cName

    the other columns to project on

    Definition Classes
    Table
    See also

    en.wikipedia.org/wiki/Relational_algebra

  31. def epiAny(aggF: Seq[AggFunction], funName: Seq[String], aggFAttr: Seq[String], cName: String*): Relation

    Method 'epiAny' is a special case of epi.

    Method 'epiAny' is a special case of epi. When the projected columns can not be decided by the group by columns, only one representative will be shown for each group. FIX - change name

    aggF

    the aggregate functions you want to use

    funName

    the newly created aggregate columns'names

    aggFAttr

    the columns you want to use of correspondent aggregate functions

    cName

    the columns you want to project on

    Definition Classes
    Relation
  32. def eproject(aggCol: AggColumn*)(cName: String*): Relation

    Aggregate/project on the given columns (an extended projection operator that applies aggregate operators to aggregation columns and regular projection to projection columns).

    Aggregate/project on the given columns (an extended projection operator that applies aggregate operators to aggregation columns and regular projection to projection columns).

    aggCol

    the columns to aggregate on: (aggregate function, new column name, old column name)*

    cName

    the other columns to project on

    Definition Classes
    RelationTable
    See also

    en.wikipedia.org/wiki/Relational_algebra

  33. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  34. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  35. def exists: Boolean

    Determine whether any rows/tuples exist in 'this' relation.

    Determine whether any rows/tuples exist in 'this' relation.

    Definition Classes
    Relation
  36. var fKeys: Seq[(String, String, Int)]
    Definition Classes
    Relation
  37. def filter[T](p: Predicate[T]*): RelationF

    Filter the RelationF object by predicate 'p'.

    Filter the RelationF object by predicate 'p'. FIX - what are the effects of this method ???

    T

    predicate type

    p

    the predicate used to filter

  38. final def flaw(method: String, message: String): Unit
    Definition Classes
    Error
  39. def fold[T](initvalue: T, f: (T, T) ⇒ T, colName: String): RelationF

    Fold on column using function 'f'.

    Fold on column using function 'f'.

    T

    the type of the column

    initvalue

    the initial starting value of the fold

    f

    function to apply on the column

    colName

    column to fold on

  40. def generateIndex(reset: Boolean = false): Unit

    The 'generateIndex' method helps, e.g., the 'popTable', methods to generate an index for the table.

    The 'generateIndex' method helps, e.g., the 'popTable', methods to generate an index for the table.

    reset

    if reset is true, use old index to build new index; otherwise, create new index

    Definition Classes
    Relation
  41. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  42. def groupBy(cName: String*): Relation

    Group 'this' relation by the specified column names, returning 'this' relation.

    Group 'this' relation by the specified column names, returning 'this' relation.

    cName

    the group column names

    Definition Classes
    RelationTable
  43. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  44. def incompatible(r2: Table): Boolean

    Determine whether 'this' relation and 'r2' are incompatible by having differing numbers of columns or differing domain strings.

    Determine whether 'this' relation and 'r2' are incompatible by having differing numbers of columns or differing domain strings.

    r2

    the other relation/table

    Definition Classes
    RelationTable
  45. val index: Map[KeyType, Row]
    Attributes
    protected
    Definition Classes
    Relation
  46. val indextoKey: HashMap[Int, KeyType]
    Attributes
    protected
    Definition Classes
    Relation
  47. def indices: Range

    Return the range of index values for the table.

    Return the range of index values for the table.

    Definition Classes
    Table
  48. def intersect(_r2: Table): Relation

    Intersect 'this' relation and 'r2'.

    Intersect 'this' relation and 'r2'. Check that the two relations are compatible. Use index to finish intersect operation.

    _r2

    the other relation

    Definition Classes
    RelationTable
  49. def intersect2(r2: Table): Relation

    Intersect 'this' relation and 'r2'.

    Intersect 'this' relation and 'r2'. Check that the two relations are compatible. Slower and only to be used if there is no index.

    r2

    the other relation

    Definition Classes
    Relation
  50. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  51. def join[T](_r2: Table, p0: Predicate2[T], p: Predicate2[T]*): Relation

    The theta join, handle the predicates in where are connect by "and" (where a....and b....).

    The theta join, handle the predicates in where are connect by "and" (where a....and b....).

    _r2

    the second relation

    p0

    the first theta join predicate (r1 cName, r2 cName, predicate to compare these two column)

    p

    the rest of theta join predicates (r1 cName, r2 cName, predicates to compare these two column)

    Definition Classes
    RelationTable
  52. def join(cName: Seq[String], _r2: Table): Relation

    Join 'this' relation and 'r2' by performing a "natural-join".

    Join 'this' relation and 'r2' by performing a "natural-join". Rows from both relations are compared requiring 'cName' values to be equal.

    cName

    the common join column names for both relation

    _r2

    the rhs relation in the join operation

    Definition Classes
    RelationTable
  53. def join(cName1: Seq[String], cName2: Seq[String], r2: Table): Relation

    Join 'this' relation and 'r2' by performing an "equi-join".

    Join 'this' relation and 'r2' by performing an "equi-join". Rows from both relations are compared requiring 'cName1' values to equal 'cName2' values. Disambiguate column names by appending "2" to the end of any duplicate column name.

    cName1

    the join column names of this relation (e.g., the Foreign Key)

    cName2

    the join column names of relation r2 (e.g., the Primary Key)

    r2

    the rhs relation in the join operation

    Definition Classes
    RelationTable
  54. def join(cName1: String, cName2: String, r2: Table): Table

    Join 'this' table and 'r2' by performing an "equi-join".

    Join 'this' table and 'r2' by performing an "equi-join". Rows from both tables are compared requiring 'cName1' values to equal 'cName2' values. Disambiguate column names by appending "2" to the end of any duplicate column name.

    cName1

    the join column name of this table (e.g., the Foreign Key)

    cName2

    the join column name of table r2 (e.g., the Primary Key)

    r2

    the rhs table in the join operation

    Definition Classes
    Table
  55. def join(cName: String, r2: Table): Table

    Join 'this' table and 'r2' by performing a "natural-join".

    Join 'this' table and 'r2' by performing a "natural-join". Rows from both tables are compared requiring 'cName' values to be equal.

    cName

    the common join column name for both table

    r2

    the rhs table in the join operation

    Definition Classes
    Table
  56. def join(r2: Table): Table

    Join 'this' table and 'r2' by performing a "natural-join".

    Join 'this' table and 'r2' by performing a "natural-join". Rows from both tables are compared requiring agreement on common attributes (column names).

    r2

    the rhs table in the join operation

    Definition Classes
    Table
  57. def joinindex(cName1: Seq[String], cName2: Seq[String], _r2: Table): Relation

    Join 'this' relation and 'r2' by performing an "equi-join", use index to join

    Join 'this' relation and 'r2' by performing an "equi-join", use index to join

    cName1

    the join column names of this relation (e.g., the Foreign Key)

    cName2

    the join column names of relation r2 (e.g., the Primary Key)

    _r2

    the rhs relation in the join operation

    Definition Classes
    Relation
  58. val key: Int
    Definition Classes
    Relation
  59. def leftJoin(thres: Double = 0.001)(cName1: String, cName2: String, r2: Table): Relation

    Join 'this' relation and 'r2' by performing an "apprimate left-join".

    Join 'this' relation and 'r2' by performing an "apprimate left-join". Rows from both relations are compared requiring 'cName1' values to apprximately equal 'cName2' values. Disambiguate column names by appending "2" to the end of any duplicate column name. All rows from the left table are maintained with missing values indicators used where needed.

    thres

    the approximate equality threshold

    cName1

    the join column names of this relation (e.g., the Foreign Key)

    cName2

    the join column names of relation r2 (e.g., the Primary Key)

    r2

    the rhs relation in the join operation

    Definition Classes
    RelationTable
  60. def leftJoin(cp1: Int, cp2: Int, r2: Relation): Relation

    Join 'this' relation and 'r2' by performing a "left join".

    Join 'this' relation and 'r2' by performing a "left join". Rows from both relations are compared requiring 'cp1' values to equal 'cp2' values. This method returns all the rows from 'this' relation, and the matched rows from relation 'r2'. It adds a 'null' tuples for the unmatched rows of relation 'r2' FIX: It requires relations 'this' and 'r2' to be sorted on column 'cp1' and 'cp2' resp., as it uses Sort-Merge join

    cp1

    the position of the join column of this relation

    cp2

    the position of the join column of 'r2' relation

    r2

    the rhs relation in the join operation

    Definition Classes
    Relation
  61. def leftJoin(cName1: String, cName2: String, r2: Table): Relation

    Join 'this' relation and 'r2' by performing an "left-join".

    Join 'this' relation and 'r2' by performing an "left-join". Rows from both relations are compared requiring 'cName1' values to equal 'cName2' values. Disambiguate column names by appending "2" to the end of any duplicate column name. All rows from the left table are maintained with missing values indicators used where needed.

    cName1

    the join column names of this relation (e.g., the Foreign Key)

    cName2

    the join column names of relation r2 (e.g., the Primary Key)

    r2

    the rhs relation in the join operation

    Definition Classes
    RelationTable
  62. def leftJoinApx(cp1: Int, cp2: Int, r2: Relation): Relation

    Join 'this' relation and 'r2' by performing a "left join".

    Join 'this' relation and 'r2' by performing a "left join". Rows from both relations are compared requiring 'cp1' values to approximately equal 'cp2' values. This method returns all the rows from 'this' relation, and the matched rows from relation 'r2'. It adds a 'null' tuples for the unmatched rows of relation 'r2' FIX: It requires relations 'this' and 'r2' to be sorted on column 'cp1' and 'cp2' resp., as it uses Sort-Merge join

    cp1

    the position of the join column of this relation

    cp2

    the position of the join column of 'r2' relation

    r2

    the rhs relation in the join operation

    Definition Classes
    Relation
  63. def map[T](f: (T) ⇒ T, colName: String): RelationF

    Map a column to a new column according to function 'f'.

    Map a column to a new column according to function 'f'.

    T

    the type of the column

    f

    the transformation function to apply

    colName

    the column to apply map function

  64. def materialize(): Relation

    Materialize the relation by copying the temporary 'col2' into 'col'.

    Materialize the relation by copying the temporary 'col2' into 'col'. It needs to be called by the end of the relation construction.

    Definition Classes
    Relation
  65. def max(cName: String): Any

    Return the maximum value in column 'cName'.

    Return the maximum value in column 'cName'.

    cName

    the column name

    Definition Classes
    Relation
  66. def mean(cName: String): Any
    Definition Classes
    Relation
  67. def min(cName: String): Any

    Return the minimum value in column 'cName'.

    Return the minimum value in column 'cName'.

    cName

    the column name

    Definition Classes
    Relation
  68. def minus(r2: Table): Relation

    Take the difference of 'this' relation and 'r2' ('this - r2').

    Take the difference of 'this' relation and 'r2' ('this - r2'). Check that the two relations are compatible.

    r2

    the other relation

    Definition Classes
    RelationTable
  69. def minus2(_r2: Table): Relation

    Take the difference of 'this' relation and 'r2' ('this - r2').

    Take the difference of 'this' relation and 'r2' ('this - r2'). Check that the two relations are compatible. Indexed based minus.

    _r2

    the other relation

    Definition Classes
    Relation
  70. val name: String
    Definition Classes
    Relation
  71. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  72. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  73. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  74. def orderBy(_cName: String*): Relation

    Order (ascending) the rows in the relation by the selected columns '_cName'.

    Order (ascending) the rows in the relation by the selected columns '_cName'. A stable sorting is used to allow sorting on multiple columns.

    _cName

    the column names that are to be sorted

    Definition Classes
    RelationTable
  75. var orderedIndex: Vector[KeyType]
    Attributes
    protected
    Definition Classes
    Relation
  76. def parjoin(cName1: Seq[String], cName2: Seq[String], _r2: Relation, k: Int): Relation

    Parallel Join 'this' relation and 'r2' by performing an equi join on cName1 = cName2 and into k -threads seperate the lhs into k part join with rhs.

    Parallel Join 'this' relation and 'r2' by performing an equi join on cName1 = cName2 and into k -threads seperate the lhs into k part join with rhs. FIX - move to .par package

    cName1

    the join column names of lhs relation

    cName2

    the join column names of rhs relation

    _r2

    the rhs relation in the join operation

    k

    parallel run into k parts

    Definition Classes
    Relation
  77. def pi(cPos: Seq[Int], cName: Seq[String] = null): Table

    Project onto the columns with the given column positions.

    Project onto the columns with the given column positions.

    cPos

    the column positions to project onto

    cName

    the optional new names for the columns to project onto

    Definition Classes
    Table
  78. def pi(cName: String*): Table

    Project onto the columns with the given column names.

    Project onto the columns with the given column names.

    cName

    the names of the columns to project onto

    Definition Classes
    Table
  79. def pisigmaC(cName: String, p: (Complex) ⇒ Boolean): Relation

    Select elements from column 'cName' in 'this' relation that satisfy the predicate 'p' and project onto that column.

    Select elements from column 'cName' in 'this' relation that satisfy the predicate 'p' and project onto that column.

    cName

    the name of the column used for selection

    p

    the predicate (Boolean function) to be satisfied

    Definition Classes
    RelationTable
  80. def pisigmaD(cName: String, p: (Double) ⇒ Boolean): Relation
    Definition Classes
    RelationTable
  81. def pisigmaI(cName: String, p: (Int) ⇒ Boolean): Relation
    Definition Classes
    RelationTable
  82. def pisigmaL(cName: String, p: (Long) ⇒ Boolean): Relation
    Definition Classes
    RelationTable
  83. def pisigmaQ(cName: String, p: (Rational) ⇒ Boolean): Relation
    Definition Classes
    RelationTable
  84. def pisigmaR(cName: String, p: (Real) ⇒ Boolean): Relation
    Definition Classes
    RelationTable
  85. def pisigmaS(cName: String, p: (StrNum) ⇒ Boolean): Relation
    Definition Classes
    RelationTable
  86. def product(r2: Table): Relation

    Compute the Cartesian product of this' relation and 'r2' ('this × r2').

    Compute the Cartesian product of this' relation and 'r2' ('this × r2').

    r2

    the second relation

    Definition Classes
    RelationTable
  87. def project(cPos: Seq[Int], cName: Seq[String] = null): Relation

    Project onto the columns with the given column positions using the given column names.

    Project onto the columns with the given column positions using the given column names.

    cPos

    the positions of the columns to project onto

    cName

    the names of the columns to project onto

    Definition Classes
    RelationTable
  88. def project(cName: String*): Relation

    Project onto the columns with the given column names.

    Project onto the columns with the given column names.

    cName

    the names of the columns to project onto

    Definition Classes
    RelationTable
  89. def reduce[T](f: (T, T) ⇒ T, colName: String): RelationF

    Reduce on column using function 'f'.

    Reduce on column using function 'f'.

    T

    the type of the column

    f

    the transformation function to apply

    colName

    the column to apply map function

  90. def rename(newName: String): Relation

    Rename 'this' table, returning a shallow copy of 'this' table.

    Rename 'this' table, returning a shallow copy of 'this' table.

    newName

    the new name for the table.

    Definition Classes
    RelationTable
  91. def reverseOrderBy(_cName: String*): Relation

    Order (descending) the rows in the relation by the selected columns '_cName'.

    Order (descending) the rows in the relation by the selected columns '_cName'. A stable sorting is used to allow sorting on multiple columns.

    _cName

    the column names that are to be sorted

    Definition Classes
    RelationTable
  92. def rightJoin(cp1: Int, cp2: Int, r2: Relation): Relation

    Join 'this' relation and 'r2' by performing a "right join".

    Join 'this' relation and 'r2' by performing a "right join". Rows from both relations are compared requiring 'cp1' values to equal 'cp2' values. This method returns all the rows from 'this' relation, and the matched rows from relation 'r2'. It adds a 'null' tuples for the unmatched rows of relation 'r2'

    cp1

    the position of the join column of this relation

    cp2

    the position of the join column of 'r2' relation

    r2

    the rhs relation in the join operation

    Definition Classes
    Relation
  93. def rightJoin(cName1: String, cName2: String, r2: Table): Table

    Join 'this' table and 'r2' by performing an "right-join".

    Join 'this' table and 'r2' by performing an "right-join". Rows from both tables are compared requiring 'cName1' values to equal 'cName2' values. Disambiguate column names by appending "2" to the end of any duplicate column name. All rows from the right table are maintained with missing values indicators used where needed.

    cName1

    the join column names of this table (e.g., the Foreign Key)

    cName2

    the join column names of table r2 (e.g., the Primary Key)

    r2

    the rhs table in the join operation

    Definition Classes
    Table
  94. def rightJoinApx(cp1: Int, cp2: Int, r2: Relation): Relation

    Join 'this' relation and 'r2' by performing a "right join".

    Join 'this' relation and 'r2' by performing a "right join". Rows from both relations are compared requiring 'cp1' values to approximately equal 'cp2' values. This method returns all the rows from 'this' relation, and the matched rows from relation 'r2'. It adds a 'null' tuples for the unmatched rows of relation 'r2'

    cp1

    the position of the join column of this relation

    cp2

    the position of the join column of 'r2' relation

    r2

    the rhs relation in the join operation

    Definition Classes
    Relation
  95. def row(i: Int): Row

    Create a row by pulling values from all columns at position 'i'.

    Create a row by pulling values from all columns at position 'i'.

    i

    the 'i'th position

    Definition Classes
    RelationTable
  96. def row(sos: Seq[String], _typ: String): Row

    Create a row by pulling values from an array of strings and converting elements to their appropriate types.

    Create a row by pulling values from an array of strings and converting elements to their appropriate types.

    sos

    the sequence of strings holding the values

    _typ

    the string of corresponding types, e.g., 'SDI'

    Definition Classes
    Table
    Annotations
    @throws( classOf [Exception] )
  97. def rows: Int

    Return the size in terms of number of rows in the relation.

    Return the size in terms of number of rows in the relation.

    Definition Classes
    RelationTable
  98. def save(): Unit

    Save 'this' relation in a file using serialization.

    Save 'this' relation in a file using serialization.

    Definition Classes
    RelationTable
  99. def select[T](cName: String, p: (T) ⇒ Boolean)(implicit arg0: ClassTag[T]): Relation

    Select elements from columns in 'cName' in 'this' relation that satisfy the predicate 'p'.

    Select elements from columns in 'cName' in 'this' relation that satisfy the predicate 'p'.

    cName

    the name of the column used for selection

    p

    the predicate (Boolean function) to be satisfied

    Definition Classes
    RelationTable
  100. def selectAt(pos: Seq[Int]): Relation

    Select across all columns at the specified column positions.

    Select across all columns at the specified column positions.

    pos

    the specified column positions

    Definition Classes
    RelationTable
  101. def selectC(cName: String, p: (Complex) ⇒ Boolean): Seq[Int]

    Select the positions of elements from columns in 'cName' in 'this' relation that satisfy the predicate 'p'.

    Select the positions of elements from columns in 'cName' in 'this' relation that satisfy the predicate 'p'.

    cName

    the name of the column used for selection

    p

    the predicate (Boolean function) to be satisfied

    Definition Classes
    RelationTable
  102. def selectD(cName: String, p: (Double) ⇒ Boolean): Seq[Int]
    Definition Classes
    RelationTable
  103. def selectI(cName: String, p: (Int) ⇒ Boolean): Seq[Int]
    Definition Classes
    RelationTable
  104. def selectL(cName: String, p: (Long) ⇒ Boolean): Seq[Int]
    Definition Classes
    RelationTable
  105. def selectQ(cName: String, p: (Rational) ⇒ Boolean): Seq[Int]
    Definition Classes
    RelationTable
  106. def selectR(cName: String, p: (Real) ⇒ Boolean): Seq[Int]
    Definition Classes
    RelationTable
  107. def selectS(cName: String, p: (StrNum) ⇒ Boolean): Seq[Int]
    Definition Classes
    RelationTable
  108. def selectT(cName: String, p: (TimeNum) ⇒ Boolean): Seq[Int]
    Definition Classes
    Relation
  109. def show(limit: Int = Int.MaxValue): Unit

    Show 'this' relation row by row.

    Show 'this' relation row by row.

    limit

    the limit on the number of rows to display

    Definition Classes
    RelationTabular
  110. def showFk(): Unit

    Show 'this' relation's foreign keys.

    Show 'this' relation's foreign keys.

    Definition Classes
    Relation
  111. def sigma[T](cName: String, p: (T) ⇒ Boolean)(implicit arg0: ClassTag[T]): Table

    Select elements from columns in 'cName' in 'this' table that satisfy the predicate 'p'.

    Select elements from columns in 'cName' in 'this' table that satisfy the predicate 'p'.

    cName

    the name of the column used for selection

    p

    the predicate (Boolean function) to be satisfied

    Definition Classes
    Table
  112. def sigmaC(cName: String, p: (Complex) ⇒ Boolean): Relation

    Select elements from columns in 'cName' in 'this' relation that satisfy the predicate 'p'.

    Select elements from columns in 'cName' in 'this' relation that satisfy the predicate 'p'.

    cName

    the name of the column used for selection

    p

    the predicate (Boolean function) to be satisfied

    Definition Classes
    RelationTable
  113. def sigmaD(cName: String, p: (Double) ⇒ Boolean): Relation
    Definition Classes
    RelationTable
  114. def sigmaDpar(cName: String, p: (Double) ⇒ Boolean): Relation

    The parellel version of 'selectD'.

    The parellel version of 'selectD'. FIX - move to .par package

    cName

    column to select on

    p

    predicate to select

    Definition Classes
    Relation
  115. def sigmaI(cName: String, p: (Int) ⇒ Boolean): Relation
    Definition Classes
    RelationTable
  116. def sigmaL(cName: String, p: (Long) ⇒ Boolean): Relation
    Definition Classes
    RelationTable
  117. def sigmaQ(cName: String, p: (Rational) ⇒ Boolean): Relation
    Definition Classes
    RelationTable
  118. def sigmaR(cName: String, p: (Real) ⇒ Boolean): Relation
    Definition Classes
    RelationTable
  119. def sigmaS(cName: String, p: (StrNum) ⇒ Boolean): Relation
    Definition Classes
    RelationTable
  120. def sum(cName: String): Any

    Return the sum of the values in column 'cName'.

    Return the sum of the values in column 'cName'.

    cName

    the column name

    Definition Classes
    Relation
  121. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  122. def toMap(keyColName: Seq[String], valColName: String): Map[Seq[Any], Any]

    Convert the given columns within 'this' relation to a map: 'keyColName' -> 'valColName'.

    Convert the given columns within 'this' relation to a map: 'keyColName' -> 'valColName'.

    keyColName

    the key column names

    Definition Classes
    Relation
  123. def toMap(keyColPos: Seq[Int], valColPos: Int): Map[Seq[Any], Any]

    Convert the given columns within 'this' relation to a map: 'keyColPos' -> 'valColPos'.

    Convert the given columns within 'this' relation to a map: 'keyColPos' -> 'valColPos'.

    keyColPos

    the key column positions

    valColPos

    the value column positions

    Definition Classes
    Relation
  124. def toMatriD(colPos: Seq[Int], kind: MatrixKind = DENSE): MatriD

    Convert 'this' relation into a matrix of doubles, e.g.,

    Convert 'this' relation into a matrix of doubles, e.g.,

    in the regression equation: 'xb = y' create matrix 'xy'

    colPos

    the column positions to use for the matrix

    kind

    the kind of matrix to create

    Definition Classes
    RelationTable
  125. def toMatriD2(colPos: Seq[Int] = null, kind: MatrixKind = DENSE): MatriD

    Convert 'this' relation into a matrix of double.

    Convert 'this' relation into a matrix of double. It will convert strings to double.

    in the regression equation: 'xb = y' create matrix 'xy'

    colPos

    the column positions to use for the matrix

    kind

    the kind of matrix to create

    Definition Classes
    Relation
  126. def toMatriDD(colPos: Seq[Int], colPosV: Int, kind: MatrixKind = DENSE): (MatriD, VectorD)

    Convert 'this' relation into a matrix of doubles and a vector of doubles.

    Convert 'this' relation into a matrix of doubles and a vector of doubles.

    in the regression equation: 'xb = y' create matrix 'x' and vector 'y'

    colPos

    the column positions to use for the matrix

    colPosV

    the column position to use for the vector

    kind

    the kind of matrix to create

    Definition Classes
    RelationTable
  127. def toMatriDI(colPos: Seq[Int], colPosV: Int, kind: MatrixKind = DENSE): (MatriD, VectorI)

    Convert 'this' relation into a matrix of doubles and a vector of integers.

    Convert 'this' relation into a matrix of doubles and a vector of integers.

    in the regression equation: 'xb = y' create matrix 'x' and vector 'y'

    colPos

    the column positions to use for the matrix

    colPosV

    the column position to use for the vector

    kind

    the kind of matrix to create

    Definition Classes
    RelationTable
  128. def toMatriI(colPos: Seq[Int], kind: MatrixKind = DENSE): MatriI

    Convert 'this' relation into a matrix of integers.

    Convert 'this' relation into a matrix of integers.

    in the regression equation: 'xb = y' create matrix 'xy'

    colPos

    the column positions to use for the matrix

    kind

    the kind of matrix to create

    Definition Classes
    RelationTable
  129. def toMatriI2(colPos: Seq[Int] = null, kind: MatrixKind = DENSE): MatriI

    Convert 'this' relation into a matrix of integers.

    Convert 'this' relation into a matrix of integers. It will convert doubles and strings to integers.

    in the regression equation: 'xb = y' create matrix 'xy'

    colPos

    the column positions to use for the matrix

    kind

    the kind of matrix to create

    Definition Classes
    Relation
  130. def toMatriII(colPos: Seq[Int], colPosV: Int, kind: MatrixKind = DENSE): (MatriI, VectorI)

    Convert 'this' relation into a matrix of integers and a vector of integers.

    Convert 'this' relation into a matrix of integers and a vector of integers.

    in the regression equation: 'xb = y' create matrix 'x' and vector 'y'

    colPos

    the column positions to use for the matrix

    colPosV

    the column position to use for the vector

    kind

    the kind of matrix to create

    Definition Classes
    RelationTable
  131. def toRleVectorD(colName: String): RleVectorD

    Convert the 'colName' column of 'this' relation into a vector of doubles.

    Convert the 'colName' column of 'this' relation into a vector of doubles.

    colName

    the column name to use for the vector

    Definition Classes
    Relation
  132. def toRleVectorD(colPos: Int = 0): RleVectorD

    Convert the 'colPos' column of 'this' relation into a vector of doubles.

    Convert the 'colPos' column of 'this' relation into a vector of doubles.

    colPos

    the column position to use for the vector

    Definition Classes
    Relation
  133. def toRleVectorI(colName: String): RleVectorI

    Convert the 'colName' column of 'this' relation into a vector of integers.

    Convert the 'colName' column of 'this' relation into a vector of integers.

    colName

    the column name to use for the vector

    Definition Classes
    Relation
  134. def toRleVectorI(colPos: Int = 0): RleVectorI

    Convert the 'colPos' column of 'this' relation into a vector of integers.

    Convert the 'colPos' column of 'this' relation into a vector of integers.

    colPos

    the column position to use for the vector

    Definition Classes
    Relation
  135. def toRleVectorS(colName: String): RleVectorS

    Convert the 'colName' column of 'this' relation into a vector of integers.

    Convert the 'colName' column of 'this' relation into a vector of integers.

    colName

    the column name to use for the vector

    Definition Classes
    Relation
  136. def toRleVectorS(colPos: Int = 0): RleVectorS

    Convert the 'colPos' column of 'this' relation into a vector of integers.

    Convert the 'colPos' column of 'this' relation into a vector of integers.

    colPos

    the column position to use for the vector

    Definition Classes
    Relation
  137. def toString(): String

    Convert 'this' relation into a string column by column.

    Convert 'this' relation into a string column by column.

    Definition Classes
    Relation → AnyRef → Any
  138. def toVectorC(colName: String): VectorC

    Convert the 'colName' column of 'this' relation into a vector of complex numbers.

    Convert the 'colName' column of 'this' relation into a vector of complex numbers.

    colName

    the column name to use for the vector

    Definition Classes
    RelationTable
  139. def toVectorC(colPos: Int = 0): VectorC

    Convert the 'colPos' column of 'this' relation into a vector of complex numbers.

    Convert the 'colPos' column of 'this' relation into a vector of complex numbers.

    colPos

    the column position to use for the vector

    Definition Classes
    RelationTable
  140. def toVectorD(colName: String): VectorD

    Convert the 'colName' column of 'this' relation into a vector of doubles.

    Convert the 'colName' column of 'this' relation into a vector of doubles.

    colName

    the column name to use for the vector

    Definition Classes
    RelationTable
  141. def toVectorD(colPos: Int = 0): VectorD

    Convert the 'colPos' column of 'this' relation into a vector of doubles.

    Convert the 'colPos' column of 'this' relation into a vector of doubles.

    colPos

    the column position to use for the vector

    Definition Classes
    RelationTable
  142. def toVectorI(colName: String): VectorI

    Convert the 'colName' column of 'this' relation into a vector of integers.

    Convert the 'colName' column of 'this' relation into a vector of integers.

    colName

    the column name to use for the vector

    Definition Classes
    RelationTable
  143. def toVectorI(colPos: Int = 0): VectorI

    Convert the 'colPos' column of 'this' relation into a vector of integers.

    Convert the 'colPos' column of 'this' relation into a vector of integers.

    colPos

    the column position to use for the vector

    Definition Classes
    RelationTable
  144. def toVectorL(colName: String): VectorL

    Convert the 'colName' column of 'this' relation into a vector of long integers.

    Convert the 'colName' column of 'this' relation into a vector of long integers.

    colName

    the column name to use for the vector

    Definition Classes
    RelationTable
  145. def toVectorL(colPos: Int = 0): VectorL

    Convert the 'colPos' column of 'this' relation into a vector of long integers.

    Convert the 'colPos' column of 'this' relation into a vector of long integers.

    colPos

    the column position to use for the vector

    Definition Classes
    RelationTable
  146. def toVectorQ(colName: String): VectorQ

    Convert the 'colName' column of 'this' relation into a vector of rational numbers.

    Convert the 'colName' column of 'this' relation into a vector of rational numbers.

    colName

    the column name to use for the vector

    Definition Classes
    RelationTable
  147. def toVectorQ(colPos: Int = 0): VectorQ

    Convert the 'colPos' column of 'this' relation into a vector of rational numbers.

    Convert the 'colPos' column of 'this' relation into a vector of rational numbers.

    colPos

    the column position to use for the vector

    Definition Classes
    RelationTable
  148. def toVectorR(colName: String): VectorR

    Convert the 'colName' column of 'this' relation into a vector of real number.

    Convert the 'colName' column of 'this' relation into a vector of real number.

    colName

    the column name to use for the vector

    Definition Classes
    RelationTable
  149. def toVectorR(colPos: Int = 0): VectorR

    Convert the 'colPos' column of 'this' relation into a vector of real number.

    Convert the 'colPos' column of 'this' relation into a vector of real number.

    colPos

    the column position to use for the vector

    Definition Classes
    RelationTable
  150. def toVectorS(colName: String): VectorS

    Convert the 'colName' column of 'this' relation into a vector of string-num.

    Convert the 'colName' column of 'this' relation into a vector of string-num.

    colName

    the column name to use for the vector

    Definition Classes
    RelationTable
  151. def toVectorS(colPos: Int = 0): VectorS

    Convert the 'colPos' column of 'this' relation into a vector of string-num.

    Convert the 'colPos' column of 'this' relation into a vector of string-num.

    colPos

    the column position to use for the vector

    Definition Classes
    RelationTable
  152. def toVectorT(colName: String): VectorT

    Convert the 'colName' column of 'this' relation into a vector of time-num.

    Convert the 'colName' column of 'this' relation into a vector of time-num.

    colName

    the column name to use for the vector

    Definition Classes
    RelationTable
  153. def toVectorT(colPos: Int = 0): VectorT

    Convert the 'colPos' column of 'this' relation into a vector of time-num.

    Convert the 'colPos' column of 'this' relation into a vector of time-num.

    colPos

    the column position to use for the vector

    Definition Classes
    RelationTable
  154. def uncompress(cName: String*): Unit

    Uncompress the selected columns 'cName' in 'this' table.

    Uncompress the selected columns 'cName' in 'this' table.

    cName

    the names of the columns to be uncompressed

    Definition Classes
    RelationTable
  155. def union(r2: Table): Relation

    Union 'this' relation and 'r2'.

    Union 'this' relation and 'r2'. Check that the two relations are compatible. If they are not, return the first 'this' relation.

    r2

    the other relation

    Definition Classes
    RelationTable
  156. def uniq_union(cn1: Seq[String], cn2: Seq[String]): Seq[String]

    Combine two sequences of column names, keeping all names from 'cn1' and only those in 'cn2' that are not repeats (i.e., not already in 'cn1').

    Combine two sequences of column names, keeping all names from 'cn1' and only those in 'cn2' that are not repeats (i.e., not already in 'cn1').

    cn1

    the first sequence of column names

    cn2

    the second sequence of column names

    Attributes
    protected
    Definition Classes
    Table
  157. def update[T](cName: String, func: (T) ⇒ T, pred: (T) ⇒ Boolean): Unit

    Update the column named 'cName' using function 'func' for elements where the predicate 'pred' evaluates to true.

    Update the column named 'cName' using function 'func' for elements where the predicate 'pred' evaluates to true.

    T

    type of the column

    cName

    the name of the column to be updated

    func

    the function used to assign updated values

    pred

    the predicated used to select elements for update

    Definition Classes
    RelationTable
  158. def update[T](cName: String, func: (T) ⇒ T, matchVal: T): Unit

    Update the column named 'cName' using function 'func' for elements with value 'matchStr'.

    Update the column named 'cName' using function 'func' for elements with value 'matchStr'.

    T

    type of the column

    cName

    the name of the column to be updated

    func

    the function used to assign updated values

    matchVal

    the value to be matched to elements

    Definition Classes
    RelationTable
  159. def update[T](cName: String, newVal: T, matchVal: T): Unit

    Update the column named 'cName' using function 'func' for elements with value 'matchStr'.

    Update the column named 'cName' using function 'func' for elements with value 'matchStr'.

    T

    type of the column

    cName

    the name of the column to be updated

    newVal

    the value used to assign updated values

    matchVal

    the value to be matched to elements

    Definition Classes
    RelationTable
  160. def variance(cName: String): Any

    Return the variance of the values in column 'cName'.

    Return the variance of the values in column 'cName'.

    cName

    the column name

    Definition Classes
    Relation
  161. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  162. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  163. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  164. def writeCSV(fileName: String): Unit

    Write 'this' relation into a CSV file with each row written to a line.

    Write 'this' relation into a CSV file with each row written to a line.

    fileName

    the file name of the data file

    Definition Classes
    RelationTable
  165. def writeJSON(fileName: String): Unit

    Write 'this' relation into a JSON file.

    Write 'this' relation into a JSON file.

    fileName

    the file name of the data file

    Definition Classes
    RelationTable
  166. def ×(r2: Table): Table

    Compute the Cartesian product of 'this' table and 'r2' ('this × r2').

    Compute the Cartesian product of 'this' table and 'r2' ('this × r2').

    r2

    the second table

    Definition Classes
    Table
  167. def Π(aggCol: AggColumn*)(cName: String*): Table

    Aggregate/project on the given columns (an extended projection operator that applies aggregate operators to aggregation columns and regular projection to projection columns).

    Aggregate/project on the given columns (an extended projection operator that applies aggregate operators to aggregation columns and regular projection to projection columns).

    aggCol

    the columns to aggregate on: (aggregate function, new column name, old column name)*

    cName

    the other columns to project on

    Definition Classes
    Table
    See also

    en.wikipedia.org/wiki/Relational_algebra

  168. def γ(cName: String*): Table

    Group 'this' table by specified column names, returning 'this' table.

    Group 'this' table by specified column names, returning 'this' table.

    cName

    group columns

    Definition Classes
    Table
  169. def ζ(cName: String*): Unit

    Compress the selected columns 'cName' in 'this' table.

    Compress the selected columns 'cName' in 'this' table.

    cName

    the names of the columns to be compressed

    Definition Classes
    Table
  170. def ζζ(cName: String*): Unit

    Uncompress the selected columns 'cName' in 'this' table.

    Uncompress the selected columns 'cName' in 'this' table.

    cName

    the names of the columns to be uncompressed

    Definition Classes
    Table
  171. def π(cPos: Seq[Int], cName: Seq[String] = null): Table

    Project onto the columns with the given column positions.

    Project onto the columns with the given column positions.

    cPos

    the column positions to project onto

    cName

    the optional new names for the columns to project onto

    Definition Classes
    Table
  172. def π(cName: String*): Table

    Project onto the columns with the given column names.

    Project onto the columns with the given column names.

    cName

    the names of the columns to project onto

    Definition Classes
    Table
  173. def σ[T](cName: String, p: (T) ⇒ Boolean)(implicit arg0: ClassTag[T]): Table

    Select elements from columns in 'cName' in 'this' table that satisfy the predicate 'p'.

    Select elements from columns in 'cName' in 'this' table that satisfy the predicate 'p'.

    cName

    the name of the column used for selection

    p

    the predicate (Boolean function) to be satisfied

    Definition Classes
    Table
  174. def ω(cName: String*): Table

    Order (ascending) the rows in the table by the selected columns 'cName'.

    Order (ascending) the rows in the table by the selected columns 'cName'. A stable sorting is used to allow sorting on multiple columns.

    cName

    the column names that are to be sorted

    Definition Classes
    Table
  175. def ωω(cName: String*): Table

    Order (descending) the rows in the table by the selected columns 'cName'.

    Order (descending) the rows in the table by the selected columns 'cName'. A stable sorting is used to allow sorting on multiple columns.

    cName

    the column names that are to be sorted

    Definition Classes
    Table
  176. def (r2: Table): Table

    Intersect 'this' table and 'r2'.

    Intersect 'this' table and 'r2'. Check that the two tables are compatible.

    r2

    the other table

    Definition Classes
    Table
  177. def (r2: Table): Table

    Union 'this' table and 'r2'.

    Union 'this' table and 'r2'. Check that the two tables are compatible.

    r2

    the other table

    Definition Classes
    Table
  178. def [T](r2: Table, p0: Predicate2[T], p: Predicate2[T]*): Table

    The theta join, handle the predicates in where are connect by "and" (where a....and b....).

    The theta join, handle the predicates in where are connect by "and" (where a....and b....).

    r2

    the second table

    p0

    the first theta join predicate (r1 cName, r2 cName, predicate to compare these two column)

    p

    the rest of theta join predicates (r1 cName, r2 cName, predicates to compare these two column)

    Definition Classes
    Table
  179. def (cNames1: Seq[String], cNames2: Seq[String], r2: Table): Table

    Join 'this' table and 'r2' by performing an "equi-join".

    Join 'this' table and 'r2' by performing an "equi-join". Rows from both tables are compared requiring 'cName1' values to equal 'cName2' values. Disambiguate column names by appending "2" to the end of any duplicate column name.

    cNames1

    the join column names of this table (e.g., the Foreign Key)

    cNames2

    the join column names of table r2 (e.g., the Primary Key)

    r2

    the rhs table in the join operation

    Definition Classes
    Table
  180. def (cName1: String, cName2: String, r2: Table): Table

    Join 'this' table and 'r2' by performing an "equi-join".

    Join 'this' table and 'r2' by performing an "equi-join". Rows from both tables are compared requiring 'cName1' values to equal 'cName2' values. Disambiguate column names by appending "2" to the end of any duplicate column name.

    cName1

    the join column name of this table (e.g., the Foreign Key)

    cName2

    the join column name of table r2 (e.g., the Primary Key)

    r2

    the rhs table in the join operation

    Definition Classes
    Table
  181. def (cNames: Seq[String], r2: Table): Table

    Join 'this' table and 'r2' by performing a "natural-join".

    Join 'this' table and 'r2' by performing a "natural-join". Rows from both tables are compared requiring 'cName' values to be equal.

    cNames

    the common join column names for both table

    r2

    the rhs table in the join operation

    Definition Classes
    Table
  182. def (cName: String, r2: Table): Table

    Join 'this' table and 'r2' by performing a "natural-join".

    Join 'this' table and 'r2' by performing a "natural-join". Rows from both tables are compared requiring 'cName' values to be equal.

    cName

    the common join column name for both table

    r2

    the rhs table in the join operation

    Definition Classes
    Table
  183. def (r2: Table): Table

    Join 'this' table and 'r2' by performing a "natural-join".

    Join 'this' table and 'r2' by performing a "natural-join". Rows from both tables are compared requiring agreement on common attributes (column names).

    r2

    the rhs table in the join operation

    Definition Classes
    Table
  184. def (thres: Double = 0.01)(cName1: String, cName2: String, r2: Table): Table

    Join 'this' table and 'r2' by performing an "apprimate left-join".

    Join 'this' table and 'r2' by performing an "apprimate left-join". Rows from both tables are compared requiring 'cName1' values to apprximately equal 'cName2' values. Disambiguate column names by appending "2" to the end of any duplicate column name. All rows from the left table are maintained with missing values indicators used where needed.

    cName1

    the join column names of this table (e.g., the Foreign Key)

    cName2

    the join column names of table r2 (e.g., the Primary Key)

    r2

    the rhs table in the join operation

    Definition Classes
    Table
  185. def (cName1: String, cName2: String, r2: Table): Table

    Join 'this' table and 'r2' by performing an "left-join".

    Join 'this' table and 'r2' by performing an "left-join". Rows from both tables are compared requiring 'cName1' values to equal 'cName2' values. Disambiguate column names by appending "2" to the end of any duplicate column name. All rows from the left table are maintained with missing values indicators used where needed. Note: although this is the semi-join symbol, due to Unicode limitations, it is used for left-join.

    cName1

    the join column names of this table (e.g., the Foreign Key)

    cName2

    the join column names of table r2 (e.g., the Primary Key)

    r2

    the rhs table in the join operation

    Definition Classes
    Table
  186. def (cName1: String, cName2: String, r2: Table): Table

    Join 'this' table and 'r2' by performing an "right-join".

    Join 'this' table and 'r2' by performing an "right-join". Rows from both tables are compared requiring 'cName1' values to equal 'cName2' values. Disambiguate column names by appending "2" to the end of any duplicate column name. All rows from the right table are maintained with missing values indicators used where needed.

    cName1

    the join column names of this table (e.g., the Foreign Key)

    cName2

    the join column names of table r2 (e.g., the Primary Key)

    r2

    the rhs table in the join operation

    Definition Classes
    Table

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Relation

Inherited from Serializable

Inherited from Error

Inherited from Table

Inherited from Tabular

Inherited from AnyRef

Inherited from Any

Ungrouped