Package

frameless

Permalink

package frameless

Visibility
  1. Public
  2. All

Type Members

  1. trait CatalystAbsolute[In, Out] extends AnyRef

    Permalink

    Spark does not return always the same type on abs as the input was

    Spark does not return always the same type on abs as the input was

    Annotations
    @implicitNotFound( ... )
  2. trait CatalystAverageable[In, Out] extends AnyRef

    Permalink

    When averaging Spark doesn't change these types: - BigDecimal -> BigDecimal - Double -> Double But it changes these types : - Int -> Double - Short -> Double - Long -> Double

    When averaging Spark doesn't change these types: - BigDecimal -> BigDecimal - Double -> Double But it changes these types : - Int -> Double - Short -> Double - Long -> Double

    Annotations
    @implicitNotFound( ... )
  3. trait CatalystBitwise[A] extends CatalystNumeric[A]

    Permalink

    Types that can be bitwise ORed, ANDed, or XORed by Catalyst.

    Types that can be bitwise ORed, ANDed, or XORed by Catalyst. Note that Catalyst requires that when performing bitwise operations between columns the two types must be the same so in some cases casting is necessary.

    Annotations
    @implicitNotFound( ... )
  4. trait CatalystCast[A, B] extends AnyRef

    Permalink
  5. trait CatalystCollection[C[_]] extends AnyRef

    Permalink
    Annotations
    @implicitNotFound( ... )
  6. trait CatalystDivisible[In, Out] extends AnyRef

    Permalink

    Spark divides everything as Double, expect BigDecimals are divided into another BigDecimal, benefiting from some added precision.

    Spark divides everything as Double, expect BigDecimals are divided into another BigDecimal, benefiting from some added precision.

    Annotations
    @implicitNotFound( ... )
  7. trait CatalystIsin[A] extends AnyRef

    Permalink

    Types for which we can check if is in

    Types for which we can check if is in

    Annotations
    @implicitNotFound( ... )
  8. trait CatalystNullable[A] extends AnyRef

    Permalink
    Annotations
    @implicitNotFound( ... )
  9. trait CatalystNumeric[A] extends AnyRef

    Permalink

    Types that can be added, subtracted and multiplied by Catalyst.

    Types that can be added, subtracted and multiplied by Catalyst.

    Annotations
    @implicitNotFound( ... )
  10. trait CatalystOrdered[A] extends AnyRef

    Permalink

    Types that can be ordered/compared by Catalyst.

    Types that can be ordered/compared by Catalyst.

    Annotations
    @implicitNotFound( ... )
  11. trait CatalystPivotable[A] extends AnyRef

    Permalink
    Annotations
    @implicitNotFound( ... )
  12. trait CatalystSummable[In, Out] extends AnyRef

    Permalink

    When summing Spark doesn't change these types: - Long -> Long - BigDecimal -> BigDecimal - Double -> Double

    When summing Spark doesn't change these types: - Long -> Long - BigDecimal -> BigDecimal - Double -> Double

    For other types there are conversions: - Int -> Long - Short -> Long

    Annotations
    @implicitNotFound( "Cannot compute sum of type ${In}." )
  13. trait CatalystVariance[A] extends AnyRef

    Permalink

    Spark's variance and stddev functions always return Double

    Spark's variance and stddev functions always return Double

    Annotations
    @implicitNotFound( ... )
  14. trait Injection[A, B] extends Serializable

    Permalink

    An Injection[A, B] is a reversible function from A to B.

    An Injection[A, B] is a reversible function from A to B.

    Must obey forAll { a: A => invert(apply(a)) == a }.

  15. trait NotCatalystNullable[A] extends AnyRef

    Permalink
    Annotations
    @implicitNotFound( ... )
  16. case class SQLDate(days: Int) extends Product with Serializable

    Permalink

    Type for the internal Spark representation of SQL date.

    Type for the internal Spark representation of SQL date. If the spark.sql.functions where typed, [date_add][1] would for instance be defined as def date_add(d: SQLDate, i: Int); SQLDate.

    [1]: https://spark.apache.org/docs/2.0.2/api/java/org/apache/spark/sql/functions.html#add_months(org.apache.spark.sql.Column,%20int)

  17. case class SQLTimestamp(us: Long) extends Product with Serializable

    Permalink

    Type for the Spark internal representation of a timestamp.

    Type for the Spark internal representation of a timestamp. If the spark.sql.functions where typed, [current_timestamp][1] would for instance be defined as def current_timestamp(): SQLTimestamp.

    [1]: https://spark.apache.org/docs/1.6.2/api/java/org/apache/spark/sql/functions.html#current_timestamp()

Ungrouped