Class

doric.syntax.CommonColumns

BasicCol

Related Doc: package CommonColumns

Permalink

implicit class BasicCol[T] extends AnyRef

Extension methods for any kind of column

Linear Supertypes
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. BasicCol
  2. AnyRef
  3. Any
Implicitly
  1. by LiteralOps
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BasicCol(column: DoricColumn[T])(implicit arg0: SparkType[T])

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from BasicCol[T] to any2stringadd[BasicCol[T]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (BasicCol[T], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from BasicCol[T] to ArrowAssoc[BasicCol[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. def <=>(other: DoricColumn[T]): BooleanColumn

    Permalink

    Type & null safe equals between Columns

    Type & null safe equals between Columns

    other

    the column to compare

    returns

    a reference to a Boolean DoricColumn with the comparation

  6. def =!=(other: DoricColumn[T]): BooleanColumn

    Permalink

    Type safe distinct between Columns

    Type safe distinct between Columns

    other

    the column to compare

    returns

    a reference to a Boolean DoricColumn with the comparation

  7. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def ===(other: DoricColumn[T]): BooleanColumn

    Permalink

    Type safe equals between Columns

    Type safe equals between Columns

    other

    the column to compare

    returns

    a reference to a Boolean DoricColumn with the comparation

  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def asc: DoricColumn[T]

    Permalink

    Sorts a column in ascending order

    Sorts a column in ascending order

    returns

    A DoricColumn of the provided type

    See also

    org.apache.spark.sql.Column.asc

  11. def ascNullsFirst: DoricColumn[T]

    Permalink

    Sorts a column in ascending order with null values returned before non-null values

    Sorts a column in ascending order with null values returned before non-null values

    returns

    A DoricColumn of the provided type

    See also

    org.apache.spark.sql.Column.asc_nulls_first

  12. def ascNullsLast: DoricColumn[T]

    Permalink

    Sorts a column in ascending order with null values returned after non-null values

    Sorts a column in ascending order with null values returned after non-null values

    returns

    A DoricColumn of the provided type

    See also

    org.apache.spark.sql.Column.asc_nulls_last

  13. def cast[To](implicit arg0: CastToT[To], arg1: SparkType[To]): DoricColumn[To]

    Permalink

    Cast the column.

    Cast the column.

    To

    the type to cast to.

    returns

    the DoricColumn of the provided type.

  14. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. def desc: DoricColumn[T]

    Permalink

    Sorts a column in descending order

    Sorts a column in descending order

    returns

    A DoricColumn of the provided type

    See also

    org.apache.spark.sql.Column.desc

  16. def descNullsFirst: DoricColumn[T]

    Permalink

    Sorts a column in descending order with null values returned before non-null values

    Sorts a column in descending order with null values returned before non-null values

    returns

    A DoricColumn of the provided type

    See also

    org.apache.spark.sql.Column.desc_nulls_first

  17. def descNullsLast: DoricColumn[T]

    Permalink

    Sorts a column in descending order with null values returned after non-null values

    Sorts a column in descending order with null values returned after non-null values

    returns

    A DoricColumn of the provided type

    See also

    org.apache.spark.sql.Column.desc_nulls_last

  18. def ensuring(cond: (BasicCol[T]) ⇒ Boolean, msg: ⇒ Any): BasicCol[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from BasicCol[T] to Ensuring[BasicCol[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: (BasicCol[T]) ⇒ Boolean): BasicCol[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from BasicCol[T] to Ensuring[BasicCol[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. def ensuring(cond: Boolean, msg: ⇒ Any): BasicCol[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from BasicCol[T] to Ensuring[BasicCol[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. def ensuring(cond: Boolean): BasicCol[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from BasicCol[T] to Ensuring[BasicCol[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  22. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  24. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from BasicCol[T] to StringFormat[BasicCol[T]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  26. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  27. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  28. def isIn(elems: T*): BooleanColumn

    Permalink

    Checks if the element is equal to any of the provided literals.

    Checks if the element is equal to any of the provided literals.

    elems

    literals to compare to

    returns

    Boolean DoricColumn with the comparation logic.

    See also

    org.apache.spark.sql.Column.isin

  29. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  30. def isNotNull: BooleanColumn

    Permalink

    Checks if the value of the column is not null

    Checks if the value of the column is not null

    returns

    Boolean DoricColumn

    See also

    org.apache.spark.sql.Column.isNotNull

  31. def isNull: BooleanColumn

    Permalink

    Checks if the value of the column is null

    Checks if the value of the column is null

    returns

    Boolean DoricColumn

    See also

    org.apache.spark.sql.Column.isNull

  32. def lit(implicit l: Location): LiteralDoricColumn[BasicCol[T]]

    Permalink

    Transforms the original value to a literal.

    Transforms the original value to a literal.

    returns

    a literal with the same type.

    Implicit information
    This member is added by an implicit conversion from BasicCol[T] to doric.LiteralOps[BasicCol[T]] performed by method LiteralOps in doric.syntax.LiteralConversions. This conversion will take place only if an implicit value of type SparkType[BasicCol[T]] is in scope and at the same time an implicit value of type LiteralSparkType[BasicCol[T]] is in scope.
    Definition Classes
    LiteralOps
    Annotations
    @inline()
  33. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  36. def pipe[O](f: (DoricColumn[T]) ⇒ DoricColumn[O]): DoricColumn[O]

    Permalink

    Pipes the column with the provided transformation

    Pipes the column with the provided transformation

    O

    the returning type

    f

    the function to apply to the column.

    returns

    the DoricColumn reference with of the provided logic

  37. def repeatArray(times: IntegerColumn): ArrayColumn[T]

    Permalink

    Creates an array containing the left argument repeated the number of times given by the right argument.

    Creates an array containing the left argument repeated the number of times given by the right argument.

    See also

    org.apache.spark.sql.functions.array_repeat

  38. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  40. def unsafeCast[To](implicit arg0: WCastToT[To], arg1: SparkType[To]): DoricColumn[To]

    Permalink

    Allows to cast to posible wrong or with unexpected behaviour type, like casting String to Int, that can be resulted in null types.

    Allows to cast to posible wrong or with unexpected behaviour type, like casting String to Int, that can be resulted in null types.

    To

    the type to cast to.

    returns

    the DoricColumn of the provided type

  41. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. def [B](y: B): (BasicCol[T], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from BasicCol[T] to ArrowAssoc[BasicCol[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion LiteralOps from BasicCol[T] to doric.LiteralOps[BasicCol[T]]

Inherited by implicit conversion any2stringadd from BasicCol[T] to any2stringadd[BasicCol[T]]

Inherited by implicit conversion StringFormat from BasicCol[T] to StringFormat[BasicCol[T]]

Inherited by implicit conversion Ensuring from BasicCol[T] to Ensuring[BasicCol[T]]

Inherited by implicit conversion ArrowAssoc from BasicCol[T] to ArrowAssoc[BasicCol[T]]

All Types

Ungrouped