Class/Object

frameless

TypedColumn

Related Docs: object TypedColumn | package frameless

Permalink

sealed class TypedColumn[T, U] extends AbstractTypedColumn[T, U]

Expression used in select-like constructions.

Linear Supertypes
AbstractTypedColumn[T, U], UntypedExpression[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TypedColumn
  2. AbstractTypedColumn
  3. UntypedExpression
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TypedColumn(column: Column)(implicit uencoder: TypedEncoder[U])

    Permalink
  2. new TypedColumn(expr: Expression)(implicit uenc: TypedEncoder[U])

    Permalink

Type Members

  1. type ThisType[A, B] = TypedColumn[A, B]

    Permalink
    Definition Classes
    TypedColumnAbstractTypedColumn

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def &[TT, W](other: ThisType[TT, U])(implicit n: CatalystBitwise[U], w: With.Aux[T, TT, W]): ThisType[W, U]

    Permalink

    Bitwise AND this expression and another expression.

    Bitwise AND this expression and another expression.

    df.select(df.col('colA) & (df.col('colB)))
    other

    a constant of the same type apache/spark

    Definition Classes
    AbstractTypedColumn
  4. def &(u: U)(implicit n: CatalystBitwise[U]): ThisType[T, U]

    Permalink

    Bitwise AND this expression and another expression (of same type).

    Bitwise AND this expression and another expression (of same type).

    df.select(df.col('colA).cast[Int] & -1)
    u

    a constant of the same type apache/spark

    Definition Classes
    AbstractTypedColumn
  5. def &&[TT, W](other: ThisType[TT, Boolean])(implicit w: With.Aux[T, TT, W]): ThisType[W, Boolean]

    Permalink

    Boolean AND.

    Boolean AND.

    df.filter ( df.col('a) === 1 && df.col('b) > 5)
    Definition Classes
    AbstractTypedColumn
  6. def *(u: U)(implicit n: CatalystNumeric[U]): ThisType[T, U]

    Permalink

    Multiplication of this expression a constant.

    Multiplication of this expression a constant.

    // The following multiplies a person's height by their weight.
    people.select( people.col('height) * people.col('weight) )

    apache/spark

    Definition Classes
    AbstractTypedColumn
  7. def *[TT, W](other: ThisType[TT, U])(implicit n: CatalystNumeric[U], w: With.Aux[T, TT, W], t: ClassTag[U]): ThisType[W, U]

    Permalink

    Multiplication of this expression and another expression.

    Multiplication of this expression and another expression.

    // The following multiplies a person's height by their weight.
    people.select( people.col('height) * people.col('weight) )

    apache/spark

    Definition Classes
    AbstractTypedColumn
  8. def +(u: U)(implicit n: CatalystNumeric[U]): ThisType[T, U]

    Permalink

    Sum of this expression (column) with a constant.

    Sum of this expression (column) with a constant.

    // The following selects the sum of a person's height and weight.
    people.select( people('height) + 2 )
    u

    a constant of the same type apache/spark

    Definition Classes
    AbstractTypedColumn
  9. def +[TT, W](other: ThisType[TT, U])(implicit n: CatalystNumeric[U], w: With.Aux[T, TT, W]): ThisType[W, U]

    Permalink

    Sum of this expression and another expression.

    Sum of this expression and another expression.

    // The following selects the sum of a person's height and weight.
    people.select( people.col('height) + people.col('weight) )

    apache/spark

    Definition Classes
    AbstractTypedColumn
  10. def -(u: U)(implicit n: CatalystNumeric[U]): ThisType[T, U]

    Permalink

    Subtraction.

    Subtraction. Subtract the other expression from this expression.

    // The following selects the difference between people's height and their weight.
    people.select( people('height) - 1 )
    u

    a constant of the same type apache/spark

    Definition Classes
    AbstractTypedColumn
  11. def -[TT, W](other: ThisType[TT, U])(implicit n: CatalystNumeric[U], w: With.Aux[T, TT, W]): ThisType[W, U]

    Permalink

    Subtraction.

    Subtraction. Subtract the other expression from this expression.

    // The following selects the difference between people's height and their weight.
    people.select( people.col('height) - people.col('weight) )

    apache/spark

    Definition Classes
    AbstractTypedColumn
  12. def /(u: U)(implicit n: CatalystNumeric[U]): ThisType[T, Double]

    Permalink

    Division this expression by another expression.

    Division this expression by another expression.

    // The following divides a person's height by their weight.
    people.select( people('height) / 2 )
    u

    a constant of the same type apache/spark

    Definition Classes
    AbstractTypedColumn
  13. def /[Out, TT, W](other: ThisType[TT, U])(implicit n: CatalystDivisible[U, Out], e: TypedEncoder[Out], w: With.Aux[T, TT, W]): ThisType[W, Out]

    Permalink

    Division this expression by another expression.

    Division this expression by another expression.

    // The following divides a person's height by their weight.
    people.select( people('height) / people('weight) )
    other

    another column of the same type apache/spark

    Definition Classes
    AbstractTypedColumn
  14. def <(u: U)(implicit i0: CatalystOrdered[U]): ThisType[T, Boolean]

    Permalink

    Less than.

    Less than.

    // The following selects people younger than 21.
    df.select( df('age) < 21 )
    u

    a constant of the same type apache/spark

    Definition Classes
    AbstractTypedColumn
  15. def <[TT, W](other: ThisType[TT, U])(implicit i0: CatalystOrdered[U], w: With.Aux[T, TT, W]): ThisType[W, Boolean]

    Permalink

    Less than.

    Less than.

    // The following selects people younger than the maxAge column.
    df.select( df('age) < df('maxAge) )
    other

    another column of the same type apache/spark

    Definition Classes
    AbstractTypedColumn
  16. def <=(u: U)(implicit i0: CatalystOrdered[U]): ThisType[T, Boolean]

    Permalink

    Less than or equal to.

    Less than or equal to.

    // The following selects people younger than 22.
    df.select( df('age) <= 2 )
    u

    a constant of the same type apache/spark

    Definition Classes
    AbstractTypedColumn
  17. def <=[TT, W](other: ThisType[TT, U])(implicit i0: CatalystOrdered[U], w: With.Aux[T, TT, W]): ThisType[W, Boolean]

    Permalink

    Less than or equal to.

    Less than or equal to.

    // The following selects people younger or equal than the maxAge column.
    df.select( df('age) <= df('maxAge)
    other

    another column of the same type apache/spark

    Definition Classes
    AbstractTypedColumn
  18. def =!=(u: U): ThisType[T, Boolean]

    Permalink

    Inequality test.

    Inequality test.

    df.filter( df.col('a) =!= "a" )

    apache/spark

    Definition Classes
    AbstractTypedColumn
  19. def =!=[TT, W](other: ThisType[TT, U])(implicit w: With.Aux[T, TT, W]): ThisType[W, Boolean]

    Permalink

    Inequality test.

    Inequality test.

    df.filter( df.col('a) =!= df.col('b) )

    apache/spark

    Definition Classes
    AbstractTypedColumn
  20. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  21. def ===[TT, W](other: ThisType[TT, U])(implicit w: With.Aux[T, TT, W]): ThisType[W, Boolean]

    Permalink

    Equality test.

    Equality test.

    df.filter( df.col('a) === df.col('b) )

    apache/spark

    Definition Classes
    AbstractTypedColumn
  22. def ===(u: U): ThisType[T, Boolean]

    Permalink

    Equality test.

    Equality test.

    df.filter( df.col('a) === 1 )

    apache/spark

    Definition Classes
    AbstractTypedColumn
  23. def >(u: U)(implicit i0: CatalystOrdered[U]): ThisType[T, Boolean]

    Permalink

    Greater than.

    Greater than.

    // The following selects people older than 21.
    df.select( df('age) > 21 )
    u

    another column of the same type apache/spark

    Definition Classes
    AbstractTypedColumn
  24. def >[TT, W](other: ThisType[TT, U])(implicit i0: CatalystOrdered[U], w: With.Aux[T, TT, W]): ThisType[W, Boolean]

    Permalink

    Greater than.

    Greater than.

    // The following selects people older than the maxAge column.
    df.select( df('age) > df('maxAge) )
    other

    another column of the same type apache/spark

    Definition Classes
    AbstractTypedColumn
  25. def >=(u: U)(implicit i0: CatalystOrdered[U]): ThisType[T, Boolean]

    Permalink

    Greater than or equal.

    Greater than or equal.

    // The following selects people older than 20.
    df.select( df('age) >= 21 )
    u

    another column of the same type apache/spark

    Definition Classes
    AbstractTypedColumn
  26. def >=[TT, W](other: ThisType[TT, U])(implicit i0: CatalystOrdered[U], w: With.Aux[T, TT, W]): ThisType[W, Boolean]

    Permalink

    Greater than or equal.

    Greater than or equal.

    // The following selects people older or equal than the maxAge column.
    df.select( df('age) >= df('maxAge) )
    other

    another column of the same type apache/spark

    Definition Classes
    AbstractTypedColumn
  27. def ^[TT, W](other: ThisType[TT, U])(implicit n: CatalystBitwise[U], w: With.Aux[T, TT, W]): ThisType[W, U]

    Permalink

    Bitwise XOR this expression and another expression.

    Bitwise XOR this expression and another expression.

    df.select(df.col('colA) ^ (df.col('colB)))
    other

    a constant of the same type apache/spark

    Definition Classes
    AbstractTypedColumn
  28. def ^(u: U)(implicit n: CatalystBitwise[U]): ThisType[T, U]

    Permalink

    Bitwise XOR this expression and another expression (of same type).

    Bitwise XOR this expression and another expression (of same type).

    df.select(df.col('colA).cast[Long] ^ 1L)
    u

    a constant of the same type apache/spark

    Definition Classes
    AbstractTypedColumn
  29. def and[TT, W](other: ThisType[TT, Boolean])(implicit w: With.Aux[T, TT, W]): ThisType[W, Boolean]

    Permalink

    Boolean AND.

    Boolean AND.

    df.filter ( (df.col('a) === 1).and(df.col('b) > 5) )
    Definition Classes
    AbstractTypedColumn
  30. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  31. def asc(implicit catalystOrdered: CatalystOrdered[U]): SortedTypedColumn[T, U]

    Permalink

    Returns an ascending ordering used in sorting

    Returns an ascending ordering used in sorting

    apache/spark

    Definition Classes
    AbstractTypedColumn
  32. def between[TT1, TT2, W1, W2](lowerBound: ThisType[TT1, U], upperBound: ThisType[TT2, U])(implicit i0: CatalystOrdered[U], w0: With.Aux[T, TT1, W1], w1: With.Aux[TT2, W1, W2]): ThisType[W2, Boolean]

    Permalink

    True if the current column is between the lower bound and upper bound, inclusive.

    True if the current column is between the lower bound and upper bound, inclusive.

    lowerBound

    another column of the same type

    upperBound

    another column of the same type apache/spark

    Definition Classes
    AbstractTypedColumn
  33. def between(lowerBound: U, upperBound: U)(implicit i0: CatalystOrdered[U]): ThisType[T, Boolean]

    Permalink

    True if the current column is between the lower bound and upper bound, inclusive.

    True if the current column is between the lower bound and upper bound, inclusive.

    lowerBound

    a constant of the same type

    upperBound

    a constant of the same type apache/spark

    Definition Classes
    AbstractTypedColumn
  34. def bitwiseAND[TT, W](other: ThisType[TT, U])(implicit n: CatalystBitwise[U], w: With.Aux[T, TT, W]): ThisType[W, U]

    Permalink

    Bitwise AND this expression and another expression.

    Bitwise AND this expression and another expression.

    df.select(df.col('colA) bitwiseAND (df.col('colB)))
    Definition Classes
    AbstractTypedColumn
  35. def bitwiseAND(u: U)(implicit n: CatalystBitwise[U]): ThisType[T, U]

    Permalink

    Bitwise AND this expression and another expression.

    Bitwise AND this expression and another expression.

    df.select(df.col('colA) bitwiseAND (df.col('colB)))
    u

    a constant of the same type apache/spark

    Definition Classes
    AbstractTypedColumn
  36. def bitwiseOR[TT, W](other: ThisType[TT, U])(implicit n: CatalystBitwise[U], w: With.Aux[T, TT, W]): ThisType[W, U]

    Permalink

    Bitwise OR this expression and another expression.

    Bitwise OR this expression and another expression.

    df.select(df.col('colA) bitwiseOR (df.col('colB)))
    other

    a constant of the same type apache/spark

    Definition Classes
    AbstractTypedColumn
  37. def bitwiseOR(u: U)(implicit n: CatalystBitwise[U]): ThisType[T, U]

    Permalink

    Bitwise OR this expression and another expression.

    Bitwise OR this expression and another expression.

    df.select(df.col('colA) bitwiseOR (df.col('colB)))
    u

    a constant of the same type apache/spark

    Definition Classes
    AbstractTypedColumn
  38. def bitwiseXOR[TT, W](other: ThisType[TT, U])(implicit n: CatalystBitwise[U], w: With.Aux[T, TT, W]): ThisType[W, U]

    Permalink

    Bitwise XOR this expression and another expression.

    Bitwise XOR this expression and another expression.

    df.select(df.col('colA) bitwiseXOR (df.col('colB)))
    other

    a constant of the same type apache/spark

    Definition Classes
    AbstractTypedColumn
  39. def bitwiseXOR(u: U)(implicit n: CatalystBitwise[U]): ThisType[T, U]

    Permalink

    Bitwise XOR this expression and another expression.

    Bitwise XOR this expression and another expression.

    df.select(df.col('colA) bitwiseXOR (df.col('colB)))
    u

    a constant of the same type apache/spark

    Definition Classes
    AbstractTypedColumn
  40. def cast[A](implicit arg0: TypedEncoder[A], c: CatalystCast[U, A]): ThisType[T, A]

    Permalink

    Casts the column to a different type.

    Casts the column to a different type.

    df.select(df('a).cast[Int])
    Definition Classes
    AbstractTypedColumn
  41. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. def contains[TT, W](other: ThisType[TT, U])(implicit ev: =:=[U, String], w: With.Aux[T, TT, W]): ThisType[W, Boolean]

    Permalink

    String contains.

    String contains.

    df.filter ( df.col('a).contains(df.col('b) )
    other

    a column which values is used as a string that is being tested against. apache/spark

    Definition Classes
    AbstractTypedColumn
  43. def contains(other: String)(implicit ev: =:=[U, String]): ThisType[T, Boolean]

    Permalink

    String contains another string literal.

    String contains another string literal.

    df.filter ( df.col('a).contains("foo") )
    other

    a string that is being tested against. apache/spark

    Definition Classes
    AbstractTypedColumn
  44. def desc(implicit catalystOrdered: CatalystOrdered[U]): SortedTypedColumn[T, U]

    Permalink

    Returns a descending ordering used in sorting

    Returns a descending ordering used in sorting

    apache/spark

    Definition Classes
    AbstractTypedColumn
  45. def divide[Out, TT, W](other: ThisType[TT, U])(implicit arg0: TypedEncoder[Out], n: CatalystDivisible[U, Out], w: With.Aux[T, TT, W]): ThisType[W, Out]

    Permalink

    Division this expression by another expression.

    Division this expression by another expression.

    // The following divides a person's height by their weight.
    people.select( people('height) / people('weight) )
    other

    another column of the same type apache/spark

    Definition Classes
    AbstractTypedColumn
  46. def endsWith[TT, W](other: ThisType[TT, U])(implicit ev: =:=[U, String], w: With.Aux[T, TT, W]): ThisType[W, Boolean]

    Permalink

    String ends with.

    String ends with.

    df.filter ( df.col('a).endsWith(df.col('b))
    other

    a column which values is used as a suffix that is being tested against. apache/spark

    Definition Classes
    AbstractTypedColumn
  47. def endsWith(other: String)(implicit ev: =:=[U, String]): ThisType[T, Boolean]

    Permalink

    String ends with another string literal.

    String ends with another string literal.

    df.filter ( df.col('a).endsWith("foo")
    other

    a suffix that is being tested against. apache/spark

    Definition Classes
    AbstractTypedColumn
  48. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  49. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  50. val expr: Expression

    Permalink
    Definition Classes
    AbstractTypedColumnUntypedExpression
  51. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  52. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  53. def getOrElse[Out](default: Out)(implicit arg0: TypedEncoder[Out], i0: =:=[U, Option[Out]]): ThisType[T, Out]

    Permalink

    Convert an Optional column by providing a default value

    Convert an Optional column by providing a default value

    df( df('opt).getOrElse(defaultConstant) )
    Definition Classes
    AbstractTypedColumn
  54. def getOrElse[TT, W, Out](default: ThisType[TT, Out])(implicit i0: =:=[U, Option[Out]], i1: With.Aux[T, TT, W]): ThisType[W, Out]

    Permalink

    Convert an Optional column by providing a default value

    Convert an Optional column by providing a default value

    df( df('opt).getOrElse(df('defaultValue)) )
    Definition Classes
    AbstractTypedColumn
  55. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  56. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  57. def isNone(implicit i0: <:<[U, Option[_]]): ThisType[T, Boolean]

    Permalink

    True if the current expression is an Option and it's None.

    True if the current expression is an Option and it's None.

    apache/spark

    Definition Classes
    AbstractTypedColumn
  58. def isNotNone(implicit i0: <:<[U, Option[_]]): ThisType[T, Boolean]

    Permalink

    True if the current expression is an Option and it's not None.

    True if the current expression is an Option and it's not None.

    apache/spark

    Definition Classes
    AbstractTypedColumn
  59. def isin(values: U*)(implicit e: CatalystIsin[U]): ThisType[T, Boolean]

    Permalink

    Returns true if the value of this column is contained in of the arguments.

    Returns true if the value of this column is contained in of the arguments.

    // The following selects people with age 15, 20, or 30.
    df.select( df('age).isin(15, 20, 30) )
    values

    are constants of the same type apache/spark

    Definition Classes
    AbstractTypedColumn
  60. def lit[U1](c: U1)(implicit arg0: TypedEncoder[U1]): TypedColumn[T, U1]

    Permalink

    Creates a typed column of either TypedColumn or TypedAggregate.

    Creates a typed column of either TypedColumn or TypedAggregate.

    Definition Classes
    TypedColumnAbstractTypedColumn
  61. def minus[TT, W](other: ThisType[TT, U])(implicit n: CatalystNumeric[U], w: With.Aux[T, TT, W]): ThisType[W, U]

    Permalink

    Subtraction.

    Subtraction. Subtract the other expression from this expression.

    // The following selects the difference between people's height and their weight.
    people.select( people.col('height) minus people.col('weight) )

    apache/spark

    Definition Classes
    AbstractTypedColumn
  62. def multiply[TT, W](other: ThisType[TT, U])(implicit n: CatalystNumeric[U], w: With.Aux[T, TT, W], t: ClassTag[U]): ThisType[W, U]

    Permalink

    Multiplication of this expression and another expression.

    Multiplication of this expression and another expression.

    // The following multiplies a person's height by their weight.
    people.select( people.col('height) multiply people.col('weight) )

    apache/spark

    Definition Classes
    AbstractTypedColumn
  63. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  64. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  65. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  66. def or[TT, W](other: ThisType[TT, Boolean])(implicit w: With.Aux[T, TT, W]): ThisType[W, Boolean]

    Permalink

    Boolean OR.

    Boolean OR.

    df.filter ( (df.col('a) === 1).or(df.col('b) > 5) )
    Definition Classes
    AbstractTypedColumn
  67. def plus[TT, W](other: ThisType[TT, U])(implicit n: CatalystNumeric[U], w: With.Aux[T, TT, W]): ThisType[W, U]

    Permalink

    Sum of this expression and another expression.

    Sum of this expression and another expression.

    // The following selects the sum of a person's height and weight.
    people.select( people.col('height) plus people.col('weight) )

    apache/spark

    Definition Classes
    AbstractTypedColumn
  68. def startsWith[TT, W](other: ThisType[TT, U])(implicit ev: =:=[U, String], w: With.Aux[T, TT, W]): ThisType[W, Boolean]

    Permalink

    String starts with.

    String starts with.

    df.filter ( df.col('a).startsWith(df.col('b))
    other

    a column which values is used as a prefix that is being tested against. apache/spark

    Definition Classes
    AbstractTypedColumn
  69. def startsWith(other: String)(implicit ev: =:=[U, String]): ThisType[T, Boolean]

    Permalink

    String starts with another string literal.

    String starts with another string literal.

    df.filter ( df.col('a).startsWith("foo")
    other

    a prefix that is being tested against. apache/spark

    Definition Classes
    AbstractTypedColumn
  70. def substr[TT1, TT2, W1, W2](startPos: ThisType[TT1, Int], len: ThisType[TT2, Int])(implicit ev: =:=[U, String], w1: With.Aux[T, TT1, W1], w2: With.Aux[W1, TT2, W2]): ThisType[W2, String]

    Permalink

    An expression that returns a substring

    An expression that returns a substring

    df.select(df('a).substr(df('b), df('c)))
    startPos

    expression for the starting position

    len

    expression for the length of the substring

    Definition Classes
    AbstractTypedColumn
  71. def substr(startPos: Int, len: Int)(implicit ev: =:=[U, String]): ThisType[T, String]

    Permalink

    An expression that returns a substring

    An expression that returns a substring

    df.select(df('a).substr(0, 5))
    startPos

    starting position

    len

    length of the substring

    Definition Classes
    AbstractTypedColumn
  72. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  73. def toString(): String

    Permalink
    Definition Classes
    UntypedExpression → AnyRef → Any
  74. def typed[W, U1](c: Column)(implicit arg0: TypedEncoder[U1]): TypedColumn[W, U1]

    Permalink

    Creates a typed column of either TypedColumn or TypedAggregate.

    Creates a typed column of either TypedColumn or TypedAggregate.

    Definition Classes
    TypedColumnAbstractTypedColumn
  75. def typed[W, U1](e: Expression)(implicit arg0: TypedEncoder[U1]): ThisType[W, U1]

    Permalink

    Creates a typed column of either TypedColumn or TypedAggregate from an expression.

    Creates a typed column of either TypedColumn or TypedAggregate from an expression.

    Attributes
    protected
    Definition Classes
    AbstractTypedColumn
  76. implicit val uenc: TypedEncoder[U]

    Permalink
  77. implicit val uencoder: TypedEncoder[U]

    Permalink
    Definition Classes
    AbstractTypedColumnUntypedExpression
  78. def unary_-(implicit n: CatalystNumeric[U]): ThisType[T, U]

    Permalink

    Unary minus, i.e.

    Unary minus, i.e. negate the expression.

    // Select the amount column and negates all values.
    df.select( -df('amount) )

    apache/spark

    Definition Classes
    AbstractTypedColumn
  79. def untyped: Column

    Permalink

    Fall back to an untyped Column

    Fall back to an untyped Column

    Definition Classes
    AbstractTypedColumn
  80. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  81. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  82. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  83. def |[TT, W](other: ThisType[TT, U])(implicit n: CatalystBitwise[U], w: With.Aux[T, TT, W]): ThisType[W, U]

    Permalink

    Bitwise OR this expression and another expression.

    Bitwise OR this expression and another expression.

    df.select(df.col('colA) | (df.col('colB)))
    other

    a constant of the same type apache/spark

    Definition Classes
    AbstractTypedColumn
  84. def |(u: U)(implicit n: CatalystBitwise[U]): ThisType[T, U]

    Permalink

    Bitwise OR this expression and another expression (of same type).

    Bitwise OR this expression and another expression (of same type).

    df.select(df.col('colA).cast[Long] | 1L)
    u

    a constant of the same type apache/spark

    Definition Classes
    AbstractTypedColumn
  85. def ||[TT, W](other: ThisType[TT, Boolean])(implicit w: With.Aux[T, TT, W]): ThisType[W, Boolean]

    Permalink

    Boolean OR.

    Boolean OR.

    df.filter ( df.col('a) === 1 || df.col('b) > 5)
    Definition Classes
    AbstractTypedColumn

Inherited from AbstractTypedColumn[T, U]

Inherited from UntypedExpression[T]

Inherited from AnyRef

Inherited from Any

Ungrouped