Packages

  • package root
    Definition Classes
    root
  • package org
    Definition Classes
    root
  • package apache
    Definition Classes
    org
  • package spark
    Definition Classes
    apache
  • package sql
    Definition Classes
    spark
  • package catalyst

    Catalyst is a library for manipulating relational query plans.

    Catalyst is a library for manipulating relational query plans. All classes in catalyst are considered an internal API to Spark SQL and are subject to change between minor releases.

    Definition Classes
    sql
  • package dsl

    A collection of implicit conversions that create a DSL for constructing catalyst data structures.

    A collection of implicit conversions that create a DSL for constructing catalyst data structures.

    scala> import org.apache.spark.sql.catalyst.dsl.expressions._
    
    // Standard operators are added to expressions.
    scala> import org.apache.spark.sql.catalyst.expressions.Literal
    scala> Literal(1) + Literal(1)
    res0: org.apache.spark.sql.catalyst.expressions.Add = (1 + 1)
    
    // There is a conversion from 'symbols to unresolved attributes.
    scala> 'a.attr
    res1: org.apache.spark.sql.catalyst.analysis.UnresolvedAttribute = 'a
    
    // These unresolved attributes can be used to create more complicated expressions.
    scala> 'a === 'b
    res2: org.apache.spark.sql.catalyst.expressions.EqualTo = ('a = 'b)
    
    // SQL verbs can be used to construct logical query plans.
    scala> import org.apache.spark.sql.catalyst.plans.logical._
    scala> import org.apache.spark.sql.catalyst.dsl.plans._
    scala> LocalRelation('key.int, 'value.string).where('key === 1).select('value).analyze
    res3: org.apache.spark.sql.catalyst.plans.logical.LogicalPlan =
    Project [value#3]
     Filter (key#2 = 1)
      LocalRelation [key#2,value#3], []
    Definition Classes
    catalyst
  • ExpressionConversions
  • ImplicitOperators
  • expressions
  • plans
t

org.apache.spark.sql.catalyst.dsl

ImplicitOperators

trait ImplicitOperators extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ImplicitOperators
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def expr: Expression

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def %(other: Expression): Expression
  4. def &(other: Expression): Expression
  5. def &&(other: Expression): Predicate
  6. def *(other: Expression): Expression
  7. def +(other: Expression): Expression
  8. def -(other: Expression): Expression
  9. def /(other: Expression): Expression
  10. def <(other: Expression): Predicate
  11. def <=(other: Expression): Predicate
  12. def <=>(other: Expression): Predicate
  13. def =!=(other: Expression): Predicate
  14. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. def ===(other: Expression): Predicate
  16. def >(other: Expression): Predicate
  17. def >=(other: Expression): Predicate
  18. def ^(other: Expression): Expression
  19. def as(alias: Symbol): NamedExpression
  20. def as(alias: String): NamedExpression
  21. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  22. def asc: SortOrder
  23. def asc_nullsLast: SortOrder
  24. def cast(to: DataType): Expression
  25. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  26. def contains(other: Expression): Expression
  27. def desc: SortOrder
  28. def desc_nullsFirst: SortOrder
  29. def div(other: Expression): Expression
  30. def endsWith(other: Expression): Expression
  31. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  33. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  34. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  35. def getField(fieldName: String): UnresolvedExtractValue
  36. def getItem(ordinal: Expression): UnresolvedExtractValue
  37. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  38. def in(list: Expression*): Expression
  39. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  40. def isNotNull: Predicate
  41. def isNull: Predicate
  42. def like(other: Expression, escapeChar: Char = '\\'): Expression
  43. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  44. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  45. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  46. def rlike(other: Expression): Expression
  47. def startsWith(other: Expression): Expression
  48. def substr(pos: Expression, len: Expression = Literal(Int.MaxValue)): Expression
  49. def substring(pos: Expression, len: Expression = Literal(Int.MaxValue)): Expression
  50. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  51. def toString(): String
    Definition Classes
    AnyRef → Any
  52. def unary_!: Predicate
  53. def unary_+: Expression
  54. def unary_-: Expression
  55. def unary_~: Expression
  56. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  58. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  59. def |(other: Expression): Expression
  60. def ||(other: Expression): Predicate

Inherited from AnyRef

Inherited from Any

Ungrouped