Packages

case class SingleColumn(expr: Expression, qualifier: Option[String] = None, nodeLocation: Option[NodeLocation]) extends Attribute with Product with Serializable

An attribute that produces a single column value with a given expression.

Linear Supertypes
Attribute, LogSupport, LazyLogger, LoggingMethods, Serializable, LeafExpression, Expression, Product, Equals, TreeNode[Expression], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SingleColumn
  2. Attribute
  3. LogSupport
  4. LazyLogger
  5. LoggingMethods
  6. Serializable
  7. LeafExpression
  8. Expression
  9. Product
  10. Equals
  11. TreeNode
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SingleColumn(expr: Expression, qualifier: Option[String] = None, nodeLocation: Option[NodeLocation])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def alias: Option[String]
    Definition Classes
    Attribute
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def attributeName: String

    Column name without qualifier

    Column name without qualifier

    Definition Classes
    AttributeExpression
  7. def children: Seq[Expression]
    Definition Classes
    SingleColumnLeafExpressionTreeNode
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  9. def collectExpressions(cond: PartialFunction[Expression, Boolean]): List[Expression]
    Definition Classes
    Expression
  10. def collectSubExpressions: List[Expression]
    Definition Classes
    Expression
  11. def dataType: DataType
    Definition Classes
    SingleColumnExpression
  12. def dataTypeName: String
    Definition Classes
    Expression
  13. macro def debug(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  14. macro def debug(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. macro def error(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  17. macro def error(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  18. val expr: Expression
  19. def fullName: String
    Definition Classes
    Attribute
  20. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. macro def info(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  22. macro def info(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  23. def inputColumns: Seq[Attribute]

    Return columns used for generating this attribute

    Return columns used for generating this attribute

    Definition Classes
    SingleColumnAttribute
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. macro def logAt(logLevel: LogLevel, message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  26. lazy val logger: Logger
    Attributes
    protected[this]
    Definition Classes
    LazyLogger
  27. def matched(columnPath: ColumnPath, context: AnalyzerContext): Option[Attribute]

    If a given column name matches with this Attribute, return this.

    If a given column name matches with this Attribute, return this. If there are multiple candidate attributes (e.g., via Join, Union), return MultiSourceAttribute.

    Definition Classes
    Attribute
  28. def matchesWith(columnPath: ColumnPath): Boolean

    Return true if this Attribute matches with a given column path

    Return true if this Attribute matches with a given column path

    Definition Classes
    Attribute
  29. def name: String
    Definition Classes
    SingleColumnAttribute
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. val nodeLocation: Option[NodeLocation]

    returns

    the code location in the SQL text if available

    Definition Classes
    SingleColumnTreeNode
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  34. def outputColumns: Seq[Attribute]

    Return columns generated from this attribute

    Return columns generated from this attribute

    Definition Classes
    SingleColumnAttribute
  35. def prefix: String
    Definition Classes
    Attribute
  36. def productElementNames: Iterator[String]
    Definition Classes
    Product
  37. val qualifier: Option[String]
    Definition Classes
    SingleColumnAttribute
  38. lazy val resolved: Boolean
    Definition Classes
    Expression
  39. def resolvedChildren: Boolean
    Definition Classes
    Expression
  40. def resolvedInputs: Boolean
    Definition Classes
    Expression
  41. def setQualifierIfEmpty(newQualifier: Option[String]): Attribute
    Definition Classes
    Attribute
  42. def sourceColumns: Seq[SourceColumn]

    Returns the unmodified source columns referenced by this Attribute

    Returns the unmodified source columns referenced by this Attribute

    Definition Classes
    SingleColumnAttribute
  43. def sqlExpr: String
    Definition Classes
    SingleColumnExpression
  44. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  45. def toString(): String
    Definition Classes
    SingleColumn → AnyRef → Any
  46. macro def trace(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  47. macro def trace(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  48. def transformExpression(rule: PartialFunction[Expression, Expression]): Expression

    Recursively transform the expression in breadth-first order

    Recursively transform the expression in breadth-first order

    Definition Classes
    Expression
  49. def transformPlan(rule: PartialFunction[LogicalPlan, LogicalPlan]): Expression
    Definition Classes
    Expression
  50. def transformUpExpression(rule: PartialFunction[Expression, Expression]): Expression

    Recursively transform the expression in depth-first order

    Recursively transform the expression in depth-first order

    Definition Classes
    Expression
  51. def traverseExpressions[U](rule: PartialFunction[Expression, U]): Unit
    Definition Classes
    Expression
  52. def traversePlan[U](rule: PartialFunction[LogicalPlan, U]): Unit
    Definition Classes
    Expression
  53. def traversePlanOnce[U](rule: PartialFunction[LogicalPlan, U]): Unit
    Definition Classes
    Expression
  54. def typeDescription: String

    * Returns "(name):(type)" of this attribute

    * Returns "(name):(type)" of this attribute

    Definition Classes
    Expression
  55. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  56. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  57. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  58. macro def warn(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  59. macro def warn(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  60. def withAlias(newAlias: Option[String]): Attribute
    Definition Classes
    Attribute
  61. def withAlias(newAlias: String): Attribute
    Definition Classes
    Attribute
  62. def withQualifier(newQualifier: Option[String]): Attribute
    Definition Classes
    SingleColumnAttribute
  63. def withQualifier(newQualifier: String): Attribute
    Definition Classes
    Attribute

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Attribute

Inherited from LogSupport

Inherited from LazyLogger

Inherited from LoggingMethods

Inherited from Serializable

Inherited from LeafExpression

Inherited from Expression

Inherited from Product

Inherited from Equals

Inherited from TreeNode[Expression]

Inherited from AnyRef

Inherited from Any

Ungrouped