Trait/Object

doric

DoricColumn

Related Docs: object DoricColumn | package doric

Permalink

sealed trait DoricColumn[T] extends AnyRef

Linear Supertypes
Known Subclasses
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. DoricColumn
  2. AnyRef
  3. Any
Implicitly
  1. by IntegralOperationsSyntax2_31
  2. by StringOperationsSyntax24
  3. by BinaryOperationsSyntax30_31
  4. by BinaryOperationsSyntax
  5. by ControlStructuresImpl
  6. by StringOperationsSyntax
  7. by BooleanOperationsSyntax
  8. by TimestampColumnLikeSyntax
  9. by DateColumnLikeSyntax
  10. by NumWithDecimalsOperationsSyntax
  11. by IntegralOperationsSyntax
  12. by LongOperationsSyntax
  13. by NumericOperationsSyntax
  14. by MapColumnOps
  15. by DoricColLiteralGetter
  16. by LiteralOps
  17. by StructOps
  18. by DStructOps
  19. by BasicCol
  20. by CastingImpl
  21. by any2stringadd
  22. by StringFormat
  23. by Ensuring
  24. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val elem: Doric[Column]

    Permalink

Concrete 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: DoricColumn[T]): DoricColumn[T]

    Permalink

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumericOperationsSyntax[T] performed by method NumericOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.types.NumericType (T: NumericType).
    Definition Classes
    NumericOperationsSyntax
  4. def &&(other: DoricColumn[Boolean]): DoricColumn[Boolean]

    Permalink

    Boolean AND

    Boolean AND

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.BooleanOperationsSyntax performed by method BooleanOperationsSyntax in doric.syntax.BooleanColumns. This conversion will take place only if T is Boolean (T =:= Boolean).
    Definition Classes
    BooleanOperationsSyntax
  5. def *(other: DoricColumn[T]): DoricColumn[T]

    Permalink

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumericOperationsSyntax[T] performed by method NumericOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.types.NumericType (T: NumericType).
    Definition Classes
    NumericOperationsSyntax
  6. def +(s2: StringColumn): StringColumn

    Permalink

    Similar to concat doric function, but only with two columns

    Similar to concat doric function, but only with two columns

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    See also

    org.apache.spark.sql.functions.concat

  7. def +(other: DoricColumn[T]): DoricColumn[T]

    Permalink

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumericOperationsSyntax[T] performed by method NumericOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.types.NumericType (T: NumericType).
    Definition Classes
    NumericOperationsSyntax
  8. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to any2stringadd[DoricColumn[T]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  9. def -(other: DoricColumn[T]): DoricColumn[T]

    Permalink

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumericOperationsSyntax[T] performed by method NumericOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.types.NumericType (T: NumericType).
    Definition Classes
    NumericOperationsSyntax
  10. def ->[B](y: B): (DoricColumn[T], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to ArrowAssoc[DoricColumn[T]] performed by method ArrowAssoc in scala.Predef. This conversion will take place only if T is a superclass of Any and a subclass of Map[Nothing, Nothing] with Long with Boolean with String (T >: Any <: Map[Nothing, Nothing] with Long with Boolean with String).
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  11. def /(other: DoricColumn[T]): DoricColumn[Double]

    Permalink

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumericOperationsSyntax[T] performed by method NumericOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.types.NumericType (T: NumericType).
    Definition Classes
    NumericOperationsSyntax
  12. def <(other: StringColumn): BooleanColumn

    Permalink

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
  13. def <=(other: StringColumn): BooleanColumn

    Permalink

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
  14. 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

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.BasicCol[T] performed by method BasicCol in doric.syntax.CommonColumns. This conversion will take place only if T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    BasicCol
  15. 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

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.BasicCol[T] performed by method BasicCol in doric.syntax.CommonColumns. This conversion will take place only if T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    BasicCol
  16. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  17. 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

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.BasicCol[T] performed by method BasicCol in doric.syntax.CommonColumns. This conversion will take place only if T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    BasicCol
  18. def >(other: StringColumn): BooleanColumn

    Permalink

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
  19. def >=(other: StringColumn): BooleanColumn

    Permalink

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
  20. def abs: DoricColumn[T]

    Permalink

    Computes the absolute value of a numeric value.

    Computes the absolute value of a numeric value.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumericOperationsSyntax[T] performed by method NumericOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.types.NumericType (T: NumericType).
    Definition Classes
    NumericOperationsSyntax
    See also

    org.apache.spark.sql.functions.abs

  21. def acos: DoubleColumn

    Permalink

    Inverse cosine of column in radians, as if computed by java.lang.Math.acos

    Inverse cosine of column in radians, as if computed by java.lang.Math.acos

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumericOperationsSyntax[T] performed by method NumericOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.types.NumericType (T: NumericType).
    Definition Classes
    NumericOperationsSyntax
    See also

    org.apache.spark.sql.functions.acos

  22. def addDays(days: IntegerColumn): DateColumn

    Permalink

    Returns the date that is days days after date column

    Returns the date that is days days after date column

    days

    A column of the number of days to add to date column, can be negative to subtract days

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.DateColumnLikeSyntax[T] performed by method DateColumnLikeSyntax in doric.syntax.DateColumns. This conversion will take place only if T is context-bounded by doric.types.DateType (T: DateType) and at the same time T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    DateColumnLikeSyntax
    Note

    Timestamp columns will be truncated to Date column

  23. def addMonths(nMonths: IntegerColumn): DateColumn

    Permalink

    Adds to the Date or Timestamp column the number of months

    Adds to the Date or Timestamp column the number of months

    nMonths

    the number of months to add, can be negative to subtract.

    returns

    Date column after adding months

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.DateColumnLikeSyntax[T] performed by method DateColumnLikeSyntax in doric.syntax.DateColumns. This conversion will take place only if T is context-bounded by doric.types.DateType (T: DateType) and at the same time T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    DateColumnLikeSyntax
    Note

    Timestamp columns will be truncated to Date column

  24. def and(other: DoricColumn[Boolean]): DoricColumn[Boolean]

    Permalink

    Boolean AND

    Boolean AND

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.BooleanOperationsSyntax performed by method BooleanOperationsSyntax in doric.syntax.BooleanColumns. This conversion will take place only if T is Boolean (T =:= Boolean).
    Definition Classes
    BooleanOperationsSyntax
  25. def as(colName: String): NamedDoricColumn[T]

    Permalink

    Gives the column an alias.

    Gives the column an alias.

    colName

    the alias to set the column.

    returns

    DoricColumn with the alias

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.CastingImpl[T] performed by method CastingImpl in doric.syntax.CommonColumns.
    Definition Classes
    CastingImpl
  26. def asCName(colName: CName): NamedDoricColumn[T]

    Permalink

    Gives the column an alias.

    Gives the column an alias.

    colName

    the alias to set the column.

    returns

    DoricColumn with the alias

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.CastingImpl[T] performed by method CastingImpl in doric.syntax.CommonColumns.
    Definition Classes
    CastingImpl
  27. final def asInstanceOf[T0]: T0

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

    Permalink

    Sorts a column in ascending order

    Sorts a column in ascending order

    returns

    A DoricColumn of the provided type

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.BasicCol[T] performed by method BasicCol in doric.syntax.CommonColumns. This conversion will take place only if T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    BasicCol
    See also

    org.apache.spark.sql.Column.asc

  29. 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

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.BasicCol[T] performed by method BasicCol in doric.syntax.CommonColumns. This conversion will take place only if T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    BasicCol
    See also

    org.apache.spark.sql.Column.asc_nulls_first

  30. 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

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.BasicCol[T] performed by method BasicCol in doric.syntax.CommonColumns. This conversion will take place only if T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    BasicCol
    See also

    org.apache.spark.sql.Column.asc_nulls_last

  31. def ascii: IntegerColumn

    Permalink

    Computes the numeric value of the first character of the string column, and returns the result as an int column.

    Computes the numeric value of the first character of the string column, and returns the result as an int column.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    See also

    org.apache.spark.sql.functions.ascii

  32. def asin: DoubleColumn

    Permalink

    Inverse sine of the column in radians, as if computed by java.lang.Math.asin

    Inverse sine of the column in radians, as if computed by java.lang.Math.asin

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumericOperationsSyntax[T] performed by method NumericOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.types.NumericType (T: NumericType).
    Definition Classes
    NumericOperationsSyntax
    See also

    org.apache.spark.sql.functions.asin

  33. def atan: DoubleColumn

    Permalink

    Inverse tangent of the column as if computed by java.lang.Math.atan

    Inverse tangent of the column as if computed by java.lang.Math.atan

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumericOperationsSyntax[T] performed by method NumericOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.types.NumericType (T: NumericType).
    Definition Classes
    NumericOperationsSyntax
    See also

    org.apache.spark.sql.functions.atan

  34. def atan2(xCoordinates: DoricColumn[T]): DoubleColumn

    Permalink

    The theta component of the point (r, theta) in polar coordinates that corresponds to the point (x, y) in Cartesian coordinates, as if computed by java.lang.Math.atan2

    The theta component of the point (r, theta) in polar coordinates that corresponds to the point (x, y) in Cartesian coordinates, as if computed by java.lang.Math.atan2

    The column corresponds to yCoordinates

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumericOperationsSyntax[T] performed by method NumericOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.types.NumericType (T: NumericType).
    Definition Classes
    NumericOperationsSyntax
    See also

    org.apache.spark.sql.functions.atan2

  35. def bRound(scale: IntegerColumn): DoricColumn[T]

    Permalink

    Round the value of e to scale decimal places with HALF_EVEN round mode if scale is greater than or equal to 0 or at integral part when scale is less than 0.

    Round the value of e to scale decimal places with HALF_EVEN round mode if scale is greater than or equal to 0 or at integral part when scale is less than 0.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumWithDecimalsOperationsSyntax[T] performed by method NumWithDecimalsOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.syntax.NumWithDecimalsType (T: NumWithDecimalsType).
    Definition Classes
    NumWithDecimalsOperationsSyntax
    To do

    decimal type

    See also

    org.apache.spark.sql.functions.bround

  36. def bRound: DoricColumn[T]

    Permalink

    Returns the value of the column rounded to 0 decimal places with HALF_EVEN round mode

    Returns the value of the column rounded to 0 decimal places with HALF_EVEN round mode

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumWithDecimalsOperationsSyntax[T] performed by method NumWithDecimalsOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.syntax.NumWithDecimalsType (T: NumWithDecimalsType).
    Definition Classes
    NumWithDecimalsOperationsSyntax
    To do

    decimal type

    See also

    org.apache.spark.sql.functions.bround

  37. def base64: StringColumn

    Permalink

    Computes the BASE64 encoding of a binary column and returns it as a string column.

    Computes the BASE64 encoding of a binary column and returns it as a string column. This is the reverse of unbase64.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.BinaryOperationsSyntax[T] performed by method BinaryOperationsSyntax in doric.syntax.BinaryColumns. This conversion will take place only if T is context-bounded by doric.types.BinaryType (T: BinaryType) and at the same time T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    BinaryOperationsSyntax
    See also

    org.apache.spark.sql.functions.base64

  38. def bin: StringColumn

    Permalink

    An expression that returns the string representation of the binary value of the given long column.

    An expression that returns the string representation of the binary value of the given long column. For example, bin("12") returns "1100".

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumericOperationsSyntax[T] performed by method NumericOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.types.NumericType (T: NumericType).
    Definition Classes
    NumericOperationsSyntax
    See also

    org.apache.spark.sql.functions.bin

  39. def bitwiseNot: DoricColumn[T]

    Permalink

    Computes bitwise NOT (~) of a number.

    Computes bitwise NOT (~) of a number.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.IntegralOperationsSyntax2_31[T] performed by method IntegralOperationsSyntax2_31 in doric.syntax.NumericColumns2_31. This conversion will take place only if T is context-bounded by doric.syntax.IntegralType (T: IntegralType).
    Definition Classes
    IntegralOperationsSyntax2_31
    See also

    org.apache.spark.sql.functions.bitwiseNOT

  40. def cast[To](implicit arg0: Casting[T, 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.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.BasicCol[T] performed by method BasicCol in doric.syntax.CommonColumns. This conversion will take place only if T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    BasicCol
  41. def cbrt: DoubleColumn

    Permalink

    Computes the cube-root of the given value

    Computes the cube-root of the given value

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumericOperationsSyntax[T] performed by method NumericOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.types.NumericType (T: NumericType).
    Definition Classes
    NumericOperationsSyntax
    See also

    org.apache.spark.sql.functions.cbrt

  42. def ceil: LongColumn

    Permalink

    Computes the ceiling of the given value.

    Computes the ceiling of the given value.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumWithDecimalsOperationsSyntax[T] performed by method NumWithDecimalsOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.syntax.NumWithDecimalsType (T: NumWithDecimalsType).
    Definition Classes
    NumWithDecimalsOperationsSyntax
    To do

    decimal type

    See also

    org.apache.spark.sql.functions.ceil

  43. def child: doric.DynamicFieldAccessor[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.DStructOps[T] performed by method DStructOps in doric.syntax.DStructs. This conversion will take place only if an implicit value of type Custom[T, Row] is in scope.
    Definition Classes
    DStructOps
  44. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. def contains(dc: StringColumn): BooleanColumn

    Permalink

    Contains the other element.

    Contains the other element. Returns a boolean column based on a string match.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    See also

    org.apache.spark.sql.Column.contains

  46. def conv(fromBase: IntegerColumn, toBase: IntegerColumn): StringColumn

    Permalink

    Convert a number in a string column from one base to another.

    Convert a number in a string column from one base to another.

    fromBase

    from which base

    toBase

    to which base

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    See also

    org.apache.spark.sql.functions.conv

  47. def cos: DoubleColumn

    Permalink

    Cosine of the angle, as if computed by java.lang.Math.cos

    Cosine of the angle, as if computed by java.lang.Math.cos

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumericOperationsSyntax[T] performed by method NumericOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.types.NumericType (T: NumericType).
    Definition Classes
    NumericOperationsSyntax
    See also

    org.apache.spark.sql.functions.cos

  48. def cosh: DoubleColumn

    Permalink

    Hyperbolic cosine of the angle, as if computed by java.lang.Math.cosh

    Hyperbolic cosine of the angle, as if computed by java.lang.Math.cosh

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumericOperationsSyntax[T] performed by method NumericOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.types.NumericType (T: NumericType).
    Definition Classes
    NumericOperationsSyntax
    See also

    org.apache.spark.sql.functions.cosh

  49. def crc32: LongColumn

    Permalink

    Calculates the cyclic redundancy check value (CRC32) of a binary column and returns the value as a long column.

    Calculates the cyclic redundancy check value (CRC32) of a binary column and returns the value as a long column.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.BinaryOperationsSyntax[T] performed by method BinaryOperationsSyntax in doric.syntax.BinaryColumns. This conversion will take place only if T is context-bounded by doric.types.BinaryType (T: BinaryType) and at the same time T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    BinaryOperationsSyntax
    See also

    org.apache.spark.sql.functions.crc32

  50. def dayOfMonth: IntegerColumn

    Permalink

    Extracts the day of the month as an integer from a given date.

    Extracts the day of the month as an integer from a given date.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.DateColumnLikeSyntax[T] performed by method DateColumnLikeSyntax in doric.syntax.DateColumns. This conversion will take place only if T is context-bounded by doric.types.DateType (T: DateType) and at the same time T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    DateColumnLikeSyntax
    See also

    org.apache.spark.sql.functions.dayofmonth

  51. def dayOfWeek: IntegerColumn

    Permalink

    Extracts the day of the week as an integer from a given date.

    Extracts the day of the week as an integer from a given date. Ranges from 1 for a Sunday through to 7 for a Saturday

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.DateColumnLikeSyntax[T] performed by method DateColumnLikeSyntax in doric.syntax.DateColumns. This conversion will take place only if T is context-bounded by doric.types.DateType (T: DateType) and at the same time T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    DateColumnLikeSyntax
    See also

    org.apache.spark.sql.functions.dayofweek

  52. def dayOfYear: IntegerColumn

    Permalink

    Extracts the day of the year as an integer from a given date.

    Extracts the day of the year as an integer from a given date.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.DateColumnLikeSyntax[T] performed by method DateColumnLikeSyntax in doric.syntax.DateColumns. This conversion will take place only if T is context-bounded by doric.types.DateType (T: DateType) and at the same time T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    DateColumnLikeSyntax
    See also

    org.apache.spark.sql.functions.dayofyear

  53. def decode(charset: StringColumn): StringColumn

    Permalink

    Computes the first argument into a string from a binary using the provided character set (one of 'US-ASCII', 'ISO-8859-1', 'UTF-8', 'UTF-16BE', 'UTF-16LE', 'UTF-16').

    Computes the first argument into a string from a binary using the provided character set (one of 'US-ASCII', 'ISO-8859-1', 'UTF-8', 'UTF-16BE', 'UTF-16LE', 'UTF-16'). If either argument is null, the result will also be null.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.BinaryOperationsSyntax30_31[T] performed by method BinaryOperationsSyntax30_31 in doric.syntax.BinaryColumns30_31. This conversion will take place only if T is context-bounded by doric.types.BinaryType (T: BinaryType) and at the same time T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    BinaryOperationsSyntax30_31
    See also

    org.apache.spark.sql.functions.decode

  54. def degrees: DoubleColumn

    Permalink

    Converts an angle measured in radians to an approximately equivalent angle measured in degrees.

    Converts an angle measured in radians to an approximately equivalent angle measured in degrees.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumericOperationsSyntax[T] performed by method NumericOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.types.NumericType (T: NumericType).
    Definition Classes
    NumericOperationsSyntax
    See also

    org.apache.spark.sql.functions.degrees

  55. def desc: DoricColumn[T]

    Permalink

    Sorts a column in descending order

    Sorts a column in descending order

    returns

    A DoricColumn of the provided type

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.BasicCol[T] performed by method BasicCol in doric.syntax.CommonColumns. This conversion will take place only if T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    BasicCol
    See also

    org.apache.spark.sql.Column.desc

  56. 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

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.BasicCol[T] performed by method BasicCol in doric.syntax.CommonColumns. This conversion will take place only if T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    BasicCol
    See also

    org.apache.spark.sql.Column.desc_nulls_first

  57. 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

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.BasicCol[T] performed by method BasicCol in doric.syntax.CommonColumns. This conversion will take place only if T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    BasicCol
    See also

    org.apache.spark.sql.Column.desc_nulls_last

  58. def diff(dateCol: DoricColumn[T]): IntegerColumn

    Permalink

    Returns the number of days from date column to dateCol.

    Returns the number of days from date column to dateCol.

    dateCol

    A Date or Timestamp column

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.DateColumnLikeSyntax[T] performed by method DateColumnLikeSyntax in doric.syntax.DateColumns. This conversion will take place only if T is context-bounded by doric.types.DateType (T: DateType) and at the same time T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    DateColumnLikeSyntax
    See also

    org.apache.spark.sql.functions.datediff

  59. def elementAt(key: DoricColumn[K]): DoricColumn[V]

    Permalink

    Returns value for the given key in value.

    Returns value for the given key in value.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.MapColumnOps[K, V] performed by method MapColumnOps in doric.syntax.MapColumns.
    This conversion will take place only if all of the following constraints are met:
    1. an implicit value of type SparkType[K] is in scope
    2. an implicit value of type SparkType[V] is in scope
    3. T is Map[K, V] (T =:= Map[K, V])
    Definition Classes
    MapColumnOps
    See also

    org.apache.spark.sql.functions.element_at

  60. def encode(charset: StringColumn): BinaryColumn

    Permalink

    Computes the first argument into a binary from a string using the provided character set (one of 'US-ASCII', 'ISO-8859-1', 'UTF-8', 'UTF-16BE', 'UTF-16LE', 'UTF-16').

    Computes the first argument into a binary from a string using the provided character set (one of 'US-ASCII', 'ISO-8859-1', 'UTF-8', 'UTF-16BE', 'UTF-16LE', 'UTF-16'). If either argument is null, the result will also be null.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    See also

    org.apache.spark.sql.functions.encode

  61. def endOfMonth: DateColumn

    Permalink

    Sets the moment to the last day of the same month.

    Sets the moment to the last day of the same month.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.DateColumnLikeSyntax[T] performed by method DateColumnLikeSyntax in doric.syntax.DateColumns. This conversion will take place only if T is context-bounded by doric.types.DateType (T: DateType) and at the same time T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    DateColumnLikeSyntax
    See also

    org.apache.spark.sql.functions.last_day

  62. def endsWith(dc: StringColumn): BooleanColumn

    Permalink

    String ends with.

    String ends with. Returns a boolean column based on a string match.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    See also

    org.apache.spark.sql.Column.endsWith

  63. def ensuring(cond: (DoricColumn[T]) ⇒ Boolean, msg: ⇒ Any): DoricColumn[T]

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  69. def exp: DoubleColumn

    Permalink

    Computes the exponential of the given column

    Computes the exponential of the given column

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumericOperationsSyntax[T] performed by method NumericOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.types.NumericType (T: NumericType).
    Definition Classes
    NumericOperationsSyntax
    See also

    org.apache.spark.sql.functions.exp

  70. def explode: DoricColumn[Row]

    Permalink

    Creates a new row for each element in the given map column.

    Creates a new row for each element in the given map column.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.MapColumnOps[K, V] performed by method MapColumnOps in doric.syntax.MapColumns.
    This conversion will take place only if all of the following constraints are met:
    1. an implicit value of type SparkType[K] is in scope
    2. an implicit value of type SparkType[V] is in scope
    3. T is Map[K, V] (T =:= Map[K, V])
    Definition Classes
    MapColumnOps
    Example:
    1.    ORIGINAL             SPARK         DORIC
      +----------------+   +---+-----+     +------+
      |col             |   |key|value|     |col   |
      +----------------+   +---+-----+     +------+
      |[a -> b, c -> d]|   |a  |b    |     |{a, b}|
      |[]              |   |c  |d    |     |{c, d}|
      |null            |   +---+-----+     +------+
      +----------------+
    Note

    WARNING: Unlike spark, doric returns a struct

    See also

    org.apache.spark.sql.functions.explode

  71. def explodeOuter: DoricColumn[Row]

    Permalink

    Creates a new row for each element in the given map column.

    Creates a new row for each element in the given map column.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.MapColumnOps[K, V] performed by method MapColumnOps in doric.syntax.MapColumns.
    This conversion will take place only if all of the following constraints are met:
    1. an implicit value of type SparkType[K] is in scope
    2. an implicit value of type SparkType[V] is in scope
    3. T is Map[K, V] (T =:= Map[K, V])
    Definition Classes
    MapColumnOps
    Example:
    1.       ORIGINAL               SPARK            DORIC
      +---+----------------+   +---+----+-----+  +---+------+
      |ix |col             |   |ix |key |value|  |ix |col   |
      +---+----------------+   +---+----+-----+  +---+------+
      |1  |{a -> b, c -> d}|   |1  |a   |b    |  |1  |{a, b}|
      |2  |{}              |   |1  |c   |d    |  |1  |{c, d}|
      |3  |null            |   |2  |null|null |  |2  |null  |
      +---+----------------+   |3  |null|null |  |3  |null  |
                               +---+----+-----+  +---+------+
    Note

    WARNING: Unlike spark, doric returns a struct

    ,

    Unlike explode, if the array is null or empty then null is produced.

    See also

    org.apache.spark.sql.functions.explode_outer

  72. def expm1: DoubleColumn

    Permalink

    Computes the exponential of the given value minus one.

    Computes the exponential of the given value minus one.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumericOperationsSyntax[T] performed by method NumericOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.types.NumericType (T: NumericType).
    Definition Classes
    NumericOperationsSyntax
    See also

    org.apache.spark.sql.functions.expm1

  73. def factorial: LongColumn

    Permalink

    Computes the factorial of the given value.

    Computes the factorial of the given value.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumericOperationsSyntax[T] performed by method NumericOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.types.NumericType (T: NumericType).
    Definition Classes
    NumericOperationsSyntax
    See also

    org.apache.spark.sql.functions.factorial

  74. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  75. def floor: LongColumn

    Permalink

    Computes the floor of the given value

    Computes the floor of the given value

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumWithDecimalsOperationsSyntax[T] performed by method NumWithDecimalsOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.syntax.NumWithDecimalsType (T: NumWithDecimalsType).
    Definition Classes
    NumWithDecimalsOperationsSyntax
    To do

    decimal type

    See also

    org.apache.spark.sql.functions.floor

  76. def format(format: StringColumn): StringColumn

    Permalink

    Converts a date to a value of string in the format specified by the date format given by the second argument.

    Converts a date to a value of string in the format specified by the date format given by the second argument.

    format

    A pattern dd.MM.yyyy would return a string like 18.03.1993

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.DateColumnLikeSyntax[T] performed by method DateColumnLikeSyntax in doric.syntax.DateColumns. This conversion will take place only if T is context-bounded by doric.types.DateType (T: DateType) and at the same time T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    DateColumnLikeSyntax
    Exceptions thrown

    java.lang.IllegalArgumentException if malformed format

    Note

    Use specialized functions like 'year' whenever possible as they benefit from a specialized implementation.

    See also

    org.apache.spark.sql.functions.date_format

  77. def formatNumber(decimals: IntegerColumn): StringColumn

    Permalink

    Formats numeric column x to a format like '#,###,###.##', rounded to d decimal places with HALF_EVEN round mode, and returns the result as a string column.

    Formats numeric column x to a format like '#,###,###.##', rounded to d decimal places with HALF_EVEN round mode, and returns the result as a string column.

    If d is 0, the result has no decimal point or fractional part. If d is less than 0, the result will be null.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumericOperationsSyntax[T] performed by method NumericOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.types.NumericType (T: NumericType).
    Definition Classes
    NumericOperationsSyntax
    See also

    org.apache.spark.sql.functions.format_number

  78. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to StringFormat[DoricColumn[T]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  79. def fromJsonDataType(schema: DataType, options: Map[String, String] = Map.empty): RowColumn

    Permalink

    Parses a column containing a JSON string into a StructType with the specified schema.

    Parses a column containing a JSON string into a StructType with the specified schema.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    To do

    scaladoc link (issue #135)

    Note

    Returns null, in the case of an unparseable string

    See also

    org.apache.spark.sql.functions.from_json(e:org\.apache\.spark\.sql\.Column,schema:org\.apache\.spark\.sql\.types\.DataType,options:scala\.collection\.immutable\.Map\[java\.lang\.String,java\.lang\.String\]):* org.apache.spark.sql.functions.from_json

  80. def fromJsonString(schema: StringColumn, options: Map[String, String] = Map.empty): RowColumn

    Permalink

    Parses a column containing a JSON string into a StructType with the specified schema.

    Parses a column containing a JSON string into a StructType with the specified schema.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    Note

    Returns null, in the case of an unparseable string

    See also

    org.apache.spark.sql.functions.from_json

  81. def fromJsonStruct(schema: StructType, options: Map[String, String] = Map.empty): RowColumn

    Permalink

    Parses a column containing a JSON string into a StructType with the specified schema.

    Parses a column containing a JSON string into a StructType with the specified schema.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    To do

    scaladoc link (issue #135)

    Note

    Returns null, in the case of an unparseable string

    See also

    org.apache.spark.sql.functions.from_json(e:org\.apache\.spark\.sql\.Column,schema:org\.apache\.spark\.sql\.types\.StructType,options:scala\.collection\.immutable\.Map\[java\.lang\.String,java\.lang\.String\]):* org.apache.spark.sql.functions.from_json

  82. def fromUnixTime(format: StringColumn): StringColumn

    Permalink

    Converts the number of seconds from unix epoch (1970-01-01 00:00:00 UTC) to a string representing the timestamp of that moment in the current system time zone in the given format.

    Converts the number of seconds from unix epoch (1970-01-01 00:00:00 UTC) to a string representing the timestamp of that moment in the current system time zone in the given format.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.LongOperationsSyntax performed by method LongOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is Long (T =:= Long).
    Definition Classes
    LongOperationsSyntax
    Exceptions thrown

    java.lang.IllegalArgumentException if invalid format

    See also

    org.apache.spark.sql.functions.from_unixtime

  83. def fromUnixTime: StringColumn

    Permalink

    Converts the number of seconds from unix epoch (1970-01-01 00:00:00 UTC) to a string representing the timestamp of that moment in the current system time zone in the yyyy-MM-dd HH:mm:ss format.

    Converts the number of seconds from unix epoch (1970-01-01 00:00:00 UTC) to a string representing the timestamp of that moment in the current system time zone in the yyyy-MM-dd HH:mm:ss format.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.LongOperationsSyntax performed by method LongOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is Long (T =:= Long).
    Definition Classes
    LongOperationsSyntax
    See also

    org.apache.spark.sql.functions.from_unixtime

  84. def fromUtc(timeZone: StringColumn): TimestampColumn

    Permalink

    Given a timestamp like '2017-07-14 02:40:00.0', interprets it as a time in UTC, and renders that time as a timestamp in the given time zone.

    Given a timestamp like '2017-07-14 02:40:00.0', interprets it as a time in UTC, and renders that time as a timestamp in the given time zone. For example, 'GMT+1' would yield '2017-07-14 03:40:00.0'.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.TimestampColumnLikeSyntax[T] performed by method TimestampColumnLikeSyntax in doric.syntax.TimestampColumns. This conversion will take place only if T is context-bounded by doric.types.TimestampType (T: TimestampType).
    Definition Classes
    TimestampColumnLikeSyntax
    Exceptions thrown

    java.time.DateTimeException if invalid timeZone

    To do

    scaladoc link (issue #135)

    See also

    org.apache.spark.sql.functions.from_utc_timestamp

  85. def get(key: DoricColumn[K]): DoricColumn[V]

    Permalink

    Returns the value if exist of the key

    Returns the value if exist of the key

    key

    the required key

    returns

    a DoricColumn of the type of value, can be null if the key doesn't exist.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.MapColumnOps[K, V] performed by method MapColumnOps in doric.syntax.MapColumns.
    This conversion will take place only if all of the following constraints are met:
    1. an implicit value of type SparkType[K] is in scope
    2. an implicit value of type SparkType[V] is in scope
    3. T is Map[K, V] (T =:= Map[K, V])
    Definition Classes
    MapColumnOps
  86. def getChild[T2](subColumnName: String)(implicit arg0: SparkType[T2], location: Location): DoricColumn[T2]

    Permalink

    Retrieves the child row of the Struct column

    Retrieves the child row of the Struct column

    T2

    the expected type of the child column.

    subColumnName

    the column name expected to find in the struct.

    location

    the location if an error is generated

    returns

    a reference to the child column of the provided type.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.DStructOps[T] performed by method DStructOps in doric.syntax.DStructs. This conversion will take place only if an implicit value of type Custom[T, Row] is in scope.
    Definition Classes
    DStructOps
  87. def getChildSafe[K <: Symbol](k: Aux[K])(implicit S: doric.SelectorWithSparkType[L, K], location: Location): DoricColumn[V]

    Permalink
    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StructOps[T, L] performed by method StructOps in doric.syntax.DStructs. This conversion will take place only if an implicit value of type Aux[T, L] is in scope and at the same time an implicit value of type Custom[T, Row] is in scope.
    Definition Classes
    StructOps
  88. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  89. def getJsonObject(path: StringColumn): StringColumn

    Permalink

    Extracts json object from a json string based on json path specified, and returns json string of the extracted json object.

    Extracts json object from a json string based on json path specified, and returns json string of the extracted json object.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    Example:
    1.  df.withColumn("test", colString("col1").getJsonObject[String](colString("col2")))
         .show(false)
      +-----------------------------------------+----*----*
      |col1                                     |col2|test|
      +-----------------------------------------+----*----*
      |{"a": 1,"b": "a","date": "26/08/2015"}   |$.a |1   |
      |{"a": 2,"b": "test","date": "26/08/2015"}|$.b |test|
      |{"a": 3}                                 |$.b |null|
      +-----------------------------------------+----*----*
    Note

    It will return null if the input json string is invalid.

    See also

    org.apache.spark.sql.functions.get_json_object

  90. def getValueIfLiteral: Option[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.DoricColLiteralGetter[T] performed by method DoricColLiteralGetter in doric.syntax.LiteralConversions. This conversion will take place only if T is context-bounded by doric.types.SparkType.Primitive (T: Primitive).
    Definition Classes
    DoricColLiteralGetter
    Annotations
    @inline()
  91. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  92. def hex: StringColumn

    Permalink

    Computes hex value of the given column

    Computes hex value of the given column

    group Numeric Type

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.IntegralOperationsSyntax[T] performed by method IntegralOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.syntax.IntegralType (T: IntegralType).
    Definition Classes
    IntegralOperationsSyntax
    See also

    org.apache.spark.sql.functions.hex

  93. def hypot(right: DoricColumn[T]): DoubleColumn

    Permalink

    Computes sqrt(a2 + b2) without intermediate overflow or underflow.

    Computes sqrt(a2 + b2) without intermediate overflow or underflow.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumericOperationsSyntax[T] performed by method NumericOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.types.NumericType (T: NumericType).
    Definition Classes
    NumericOperationsSyntax
    See also

    org.apache.spark.sql.functions.hypot

  94. def inStr(substring: StringColumn): IntegerColumn

    Permalink

    Locate the position of the first occurrence of substr column in the given string.

    Locate the position of the first occurrence of substr column in the given string. Returns null if either of the arguments are null.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    Note

    The position is not zero based, but 1 based index. Returns 0 if substr could not be found in str.

    See also

    org.apache.spark.sql.functions.instr

  95. def initCap: StringColumn

    Permalink

    Returns a new string column by converting the first letter of each word to uppercase.

    Returns a new string column by converting the first letter of each word to uppercase. Words are delimited by whitespace.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    Example:
    1. For example, "hello world" will become "Hello World".

    See also

    org.apache.spark.sql.functions.initcap

  96. 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.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.BasicCol[T] performed by method BasicCol in doric.syntax.CommonColumns. This conversion will take place only if T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    BasicCol
    See also

    org.apache.spark.sql.Column.isin

  97. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  98. def isNaN: BooleanColumn

    Permalink

    Checks if the value of the column is not a number

    Checks if the value of the column is not a number

    returns

    Boolean DoricColumn

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumericOperationsSyntax[T] performed by method NumericOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.types.NumericType (T: NumericType).
    Definition Classes
    NumericOperationsSyntax
  99. 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

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.BasicCol[T] performed by method BasicCol in doric.syntax.CommonColumns. This conversion will take place only if T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    BasicCol
    See also

    org.apache.spark.sql.Column.isNotNull

  100. 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

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.BasicCol[T] performed by method BasicCol in doric.syntax.CommonColumns. This conversion will take place only if T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    BasicCol
    See also

    org.apache.spark.sql.Column.isNull

  101. def jsonTuple(name: StringColumn, names: StringColumn*): StringColumn

    Permalink

    Creates a new row for a json column according to the given field names.

    Creates a new row for a json column according to the given field names.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    To do

    It does not return one column but N columns

    See also

    org.apache.spark.sql.functions.json_tuple

  102. def keys: DoricColumn[Array[K]]

    Permalink

    Returns an unordered array containing the keys of the map.

    Returns an unordered array containing the keys of the map.

    returns

    the DoricColumn of the Array of keys

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.MapColumnOps[K, V] performed by method MapColumnOps in doric.syntax.MapColumns.
    This conversion will take place only if all of the following constraints are met:
    1. an implicit value of type SparkType[K] is in scope
    2. an implicit value of type SparkType[V] is in scope
    3. T is Map[K, V] (T =:= Map[K, V])
    Definition Classes
    MapColumnOps
    See also

    org.apache.spark.sql.functions.map_keys

  103. def lastDayOfMonth: DateColumn

    Permalink

    Returns the last day of the month which the given date belongs to.

    Returns the last day of the month which the given date belongs to. For example, input "2015-07-27" returns "2015-07-31" since July 31 is the last day of the month in July 2015.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.DateColumnLikeSyntax[T] performed by method DateColumnLikeSyntax in doric.syntax.DateColumns. This conversion will take place only if T is context-bounded by doric.types.DateType (T: DateType) and at the same time T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    DateColumnLikeSyntax
    See also

    org.apache.spark.sql.functions.last_day

  104. def length: IntegerColumn

    Permalink

    Computes the character length of a given string or number of bytes of a binary string.

    Computes the character length of a given string or number of bytes of a binary string. The length of character strings include the trailing spaces. The length of binary strings includes binary zeros.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    See also

    org.apache.spark.sql.functions.length

  105. def levenshtein(dc: StringColumn): IntegerColumn

    Permalink

    Computes the Levenshtein distance of the two given string columns.

    Computes the Levenshtein distance of the two given string columns.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    See also

    org.apache.spark.sql.functions.levenshtein

  106. def like(literal: StringColumn): BooleanColumn

    Permalink

    SQL like expression.

    SQL like expression. Returns a boolean column based on a SQL LIKE match.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    See also

    org.apache.spark.sql.Column.like

  107. def lit(implicit l: Location): LiteralDoricColumn[DoricColumn[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 DoricColumn[T] to doric.LiteralOps[DoricColumn[T]] performed by method LiteralOps in doric.syntax.LiteralConversions. This conversion will take place only if an implicit value of type SparkType[DoricColumn[T]] is in scope and at the same time an implicit value of type LiteralSparkType[DoricColumn[T]] is in scope.
    Definition Classes
    LiteralOps
    Annotations
    @inline()
  108. def locate(substr: StringColumn, pos: IntegerColumn = 1.lit): IntegerColumn

    Permalink

    Locate the position of the first occurrence of substr in a string column, after position pos.

    Locate the position of the first occurrence of substr in a string column, after position pos.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    To do

    scaladoc link (issue #135)

    Note

    The position is not zero based, but 1 based index. returns 0 if substr could not be found in str.

    See also

    org.apache.spark.sql.functions.locate

  109. def log: DoubleColumn

    Permalink

    Computes the natural logarithm of the given value.

    Computes the natural logarithm of the given value.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumericOperationsSyntax[T] performed by method NumericOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.types.NumericType (T: NumericType).
    Definition Classes
    NumericOperationsSyntax
    See also

    org.apache.spark.sql.functions.log

  110. def log10: DoubleColumn

    Permalink

    Computes the logarithm of the given value in base 10.

    Computes the logarithm of the given value in base 10.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumericOperationsSyntax[T] performed by method NumericOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.types.NumericType (T: NumericType).
    Definition Classes
    NumericOperationsSyntax
    See also

    org.apache.spark.sql.functions.log10

  111. def log1p: DoubleColumn

    Permalink

    Computes the natural logarithm of the given value plus one.

    Computes the natural logarithm of the given value plus one.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumericOperationsSyntax[T] performed by method NumericOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.types.NumericType (T: NumericType).
    Definition Classes
    NumericOperationsSyntax
    See also

    org.apache.spark.sql.functions.log1p

  112. def log2: DoubleColumn

    Permalink

    Computes the logarithm of the given value in base 2.

    Computes the logarithm of the given value in base 2.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumericOperationsSyntax[T] performed by method NumericOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.types.NumericType (T: NumericType).
    Definition Classes
    NumericOperationsSyntax
    See also

    org.apache.spark.sql.functions.log2

  113. def lower: StringColumn

    Permalink

    Converts a string column to lower case.

    Converts a string column to lower case.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    See also

    org.apache.spark.sql.functions.lower

  114. def lpad(len: IntegerColumn, pad: StringColumn): StringColumn

    Permalink

    Left-pad the string column with pad to a length of len.

    Left-pad the string column with pad to a length of len. If the string column is longer than len, the return value is shortened to len characters.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    To do

    scaladoc link (issue #135)

    See also

    org.apache.spark.sql.functions.lpad

  115. def ltrim(trimString: StringColumn): StringColumn

    Permalink

    Trim the specified character string from left end for the specified string column.

    Trim the specified character string from left end for the specified string column.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    See also

    org.apache.spark.sql.functions.ltrim

  116. def ltrim: StringColumn

    Permalink

    Trim the spaces from left end for the specified string value.

    Trim the spaces from left end for the specified string value.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    See also

    org.apache.spark.sql.functions.ltrim

  117. def matchRegex(literal: StringColumn): BooleanColumn

    Permalink

    Same as rLike doric function.

    Same as rLike doric function.

    SQL RLIKE expression (LIKE with Regex). Returns a boolean column based on a regex match.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    See also

    org.apache.spark.sql.Column.rlike

  118. def matches[T]: MatchBuilder[T, T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.ControlStructuresImpl[T] performed by method ControlStructuresImpl in doric.syntax.ControlStructures. This conversion will take place only if T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    ControlStructuresImpl
  119. def md5: StringColumn

    Permalink

    Calculates the MD5 digest of a binary column and returns the value as a 32 character hex string.

    Calculates the MD5 digest of a binary column and returns the value as a 32 character hex string.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.BinaryOperationsSyntax[T] performed by method BinaryOperationsSyntax in doric.syntax.BinaryColumns. This conversion will take place only if T is context-bounded by doric.types.BinaryType (T: BinaryType) and at the same time T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    BinaryOperationsSyntax
    See also

    org.apache.spark.sql.functions.md5

  120. def month: IntegerColumn

    Permalink

    Extracts the month as an integer from a given date.

    Extracts the month as an integer from a given date.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.DateColumnLikeSyntax[T] performed by method DateColumnLikeSyntax in doric.syntax.DateColumns. This conversion will take place only if T is context-bounded by doric.types.DateType (T: DateType) and at the same time T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    DateColumnLikeSyntax
    See also

    org.apache.spark.sql.functions.month

  121. def monthsBetween(dateCol: DoricColumn[T], roundOff: BooleanColumn): DoubleColumn

    Permalink

    Returns number of months between dates dateCol and date column.

    Returns number of months between dates dateCol and date column.

    dateCol

    Date or Timestamp column

    roundOff

    If roundOff is set to true, the result is rounded off to 8 digits; it is not rounded otherwise.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.DateColumnLikeSyntax[T] performed by method DateColumnLikeSyntax in doric.syntax.DateColumns. This conversion will take place only if T is context-bounded by doric.types.DateType (T: DateType) and at the same time T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    DateColumnLikeSyntax
    See also

    org.apache.spark.sql.functions.months_between

  122. def monthsBetween(dateCol: DoricColumn[T]): DoubleColumn

    Permalink

    Returns number of months between dates date column and dateCol.

    Returns number of months between dates date column and dateCol.

    A whole number is returned if both inputs have the same day of month or both are the last day of their respective months. Otherwise, the difference is calculated assuming 31 days per month.

    For example:

    dateCol

    Date or Timestamp column

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.DateColumnLikeSyntax[T] performed by method DateColumnLikeSyntax in doric.syntax.DateColumns. This conversion will take place only if T is context-bounded by doric.types.DateType (T: DateType) and at the same time T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    DateColumnLikeSyntax
    Example:
    1. Date("2017-11-14").monthsBetween(Date("2017-07-14"))                              // returns 4.0
      Date("2017-01-01").monthsBetween(Date("2017-01-10"))                              // returns 0.29032258
      Timestamp("2017-06-01 00:00:00").monthsBetween(Timestamp("2017-06-16 12:00:00"))  // returns -0.5
    See also

    org.apache.spark.sql.functions.months_between

  123. def naNvl(col2: DoricColumn[T]): DoricColumn[T]

    Permalink

    Returns col1 if it is not NaN, or col2 if col1 is NaN.

    Returns col1 if it is not NaN, or col2 if col1 is NaN.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumWithDecimalsOperationsSyntax[T] performed by method NumWithDecimalsOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.syntax.NumWithDecimalsType (T: NumWithDecimalsType).
    Definition Classes
    NumWithDecimalsOperationsSyntax
    See also

    org.apache.spark.sql.functions.nanvl

  124. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  125. def negate: DoricColumn[T]

    Permalink

    Unary minus, i.e.

    Unary minus, i.e. negate the expression.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumericOperationsSyntax[T] performed by method NumericOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.types.NumericType (T: NumericType).
    Definition Classes
    NumericOperationsSyntax
    Example:
    1. // Select the amount column and negates all values.
      // Scala:
      df.select( -df("amount") )
    To do

    DayTimeIntervalType & YearMonthIntervalType

    See also

    org.apache.spark.sql.functions.negate

  126. def nextDay(dayOfWeek: StringColumn): DateColumn

    Permalink

    Returns the first date which is later than the value of the date column that is on the specified day of the week.

    Returns the first date which is later than the value of the date column that is on the specified day of the week.

    dayOfWeek

    Case insensitive, and accepts: "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.DateColumnLikeSyntax[T] performed by method DateColumnLikeSyntax in doric.syntax.DateColumns. This conversion will take place only if T is context-bounded by doric.types.DateType (T: DateType) and at the same time T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    DateColumnLikeSyntax
    Example:
    1. For example, Date("2015-07-27").nextDay("Sunday") returns Date("2015-08-02") because that is the first Sunday after 2015-07-27.

    To do

    scaladoc link (issue #135)

    Note

    Timestamp columns will be truncated to Date column

    See also

    org.apache.spark.sql.functions.next_day

  127. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  129. def or(other: DoricColumn[Boolean]): DoricColumn[Boolean]

    Permalink

    Boolean OR

    Boolean OR

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.BooleanOperationsSyntax performed by method BooleanOperationsSyntax in doric.syntax.BooleanColumns. This conversion will take place only if T is Boolean (T =:= Boolean).
    Definition Classes
    BooleanOperationsSyntax
  130. def pMod(divisor: DoricColumn[T]): DoricColumn[T]

    Permalink

    Returns the positive value of dividend mod divisor.

    Returns the positive value of dividend mod divisor.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumericOperationsSyntax[T] performed by method NumericOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.types.NumericType (T: NumericType).
    Definition Classes
    NumericOperationsSyntax
    See also

    org.apache.spark.sql.functions.pmod

  131. 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

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.BasicCol[T] performed by method BasicCol in doric.syntax.CommonColumns. This conversion will take place only if T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    BasicCol
  132. def posExplode: DoricColumn[Row]

    Permalink

    Creates a new row for each element with position in the given map column.

    Creates a new row for each element with position in the given map column.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.MapColumnOps[K, V] performed by method MapColumnOps in doric.syntax.MapColumns.
    This conversion will take place only if all of the following constraints are met:
    1. an implicit value of type SparkType[K] is in scope
    2. an implicit value of type SparkType[V] is in scope
    3. T is Map[K, V] (T =:= Map[K, V])
    Definition Classes
    MapColumnOps
    Example:
    1.    ORIGINAL               SPARK             DORIC
      +----------------+   +---+---+-----+     +---------+
      |col             |   |pos|key|value|     |col      |
      +----------------+   +---+---+-----+     +---------+
      |[a -> b, c -> d]|   |1  |a  |b    |     |{1, a, b}|
      |[]              |   |2  |c  |d    |     |{2, c, d}|
      |null            |   +---+---+-----+     +---------+
      +----------------+
    Note

    WARNING: Unlike spark, doric returns a struct

    ,

    Uses the default column name pos for position, and key and value for elements in the map.

    See also

    org.apache.spark.sql.functions.posexplode

  133. def posExplodeOuter: RowColumn

    Permalink

    Creates a new row for each element with position in the given map column.

    Creates a new row for each element with position in the given map column. Unlike posexplode, if the map is null or empty then the row (null, null) is produced.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.MapColumnOps[K, V] performed by method MapColumnOps in doric.syntax.MapColumns.
    This conversion will take place only if all of the following constraints are met:
    1. an implicit value of type SparkType[K] is in scope
    2. an implicit value of type SparkType[V] is in scope
    3. T is Map[K, V] (T =:= Map[K, V])
    Definition Classes
    MapColumnOps
    Example:
    1.    ORIGINAL               SPARK             DORIC
      +----------------+   +---+----+-----+    +---------+
      |col             |   |pos|key |value|    |col      |
      +----------------+   +---+----+-----+    +---------+
      |[a -> b, c -> d]|   |1  |a   |b    |    |{1, a, b}|
      |[]              |   |2  |c   |d    |    |{2, c, d}|
      |null            |   |2  |null|null |    |null     |
      +----------------+   |3  |null|null |    |null     |
                           +---+----+-----+    +---+-----+
    Note

    WARNING: Unlike spark, doric returns a struct

    ,

    Uses the default column name pos for position, and key and value for elements in the map.

    See also

    org.apache.spark.sql.functions.posexplode_outer

  134. def pow(right: DoricColumn[T]): DoubleColumn

    Permalink

    Returns the value of the first argument raised to the power of the second argument.

    Returns the value of the first argument raised to the power of the second argument.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumericOperationsSyntax[T] performed by method NumericOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.types.NumericType (T: NumericType).
    Definition Classes
    NumericOperationsSyntax
    See also

    org.apache.spark.sql.functions.pow

  135. def quarter: IntegerColumn

    Permalink

    Extracts the quarter as an integer from a given date.

    Extracts the quarter as an integer from a given date.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.DateColumnLikeSyntax[T] performed by method DateColumnLikeSyntax in doric.syntax.DateColumns. This conversion will take place only if T is context-bounded by doric.types.DateType (T: DateType) and at the same time T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    DateColumnLikeSyntax
    See also

    org.apache.spark.sql.functions.quarter

  136. def rLike(literal: StringColumn): BooleanColumn

    Permalink

    SQL RLIKE expression (LIKE with Regex).

    SQL RLIKE expression (LIKE with Regex). Returns a boolean column based on a regex match.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    See also

    org.apache.spark.sql.Column.rlike

  137. def radians: DoubleColumn

    Permalink

    Converts an angle measured in degrees to an approximately equivalent angle measured in radians.

    Converts an angle measured in degrees to an approximately equivalent angle measured in radians.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumericOperationsSyntax[T] performed by method NumericOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.types.NumericType (T: NumericType).
    Definition Classes
    NumericOperationsSyntax
    See also

    org.apache.spark.sql.functions.radians

  138. def regexpExtract(exp: StringColumn, groupIdx: IntegerColumn): StringColumn

    Permalink

    Extract a specific group matched by a Java regex, from the specified string column.

    Extract a specific group matched by a Java regex, from the specified string column. If the regex did not match, or the specified group did not match, an empty string is returned. if the specified group index exceeds the group count of regex, an IllegalArgumentException will be thrown.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    Exceptions thrown

    java.lang.IllegalArgumentException if the specified group index exceeds the group count of regex

    See also

    org.apache.spark.sql.functions.regexp_extract

  139. def regexpReplace(pattern: StringColumn, replacement: StringColumn): StringColumn

    Permalink

    Replace all substrings of the specified string value that match regexp with replacement.

    Replace all substrings of the specified string value that match regexp with replacement.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    See also

    org.apache.spark.sql.functions.regexp_replace

  140. def repeat(n: IntegerColumn): StringColumn

    Permalink

    Repeats a string column n times, and returns it as a new string column.

    Repeats a string column n times, and returns it as a new string column.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    See also

    org.apache.spark.sql.functions.repeat

  141. 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.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.BasicCol[T] performed by method BasicCol in doric.syntax.CommonColumns. This conversion will take place only if T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    BasicCol
    See also

    org.apache.spark.sql.functions.array_repeat

  142. def reverse: StringColumn

    Permalink

    Returns a reversed string.

    Returns a reversed string.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    See also

    org.apache.spark.sql.functions.reverse

  143. def rint: DoubleColumn

    Permalink

    Returns the double value that is closest in value to the argument and is equal to a mathematical integer.

    Returns the double value that is closest in value to the argument and is equal to a mathematical integer.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumericOperationsSyntax[T] performed by method NumericOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.types.NumericType (T: NumericType).
    Definition Classes
    NumericOperationsSyntax
    See also

    org.apache.spark.sql.functions.rint

  144. def round(scale: IntegerColumn): DoricColumn[T]

    Permalink

    Returns the value of the column e rounded to 0 decimal places with HALF_UP round mode.

    Returns the value of the column e rounded to 0 decimal places with HALF_UP round mode.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumWithDecimalsOperationsSyntax[T] performed by method NumWithDecimalsOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.syntax.NumWithDecimalsType (T: NumWithDecimalsType).
    Definition Classes
    NumWithDecimalsOperationsSyntax
    To do

    decimal type

    See also

    org.apache.spark.sql.functions.round

  145. def round: DoricColumn[T]

    Permalink

    Returns the value of the column e rounded to 0 decimal places with HALF_UP round mode

    Returns the value of the column e rounded to 0 decimal places with HALF_UP round mode

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumWithDecimalsOperationsSyntax[T] performed by method NumWithDecimalsOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.syntax.NumWithDecimalsType (T: NumWithDecimalsType).
    Definition Classes
    NumWithDecimalsOperationsSyntax
    To do

    decimal type

    See also

    org.apache.spark.sql.functions.round

  146. def rpad(len: IntegerColumn, pad: StringColumn): StringColumn

    Permalink

    Right-pad the string column with pad to a length of len.

    Right-pad the string column with pad to a length of len. If the string column is longer than len, the return value is shortened to len characters.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    To do

    scaladoc link (issue #135)

    See also

    org.apache.spark.sql.functions.rpad

  147. def rtrim(trimString: StringColumn): StringColumn

    Permalink

    Trim the specified character string from right end for the specified string column.

    Trim the specified character string from right end for the specified string column.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    See also

    org.apache.spark.sql.functions.rtrim

  148. def rtrim: StringColumn

    Permalink

    Trim the spaces from right end for the specified string value.

    Trim the spaces from right end for the specified string value.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    See also

    org.apache.spark.sql.functions.rtrim

  149. def schemaOfJson(): StringColumn

    Permalink

    Parses a JSON string and infers its schema in DDL format.

    Parses a JSON string and infers its schema in DDL format.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax24 performed by method StringOperationsSyntax24 in doric.syntax.StringColumn24. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax24
    Exceptions thrown

    org.apache.spark.sql.AnalysisException if it is not a foldable string expression or null

    See also

    org.apache.spark.sql.functions.schema_of_json

  150. def second: IntegerColumn

    Permalink

    Extracts the seconds as an integer from a given timestamp.

    Extracts the seconds as an integer from a given timestamp.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.TimestampColumnLikeSyntax[T] performed by method TimestampColumnLikeSyntax in doric.syntax.TimestampColumns. This conversion will take place only if T is context-bounded by doric.types.TimestampType (T: TimestampType).
    Definition Classes
    TimestampColumnLikeSyntax
    See also

    org.apache.spark.sql.functions.second

  151. def sequence(stop: IntegerColumn, step: IntegerColumn): ArrayColumn[T]

    Permalink

    Generate a sequence of integers from start to stop, incrementing by step.

    Generate a sequence of integers from start to stop, incrementing by step.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.IntegralOperationsSyntax[T] performed by method IntegralOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.syntax.IntegralType (T: IntegralType).
    Definition Classes
    IntegralOperationsSyntax
    See also

    org.apache.spark.sql.functions.sequence

  152. def sequence(stop: IntegerColumn): ArrayColumn[T]

    Permalink

    Generate a sequence of integers from start to stop, incrementing by 1 if start is less than or equal to stop, otherwise -1.

    Generate a sequence of integers from start to stop, incrementing by 1 if start is less than or equal to stop, otherwise -1.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.IntegralOperationsSyntax[T] performed by method IntegralOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.syntax.IntegralType (T: IntegralType).
    Definition Classes
    IntegralOperationsSyntax
    See also

    org.apache.spark.sql.functions.sequence

  153. def sequenceT[G[_]](stop: IntegerColumn, step: IntegerColumn)(implicit arg0: CollectionType[G]): DoricColumn[G[T]]

    Permalink

    Generate a sequence of integers from start to stop, incrementing by step.

    Generate a sequence of integers from start to stop, incrementing by step.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.IntegralOperationsSyntax[T] performed by method IntegralOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.syntax.IntegralType (T: IntegralType).
    Definition Classes
    IntegralOperationsSyntax
    See also

    org.apache.spark.sql.functions.sequence

  154. def sequenceT[G[_]](stop: IntegerColumn)(implicit arg0: CollectionType[G]): DoricColumn[G[T]]

    Permalink

    Generate a sequence of integers from start to stop, incrementing by 1 if start is less than or equal to stop, otherwise -1.

    Generate a sequence of integers from start to stop, incrementing by 1 if start is less than or equal to stop, otherwise -1.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.IntegralOperationsSyntax[T] performed by method IntegralOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.syntax.IntegralType (T: IntegralType).
    Definition Classes
    IntegralOperationsSyntax
    See also

    org.apache.spark.sql.functions.sequence

  155. def sha1: StringColumn

    Permalink

    Calculates the SHA-1 digest of a binary column and returns the value as a 40 character hex string.

    Calculates the SHA-1 digest of a binary column and returns the value as a 40 character hex string.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.BinaryOperationsSyntax[T] performed by method BinaryOperationsSyntax in doric.syntax.BinaryColumns. This conversion will take place only if T is context-bounded by doric.types.BinaryType (T: BinaryType) and at the same time T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    BinaryOperationsSyntax
    See also

    org.apache.spark.sql.functions.sha1

  156. def sha2(numBits: Int): StringColumn

    Permalink

    Calculates the SHA-2 family of hash functions of a binary column and returns the value as a hex string.

    Calculates the SHA-2 family of hash functions of a binary column and returns the value as a hex string.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.BinaryOperationsSyntax[T] performed by method BinaryOperationsSyntax in doric.syntax.BinaryColumns. This conversion will take place only if T is context-bounded by doric.types.BinaryType (T: BinaryType) and at the same time T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    BinaryOperationsSyntax
    Exceptions thrown

    java.lang.IllegalArgumentException if numBits is not in the permitted values

    See also

    org.apache.spark.sql.functions.sha2

  157. def shiftLeft(numBits: IntegerColumn): DoricColumn[T]

    Permalink

    Shift the given value numBits left.

    Shift the given value numBits left.

    group Numeric Type

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.IntegralOperationsSyntax2_31[T] performed by method IntegralOperationsSyntax2_31 in doric.syntax.NumericColumns2_31. This conversion will take place only if T is context-bounded by doric.syntax.IntegralType (T: IntegralType).
    Definition Classes
    IntegralOperationsSyntax2_31
    See also

    org.apache.spark.sql.functions.shiftLeft

  158. def shiftRight(numBits: IntegerColumn): DoricColumn[T]

    Permalink

    (Signed) shift the given value numBits right.

    (Signed) shift the given value numBits right.

    group Numeric Type

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.IntegralOperationsSyntax2_31[T] performed by method IntegralOperationsSyntax2_31 in doric.syntax.NumericColumns2_31. This conversion will take place only if T is context-bounded by doric.syntax.IntegralType (T: IntegralType).
    Definition Classes
    IntegralOperationsSyntax2_31
    See also

    org.apache.spark.sql.functions.shiftRight

  159. def shiftRightUnsigned(numBits: IntegerColumn): DoricColumn[T]

    Permalink

    Unsigned shift the given value numBits right.

    Unsigned shift the given value numBits right.

    group Numeric Type

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.IntegralOperationsSyntax2_31[T] performed by method IntegralOperationsSyntax2_31 in doric.syntax.NumericColumns2_31. This conversion will take place only if T is context-bounded by doric.syntax.IntegralType (T: IntegralType).
    Definition Classes
    IntegralOperationsSyntax2_31
    See also

    org.apache.spark.sql.functions.shiftRightUnsigned

  160. def signum: DoubleColumn

    Permalink

    Computes the signum of the given value.

    Computes the signum of the given value.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumericOperationsSyntax[T] performed by method NumericOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.types.NumericType (T: NumericType).
    Definition Classes
    NumericOperationsSyntax
    See also

    org.apache.spark.sql.functions.signum

  161. def sin: DoubleColumn

    Permalink

    Sine of the angle, as if computed by java.lang.Math.sin

    Sine of the angle, as if computed by java.lang.Math.sin

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumericOperationsSyntax[T] performed by method NumericOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.types.NumericType (T: NumericType).
    Definition Classes
    NumericOperationsSyntax
    See also

    org.apache.spark.sql.functions.sin

  162. def sinh: DoubleColumn

    Permalink

    Hyperbolic sine of the given value, as if computed by java.lang.Math.sinh

    Hyperbolic sine of the given value, as if computed by java.lang.Math.sinh

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumericOperationsSyntax[T] performed by method NumericOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.types.NumericType (T: NumericType).
    Definition Classes
    NumericOperationsSyntax
    See also

    org.apache.spark.sql.functions.sinh

  163. def size: IntegerColumn

    Permalink

    Returns length of map.

    Returns length of map.

    The function returns null for null input if spark.sql.legacy.sizeOfNull is set to false or spark.sql.ansi.enabled is set to true. Otherwise, the function returns -1 for null input. With the default settings, the function returns -1 for null input.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.MapColumnOps[K, V] performed by method MapColumnOps in doric.syntax.MapColumns.
    This conversion will take place only if all of the following constraints are met:
    1. an implicit value of type SparkType[K] is in scope
    2. an implicit value of type SparkType[V] is in scope
    3. T is Map[K, V] (T =:= Map[K, V])
    Definition Classes
    MapColumnOps
    See also

    org.apache.spark.sql.functions.size

  164. def soundex: StringColumn

    Permalink

    Returns the soundex code for the specified expression.

    Returns the soundex code for the specified expression.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    See also

    org.apache.spark.sql.functions.soundex

  165. def split(pattern: StringColumn): ArrayColumn[String]

    Permalink

    Splits str around matches of the given pattern.

    Splits str around matches of the given pattern.

    pattern

    a string representing a regular expression. The regex string should be a Java regular expression.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax24 performed by method StringOperationsSyntax24 in doric.syntax.StringColumn24. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax24
    To do

    scaladoc link (issue #135)

    See also

    org.apache.spark.sql.functions.split

  166. def sqrt: DoubleColumn

    Permalink

    Computes the square root of the specified float value

    Computes the square root of the specified float value

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumericOperationsSyntax[T] performed by method NumericOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.types.NumericType (T: NumericType).
    Definition Classes
    NumericOperationsSyntax
    See also

    org.apache.spark.sql.functions.sqrt

  167. def startsWith(dc: StringColumn): BooleanColumn

    Permalink

    String starts with.

    String starts with. Returns a boolean column based on a string match.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    See also

    org.apache.spark.sql.Column.startsWith

  168. def subDays(days: IntegerColumn): DateColumn

    Permalink

    Returns the date that is days days before date column

    Returns the date that is days days before date column

    days

    A column of the number of days to subtract from date column, can be negative to add days

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.DateColumnLikeSyntax[T] performed by method DateColumnLikeSyntax in doric.syntax.DateColumns. This conversion will take place only if T is context-bounded by doric.types.DateType (T: DateType) and at the same time T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    DateColumnLikeSyntax
    Note

    Timestamp columns will be truncated to Date column

  169. def substring(pos: IntegerColumn, len: IntegerColumn): StringColumn

    Permalink

    Substring starts at pos and is of length len when str is String type or returns the slice of byte array that starts at pos in byte and is of length len when str is Binary type

    Substring starts at pos and is of length len when str is String type or returns the slice of byte array that starts at pos in byte and is of length len when str is Binary type

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    Note

    The position is not zero based, but 1 based index.

    See also

    org.apache.spark.sql.functions.substring

  170. def substringIndex(delim: StringColumn, count: IntegerColumn): StringColumn

    Permalink

    Returns the substring from string str before count occurrences of the delimiter delim.

    Returns the substring from string str before count occurrences of the delimiter delim. If count is positive, everything the left of the final delimiter (counting from left) is returned. If count is negative, every to the right of the final delimiter (counting from the right) is returned. substring_index performs a case-sensitive match when searching for delim.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    See also

    org.apache.spark.sql.functions.substring_index

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

    Permalink
    Definition Classes
    AnyRef
  172. def tan: DoubleColumn

    Permalink

    Tangent of the given value, as if computed by java.lang.Math.tan

    Tangent of the given value, as if computed by java.lang.Math.tan

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumericOperationsSyntax[T] performed by method NumericOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.types.NumericType (T: NumericType).
    Definition Classes
    NumericOperationsSyntax
    See also

    org.apache.spark.sql.functions.tan

  173. def tanh: DoubleColumn

    Permalink

    Hyperbolic tangent of the given value, as if computed by java.lang.Math.tanh

    Hyperbolic tangent of the given value, as if computed by java.lang.Math.tanh

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumericOperationsSyntax[T] performed by method NumericOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.types.NumericType (T: NumericType).
    Definition Classes
    NumericOperationsSyntax
    See also

    org.apache.spark.sql.functions.tanh

  174. def toArray: DoricColumn[Array[Row]]

    Permalink

    DORIC EXCLUSIVE! Map to array conversion

    DORIC EXCLUSIVE! Map to array conversion

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.MapColumnOps[K, V] performed by method MapColumnOps in doric.syntax.MapColumns.
    This conversion will take place only if all of the following constraints are met:
    1. an implicit value of type SparkType[K] is in scope
    2. an implicit value of type SparkType[V] is in scope
    3. T is Map[K, V] (T =:= Map[K, V])
    Definition Classes
    MapColumnOps
  175. def toDate(format: StringColumn): LocalDateColumn

    Permalink

    Converts the column into a DateType with a specified format

    Converts the column into a DateType with a specified format

    See <a href="https://spark.apache.org/docs/latest/sql-ref-datetime-pattern.html"> Datetime Patterns for valid date and time format patterns

    format

    A date time pattern detailing the format of e when eis a string

    returns

    A date, or null if e was a string that could not be cast to a date or format was an invalid format

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    See also

    org.apache.spark.sql.functions.to_date

  176. def toDate: DateColumn

    Permalink

    Safe casting to Date column

    Safe casting to Date column

    returns

    a Date Column without the hour

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.TimestampColumnLikeSyntax[T] performed by method TimestampColumnLikeSyntax in doric.syntax.TimestampColumns. This conversion will take place only if T is context-bounded by doric.types.TimestampType (T: TimestampType).
    Definition Classes
    TimestampColumnLikeSyntax
    See also

    org.apache.spark.sql.functions.to_date

  177. def toInstant: InstantColumn

    Permalink

    Transform date to Instant

    Transform date to Instant

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.DateColumnLikeSyntax[T] performed by method DateColumnLikeSyntax in doric.syntax.DateColumns. This conversion will take place only if T is context-bounded by doric.types.DateType (T: DateType) and at the same time T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    DateColumnLikeSyntax
    See also

    org.apache.spark.sql.functions.to_timestamp

  178. def toLocalDate: LocalDateColumn

    Permalink

    Safe casting to LocalDate column

    Safe casting to LocalDate column

    returns

    a LocalDate Column without the hour

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.TimestampColumnLikeSyntax[T] performed by method TimestampColumnLikeSyntax in doric.syntax.TimestampColumns. This conversion will take place only if T is context-bounded by doric.types.TimestampType (T: TimestampType).
    Definition Classes
    TimestampColumnLikeSyntax
    See also

    org.apache.spark.sql.functions.to_date

  179. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  180. def toTimestamp(format: StringColumn): InstantColumn

    Permalink

    Converts time string with the given pattern to timestamp.

    Converts time string with the given pattern to timestamp.

    See <a href="https://spark.apache.org/docs/latest/sql-ref-datetime-pattern.html"> Datetime Patterns for valid date and time format patterns

    format

    A date time pattern detailing the format of s when s is a string

    returns

    A timestamp, or null if s was a string that could not be cast to a timestamp or format was an invalid format

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    See also

    org.apache.spark.sql.functions.to_timestamp

  181. def toTimestamp: TimestampColumn

    Permalink

    Transform date to timestamp

    Transform date to timestamp

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.DateColumnLikeSyntax[T] performed by method DateColumnLikeSyntax in doric.syntax.DateColumns. This conversion will take place only if T is context-bounded by doric.types.DateType (T: DateType) and at the same time T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    DateColumnLikeSyntax
    See also

    org.apache.spark.sql.functions.to_timestamp

  182. def toUtc(timeZone: StringColumn): TimestampColumn

    Permalink

    Given a timestamp like '2017-07-14 02:40:00.0', interprets it as a time in the given time zone, and renders that time as a timestamp in UTC.

    Given a timestamp like '2017-07-14 02:40:00.0', interprets it as a time in the given time zone, and renders that time as a timestamp in UTC. For example, 'GMT+1' would yield '2017-07-14 01:40:00.0'.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.TimestampColumnLikeSyntax[T] performed by method TimestampColumnLikeSyntax in doric.syntax.TimestampColumns. This conversion will take place only if T is context-bounded by doric.types.TimestampType (T: TimestampType).
    Definition Classes
    TimestampColumnLikeSyntax
    Exceptions thrown

    java.time.DateTimeException if invalid timeZone

    To do

    scaladoc link (issue #135)

    See also

    org.apache.spark.sql.functions.to_utc_timestamp

  183. def translate(matchingString: StringColumn, replaceString: StringColumn): StringColumn

    Permalink

    Translate any character in the src by a character in replaceString.

    Translate any character in the src by a character in replaceString. The characters in replaceString correspond to the characters in matchingString. The translate will happen when any character in the string matches the character in the matchingString.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    See also

    org.apache.spark.sql.functions.translate

  184. def trim(trimString: StringColumn): StringColumn

    Permalink

    Trim the specified character from both ends for the specified string column (literal).

    Trim the specified character from both ends for the specified string column (literal).

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    See also

    org.apache.spark.sql.functions.trim

  185. def trim: StringColumn

    Permalink

    Trim the spaces from both ends for the specified string column.

    Trim the spaces from both ends for the specified string column.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    See also

    org.apache.spark.sql.functions.trim

  186. def truncate(format: StringColumn): DoricColumn[T]

    Permalink

    Returns date truncated to the unit specified by the format.

    Returns date truncated to the unit specified by the format.

    format

    • if date:
      • 'year', 'yyyy', 'yy' to truncate by year,
      • 'month', 'mon', 'mm' to truncate by month
      • Other options are: 'week', 'quarter'
    • if timestamp:
      • 'year', 'yyyy', 'yy' to truncate by year,
      • 'month', 'mon', 'mm' to truncate by month,
      • 'day', 'dd' to truncate by day,
      • Other options are: 'microsecond', 'millisecond', 'second', 'minute', 'hour', 'week', 'quarter'
    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.DateColumnLikeSyntax[T] performed by method DateColumnLikeSyntax in doric.syntax.DateColumns. This conversion will take place only if T is context-bounded by doric.types.DateType (T: DateType) and at the same time T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    DateColumnLikeSyntax
    Example:
    1. For example, Timestamp("2018-11-19 12:01:19").trunc("year") returns Date("2018-01-01")

    Note

    Timestamp columns will be truncated to Date column

    See also

    org.apache.spark.sql.functions.date_trunc

    org.apache.spark.sql.functions.trunc

  187. def unHex: BinaryColumn

    Permalink

    Inverse of hex.

    Inverse of hex. Interprets each pair of characters as a hexadecimal number and converts to the byte representation of number

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    See also

    org.apache.spark.sql.functions.unhex

  188. def unary_!: DoricColumn[Boolean]

    Permalink

    Inversion of boolean expression, i.e.

    Inversion of boolean expression, i.e. NOT.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.BooleanOperationsSyntax performed by method BooleanOperationsSyntax in doric.syntax.BooleanColumns. This conversion will take place only if T is Boolean (T =:= Boolean).
    Definition Classes
    BooleanOperationsSyntax
    See also

    not

  189. def unary_-: DoricColumn[T]

    Permalink

    Unary minus, i.e.

    Unary minus, i.e. negate the expression.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumericOperationsSyntax[T] performed by method NumericOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.types.NumericType (T: NumericType).
    Definition Classes
    NumericOperationsSyntax
  190. def unbase64: BinaryColumn

    Permalink

    Decodes a BASE64 encoded string column and returns it as a binary column.

    Decodes a BASE64 encoded string column and returns it as a binary column. This is the reverse of base64.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    See also

    org.apache.spark.sql.functions.unbase64

  191. def unixTimestamp(pattern: StringColumn): LongColumn

    Permalink

    Converts date/timestamp with given pattern to Unix timestamp (in seconds).

    Converts date/timestamp with given pattern to Unix timestamp (in seconds).

    returns

    A long, or null if the input was a string not of the correct format

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    Exceptions thrown

    java.lang.IllegalArgumentException if invalid pattern

    See also

    org.apache.spark.sql.functions.unix_timestamp

  192. def unsafeCast[To](implicit arg0: UnsafeCasting[T, 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

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.BasicCol[T] performed by method BasicCol in doric.syntax.CommonColumns. This conversion will take place only if T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    BasicCol
  193. def upper: StringColumn

    Permalink

    Converts a string column to upper case.

    Converts a string column to upper case.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Definition Classes
    StringOperationsSyntax
    See also

    org.apache.spark.sql.functions.upper

  194. def values: DoricColumn[Array[V]]

    Permalink

    Returns an unordered array containing the values of the map.

    Returns an unordered array containing the values of the map.

    returns

    the DoricColumn of the Array of values

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.MapColumnOps[K, V] performed by method MapColumnOps in doric.syntax.MapColumns.
    This conversion will take place only if all of the following constraints are met:
    1. an implicit value of type SparkType[K] is in scope
    2. an implicit value of type SparkType[V] is in scope
    3. T is Map[K, V] (T =:= Map[K, V])
    Definition Classes
    MapColumnOps
    See also

    org.apache.spark.sql.functions.map_values

  195. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  198. def weekOfYear: IntegerColumn

    Permalink

    Extracts the week number as an integer from a given date.

    Extracts the week number as an integer from a given date.

    A week is considered to start on a Monday and week 1 is the first week with more than 3 days, as defined by ISO 8601

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.DateColumnLikeSyntax[T] performed by method DateColumnLikeSyntax in doric.syntax.DateColumns. This conversion will take place only if T is context-bounded by doric.types.DateType (T: DateType) and at the same time T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    DateColumnLikeSyntax
    See also

    org.apache.spark.sql.functions.weekofyear

  199. def window(windowDuration: String, slideDuration: String, startTime: String = "0 second"): RowColumn

    Permalink

    Generates tumbling time windows given a timestamp specifying column.

    Generates tumbling time windows given a timestamp specifying column. Window starts are inclusive but the window ends are exclusive.

    windowDuration

    A string specifying the width of the window, e.g. 10 minutes, 1 second. Check org.apache.spark.unsafe.types.CalendarInterval for valid duration identifiers. Note that the duration is a fixed length of time, and does not vary over time according to a calendar. For example, 1 day always means 86,400,000 milliseconds, not a calendar day.

    slideDuration

    A string specifying the sliding interval of the window, e.g. 1 minute. A new window will be generated every slideDuration. Must be less than or equal to the windowDuration. Check org.apache.spark.unsafe.types.CalendarInterval for valid duration identifiers. This duration is likewise absolute, and does not vary according to a calendar.

    startTime

    The offset with respect to 1970-01-01 00:00:00 UTC with which to start window intervals. For example, in order to have hourly tumbling windows that start 15 minutes past the hour, e.g. 12:15-13:15, 13:15-14:15... provide startTime as 15 minutes.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.TimestampColumnLikeSyntax[T] performed by method TimestampColumnLikeSyntax in doric.syntax.TimestampColumns. This conversion will take place only if T is context-bounded by doric.types.TimestampType (T: TimestampType).
    Definition Classes
    TimestampColumnLikeSyntax
    See also

    org.apache.spark.sql.functions.window

  200. def window(windowDuration: String): RowColumn

    Permalink

    Generates tumbling time windows given a timestamp specifying column.

    Generates tumbling time windows given a timestamp specifying column. Window starts are inclusive but the window ends are exclusive.

    windowDuration

    A string specifying the width of the window, e.g. 10 minutes, 1 second. Check org.apache.spark.unsafe.types.CalendarInterval for valid duration identifiers.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.TimestampColumnLikeSyntax[T] performed by method TimestampColumnLikeSyntax in doric.syntax.TimestampColumns. This conversion will take place only if T is context-bounded by doric.types.TimestampType (T: TimestampType).
    Definition Classes
    TimestampColumnLikeSyntax
    See also

    org.apache.spark.sql.functions.window

  201. def year: IntegerColumn

    Permalink

    Extracts the year as an integer from a given date.

    Extracts the year as an integer from a given date.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.DateColumnLikeSyntax[T] performed by method DateColumnLikeSyntax in doric.syntax.DateColumns. This conversion will take place only if T is context-bounded by doric.types.DateType (T: DateType) and at the same time T is context-bounded by doric.types.SparkType (T: SparkType).
    Definition Classes
    DateColumnLikeSyntax
    See also

    org.apache.spark.sql.functions.year

  202. def ||(other: DoricColumn[Boolean]): DoricColumn[Boolean]

    Permalink

    Boolean OR

    Boolean OR

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.BooleanOperationsSyntax performed by method BooleanOperationsSyntax in doric.syntax.BooleanColumns. This conversion will take place only if T is Boolean (T =:= Boolean).
    Definition Classes
    BooleanOperationsSyntax
  203. def [B](y: B): (DoricColumn[T], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to ArrowAssoc[DoricColumn[T]] performed by method ArrowAssoc in scala.Predef. This conversion will take place only if T is a superclass of Any and a subclass of Map[Nothing, Nothing] with Long with Boolean with String (T >: Any <: Map[Nothing, Nothing] with Long with Boolean with String).
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. def <(other: DoricColumn[T]): BooleanColumn

    Permalink

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.DateColumnLikeSyntax[T] performed by method DateColumnLikeSyntax in doric.syntax.DateColumns. This conversion will take place only if T is context-bounded by doric.types.DateType (T: DateType) and at the same time T is context-bounded by doric.types.SparkType (T: SparkType).
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (doricColumn: doric.DateColumnLikeSyntax[T]).<(other)
    Definition Classes
    DateColumnLikeSyntax
  2. def <(other: DoricColumn[T]): BooleanColumn

    Permalink

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumericOperationsSyntax[T] performed by method NumericOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.types.NumericType (T: NumericType).
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (doricColumn: doric.NumericOperationsSyntax[T]).<(other)
    Definition Classes
    NumericOperationsSyntax
  3. def <=(other: DoricColumn[T]): BooleanColumn

    Permalink

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.DateColumnLikeSyntax[T] performed by method DateColumnLikeSyntax in doric.syntax.DateColumns. This conversion will take place only if T is context-bounded by doric.types.DateType (T: DateType) and at the same time T is context-bounded by doric.types.SparkType (T: SparkType).
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (doricColumn: doric.DateColumnLikeSyntax[T]).<=(other)
    Definition Classes
    DateColumnLikeSyntax
  4. def <=(other: DoricColumn[T]): BooleanColumn

    Permalink

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumericOperationsSyntax[T] performed by method NumericOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.types.NumericType (T: NumericType).
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (doricColumn: doric.NumericOperationsSyntax[T]).<=(other)
    Definition Classes
    NumericOperationsSyntax
  5. def >(other: DoricColumn[T]): BooleanColumn

    Permalink

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.DateColumnLikeSyntax[T] performed by method DateColumnLikeSyntax in doric.syntax.DateColumns. This conversion will take place only if T is context-bounded by doric.types.DateType (T: DateType) and at the same time T is context-bounded by doric.types.SparkType (T: SparkType).
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (doricColumn: doric.DateColumnLikeSyntax[T]).>(other)
    Definition Classes
    DateColumnLikeSyntax
  6. def >(other: DoricColumn[T]): BooleanColumn

    Permalink

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumericOperationsSyntax[T] performed by method NumericOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.types.NumericType (T: NumericType).
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (doricColumn: doric.NumericOperationsSyntax[T]).>(other)
    Definition Classes
    NumericOperationsSyntax
  7. def >=(other: DoricColumn[T]): BooleanColumn

    Permalink

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.DateColumnLikeSyntax[T] performed by method DateColumnLikeSyntax in doric.syntax.DateColumns. This conversion will take place only if T is context-bounded by doric.types.DateType (T: DateType) and at the same time T is context-bounded by doric.types.SparkType (T: SparkType).
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (doricColumn: doric.DateColumnLikeSyntax[T]).>=(other)
    Definition Classes
    DateColumnLikeSyntax
  8. def >=(other: DoricColumn[T]): BooleanColumn

    Permalink

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.NumericOperationsSyntax[T] performed by method NumericOperationsSyntax in doric.syntax.NumericColumns. This conversion will take place only if T is context-bounded by doric.types.NumericType (T: NumericType).
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (doricColumn: doric.NumericOperationsSyntax[T]).>=(other)
    Definition Classes
    NumericOperationsSyntax
  9. def toJson(options: Map[String, String] = Map.empty): StringColumn

    Permalink

    Converts a column containing a StructType into a JSON string with the specified schema.

    Converts a column containing a StructType into a JSON string with the specified schema.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.MapColumnOps[K, V] performed by method MapColumnOps in doric.syntax.MapColumns.
    This conversion will take place only if all of the following constraints are met:
    1. an implicit value of type SparkType[K] is in scope
    2. an implicit value of type SparkType[V] is in scope
    3. T is Map[K, V] (T =:= Map[K, V])
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (doricColumn: doric.MapColumnOps[K, V]).toJson(options)
    Definition Classes
    MapColumnOps
    Exceptions thrown

    java.lang.IllegalArgumentException in the case of an unsupported type.

    To do

    scaladoc link (issue #135)

    See also

    org.apache.spark.sql.functions.to_json(e:org\.apache\.spark\.sql\.Column,options:scala\.collection\.immutable\.Map\[java\.lang\.String,java\.lang\.String\]):* org.apache.spark.sql.functions.to_csv

  10. def toJson(options: Map[String, String] = Map.empty): StringColumn

    Permalink

    Converts a column containing a StructType into a JSON string with the specified schema.

    Converts a column containing a StructType into a JSON string with the specified schema.

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.DStructOps[T] performed by method DStructOps in doric.syntax.DStructs. This conversion will take place only if an implicit value of type Custom[T, Row] is in scope.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (doricColumn: doric.DStructOps[T]).toJson(options)
    Definition Classes
    DStructOps
    Exceptions thrown

    java.lang.IllegalArgumentException in the case of an unsupported type.

    To do

    scaladoc link (issue #135)

    See also

    org.apache.spark.sql.functions.to_json(e:org\.apache\.spark\.sql\.Column,options:scala\.collection\.immutable\.Map\[java\.lang\.String,java\.lang\.String\]):* org.apache.spark.sql.functions.to_csv

  11. def unixTimestamp: LongColumn

    Permalink

    Converts date/timestamp to Unix timestamp (in seconds), using the default timezone and the default locale.

    Converts date/timestamp to Unix timestamp (in seconds), using the default timezone and the default locale.

    returns

    A long

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.StringOperationsSyntax performed by method StringOperationsSyntax in doric.syntax.StringColumns. This conversion will take place only if T is String (T =:= String).
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (doricColumn: doric.StringOperationsSyntax).unixTimestamp
    Definition Classes
    StringOperationsSyntax
    See also

    org.apache.spark.sql.functions.unix_timestamp

  12. def unixTimestamp: LongColumn

    Permalink

    Converts date/timestamp to Unix timestamp (in seconds), using the default timezone and the default locale.

    Converts date/timestamp to Unix timestamp (in seconds), using the default timezone and the default locale.

    returns

    A long

    Implicit information
    This member is added by an implicit conversion from DoricColumn[T] to doric.DateColumnLikeSyntax[T] performed by method DateColumnLikeSyntax in doric.syntax.DateColumns. This conversion will take place only if T is context-bounded by doric.types.DateType (T: DateType) and at the same time T is context-bounded by doric.types.SparkType (T: SparkType).
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (doricColumn: doric.DateColumnLikeSyntax[T]).unixTimestamp
    Definition Classes
    DateColumnLikeSyntax
    See also

    org.apache.spark.sql.functions.unix_timestamp

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion IntegralOperationsSyntax2_31 from DoricColumn[T] to doric.IntegralOperationsSyntax2_31[T]

Inherited by implicit conversion StringOperationsSyntax24 from DoricColumn[T] to doric.StringOperationsSyntax24

Inherited by implicit conversion BinaryOperationsSyntax30_31 from DoricColumn[T] to doric.BinaryOperationsSyntax30_31[T]

Inherited by implicit conversion BinaryOperationsSyntax from DoricColumn[T] to doric.BinaryOperationsSyntax[T]

Inherited by implicit conversion ControlStructuresImpl from DoricColumn[T] to doric.ControlStructuresImpl[T]

Inherited by implicit conversion StringOperationsSyntax from DoricColumn[T] to doric.StringOperationsSyntax

Inherited by implicit conversion BooleanOperationsSyntax from DoricColumn[T] to doric.BooleanOperationsSyntax

Inherited by implicit conversion TimestampColumnLikeSyntax from DoricColumn[T] to doric.TimestampColumnLikeSyntax[T]

Inherited by implicit conversion DateColumnLikeSyntax from DoricColumn[T] to doric.DateColumnLikeSyntax[T]

Inherited by implicit conversion NumWithDecimalsOperationsSyntax from DoricColumn[T] to doric.NumWithDecimalsOperationsSyntax[T]

Inherited by implicit conversion IntegralOperationsSyntax from DoricColumn[T] to doric.IntegralOperationsSyntax[T]

Inherited by implicit conversion LongOperationsSyntax from DoricColumn[T] to doric.LongOperationsSyntax

Inherited by implicit conversion NumericOperationsSyntax from DoricColumn[T] to doric.NumericOperationsSyntax[T]

Inherited by implicit conversion MapColumnOps from DoricColumn[T] to doric.MapColumnOps[K, V]

Inherited by implicit conversion DoricColLiteralGetter from DoricColumn[T] to doric.DoricColLiteralGetter[T]

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

Inherited by implicit conversion StructOps from DoricColumn[T] to doric.StructOps[T, L]

Inherited by implicit conversion DStructOps from DoricColumn[T] to doric.DStructOps[T]

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

Inherited by implicit conversion CastingImpl from DoricColumn[T] to doric.CastingImpl[T]

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

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

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

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

All Types

Binary Type

Boolean Type

Comparable Type

Date & Timestamp Type

Date Type

Map Type

Numeric Type

String Type

Struct Type

Timestamp Type

Ungrouped