Class

za.co.absa.spark.commons.implicits.ColumnImplicits

ColumnEnhancements

Related Doc: package ColumnImplicits

Permalink

implicit final class ColumnEnhancements extends AnyVal

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ColumnEnhancements
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ColumnEnhancements(column: Column)

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val column: Column

    Permalink
  6. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  7. def isInfinite: Column

    Permalink
  8. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  9. def toString(): String

    Permalink
    Definition Classes
    Any
  10. def zeroBasedSubstr(startPos: Int, len: Int): Column

    Permalink

    Spark strings are base on 1 unlike scala.

    Spark strings are base on 1 unlike scala. The function shifts the substring indexation to be in accordance with Scala/ Java. Another enhancement is, that the function allows a negative index, denoting counting of the index from back This version takes the substring from the startPos and takes up to the given number of characters (less.

    startPos

    the index (zero based) where to start the substring from, if negative it's counted from end

    len

    length of the desired substring, if longer then the rest of the string, all the remaining characters are taken

    returns

    column with requested substring

  11. def zeroBasedSubstr(startPos: Int): Column

    Permalink

    Spark strings are based on 1 unlike scala.

    Spark strings are based on 1 unlike scala. The function shifts the substring indexation to be in accordance with Scala/ Java. Another enhancement is, that the function allows a negative index, denoting counting of the index from back This version takes the substring from the startPos until the end.

    startPos

    the index (zero based) where to start the substring from, if negative it's counted from end

    returns

    column with requested substring

Inherited from AnyVal

Inherited from Any

Ungrouped