case class MapTransform(argument: Expression, key: Expression, function: Expression, zeroF: (DataType) ⇒ Option[Any]) extends Expression with HigherOrderFunctionLike with CodegenFallback with SeqArgs with Product with Serializable

Transforms a map

argument

map of type x to y,

key

expr for key

function

value to value transformation for that key entry

Linear Supertypes
Serializable, Serializable, SeqArgs, CodegenFallback, HigherOrderFunctionLike, HigherOrderFunction, ExpectsInputTypes, Expression, TreeNode[Expression], TreePatternBits, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MapTransform
  2. Serializable
  3. Serializable
  4. SeqArgs
  5. CodegenFallback
  6. HigherOrderFunctionLike
  7. HigherOrderFunction
  8. ExpectsInputTypes
  9. Expression
  10. TreeNode
  11. TreePatternBits
  12. Product
  13. Equals
  14. AnyRef
  15. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MapTransform(argument: Expression, key: Expression, function: Expression, zeroF: (DataType) ⇒ Option[Any])

    argument

    map of type x to y,

    key

    expr for key

    function

    value to value transformation for that key entry

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 apply(number: Int): TreeNode[_]
    Definition Classes
    TreeNode
  5. def argString(maxFields: Int): String
    Definition Classes
    TreeNode
  6. val argument: Expression
  7. def argumentTypes: Seq[AbstractDataType]
    Definition Classes
    MapTransform → HigherOrderFunction
  8. def arguments: Seq[Expression]
    Definition Classes
    MapTransformSeqArgs → HigherOrderFunction
  9. lazy val argumentsResolved: Boolean
    Definition Classes
    HigherOrderFunction
  10. def asCode: String
    Definition Classes
    TreeNode
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. final def bind(f: (Expression, Seq[(DataType, Boolean)]) ⇒ LambdaFunction): HigherOrderFunction
    Definition Classes
    HigherOrderFunction
  13. def bindInternal(f: (Expression, Seq[(DataType, Boolean)]) ⇒ LambdaFunction): HigherOrderFunction
    Attributes
    protected
    Definition Classes
    MapTransform → HigherOrderFunction
  14. lazy val canonicalized: Expression
    Definition Classes
    HigherOrderFunction → Expression
  15. def checkArgumentDataTypes(): TypeCheckResult
    Definition Classes
    HigherOrderFunction
  16. def checkInputDataTypes(): TypeCheckResult
    Definition Classes
    ExpectsInputTypes → Expression
  17. def children: Seq[Expression]
    Definition Classes
    MapTransform → TreeNode
  18. def childrenResolved: Boolean
    Definition Classes
    Expression
  19. def clone(): Expression
    Definition Classes
    TreeNode → AnyRef
  20. def collect[B](pf: PartialFunction[Expression, B]): Seq[B]
    Definition Classes
    TreeNode
  21. def collectFirst[B](pf: PartialFunction[Expression, B]): Option[B]
    Definition Classes
    TreeNode
  22. def collectLeaves(): Seq[Expression]
    Definition Classes
    TreeNode
  23. final def containsAllPatterns(patterns: TreePattern*): Boolean
    Definition Classes
    TreePatternBits
  24. final def containsAnyPattern(patterns: TreePattern*): Boolean
    Definition Classes
    TreePatternBits
  25. lazy val containsChild: Set[TreeNode[_]]
    Definition Classes
    TreeNode
  26. final def containsPattern(t: TreePattern): Boolean
    Definition Classes
    TreePatternBits
    Annotations
    @inline()
  27. def copyTagsFrom(other: Expression): Unit
    Definition Classes
    TreeNode
  28. def dataType: DataType
    Definition Classes
    MapTransform → Expression
  29. lazy val deterministic: Boolean
    Definition Classes
    Expression
  30. def doGenCode(ctx: CodegenContext, ev: ExprCode): ExprCode
    Attributes
    protected
    Definition Classes
    CodegenFallback → Expression
  31. lazy val elementVar: NamedLambdaVariable
    Annotations
    @transient()
  32. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. def eval(inputRow: InternalRow): Any
    Definition Classes
    MapTransform → Expression
  34. def exists(f: (Expression) ⇒ Boolean): Boolean
    Definition Classes
    TreeNode
  35. def fastEquals(other: TreeNode[_]): Boolean
    Definition Classes
    TreeNode
  36. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  37. def find(f: (Expression) ⇒ Boolean): Option[Expression]
    Definition Classes
    TreeNode
  38. def flatArguments: Iterator[Any]
    Attributes
    protected
    Definition Classes
    Expression
  39. def flatMap[A](f: (Expression) ⇒ TraversableOnce[A]): Seq[A]
    Definition Classes
    TreeNode
  40. def foldable: Boolean
    Definition Classes
    Expression
  41. def foreach(f: (Expression) ⇒ Unit): Unit
    Definition Classes
    TreeNode
  42. def foreachUp(f: (Expression) ⇒ Unit): Unit
    Definition Classes
    TreeNode
  43. def freshCopyIfContainsStatefulExpression(): Expression
    Definition Classes
    Expression
  44. val function: Expression
    Definition Classes
    MapTransformSeqArgs
  45. def functionTypes: Seq[AbstractDataType]
    Definition Classes
    MapTransform → HigherOrderFunction
  46. def functions: Seq[Expression]
    Definition Classes
    MapTransform → HigherOrderFunction
  47. lazy val functionsForEval: Seq[Expression]
    Definition Classes
    HigherOrderFunction
    Annotations
    @transient()
  48. def genCode(ctx: CodegenContext): ExprCode
    Definition Classes
    Expression
  49. def generateTreeString(depth: Int, lastChildren: Seq[Boolean], append: (String) ⇒ Unit, verbose: Boolean, prefix: String, addSuffix: Boolean, maxFields: Int, printNodeId: Boolean, indent: Int): Unit
    Definition Classes
    TreeNode
  50. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  51. def getDefaultTreePatternBits: BitSet
    Attributes
    protected
    Definition Classes
    TreeNode
  52. def getTagValue[T](tag: TreeNodeTag[T]): Option[T]
    Definition Classes
    TreeNode
  53. def hashCode(): Int
    Definition Classes
    TreeNode → AnyRef → Any
  54. val indexMap: ThreadLocal[Map[Any, Int]]
  55. def innerChildren: Seq[TreeNode[_]]
    Definition Classes
    TreeNode
  56. def inputTypes: Seq[AbstractDataType]
    Definition Classes
    HigherOrderFunction → ExpectsInputTypes
  57. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  58. def isRuleIneffective(ruleId: RuleId): Boolean
    Attributes
    protected
    Definition Classes
    TreeNode
  59. def jsonFields: List[JField]
    Attributes
    protected
    Definition Classes
    TreeNode
  60. val key: Expression
  61. lazy val keyType: DataType
  62. final def legacyWithNewChildren(newChildren: Seq[Expression]): Expression
    Attributes
    protected
    Definition Classes
    TreeNode
  63. def makeCopy(newArgs: Array[AnyRef]): Expression
    Definition Classes
    TreeNode
  64. def map[A](f: (Expression) ⇒ A): Seq[A]
    Definition Classes
    TreeNode
  65. def mapChildren(f: (Expression) ⇒ Expression): Expression
    Definition Classes
    TreeNode
  66. def mapProductIterator[B](f: (Any) ⇒ B)(implicit arg0: ClassTag[B]): Array[B]
    Attributes
    protected
    Definition Classes
    TreeNode
  67. def markRuleAsIneffective(ruleId: RuleId): Unit
    Attributes
    protected
    Definition Classes
    TreeNode
  68. def multiTransformDown(rule: PartialFunction[Expression, Seq[Expression]]): Stream[Expression]
    Definition Classes
    TreeNode
  69. def multiTransformDownWithPruning(cond: (TreePatternBits) ⇒ Boolean, ruleId: RuleId)(rule: PartialFunction[Expression, Seq[Expression]]): Stream[Expression]
    Definition Classes
    TreeNode
  70. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  71. def nodeName: String
    Definition Classes
    TreeNode
  72. final val nodePatterns: Seq[TreePattern]
    Definition Classes
    HigherOrderFunction → TreeNode
  73. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  74. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  75. def nullable: Boolean
    Definition Classes
    HigherOrderFunction → Expression
  76. def numberedTreeString: String
    Definition Classes
    TreeNode
  77. val origin: Origin
    Definition Classes
    TreeNode
  78. def otherCopyArgs: Seq[AnyRef]
    Attributes
    protected
    Definition Classes
    TreeNode
  79. def p(number: Int): Expression
    Definition Classes
    TreeNode
  80. def prettyJson: String
    Definition Classes
    TreeNode
  81. def prettyName: String
    Definition Classes
    Expression
  82. def references: AttributeSet
    Definition Classes
    Expression
  83. lazy val resolved: Boolean
    Definition Classes
    HigherOrderFunction → Expression
  84. final def semanticEquals(other: Expression): Boolean
    Definition Classes
    Expression
  85. def semanticHash(): Int
    Definition Classes
    Expression
  86. def setTagValue[T](tag: TreeNodeTag[T], value: T): Unit
    Definition Classes
    TreeNode
  87. def simpleString(maxFields: Int): String
    Definition Classes
    Expression → TreeNode
  88. def simpleStringWithNodeId(): String
    Definition Classes
    Expression → TreeNode
  89. def sql: String
    Definition Classes
    Expression
  90. def stateful: Boolean
    Definition Classes
    Expression
  91. def stringArgs: Iterator[Any]
    Attributes
    protected
    Definition Classes
    TreeNode
  92. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  93. def toJSON: String
    Definition Classes
    TreeNode
  94. def toString(): String
    Definition Classes
    Expression → TreeNode → AnyRef → Any
  95. def transform(rule: PartialFunction[Expression, Expression]): Expression
    Definition Classes
    TreeNode
  96. def transformDown(rule: PartialFunction[Expression, Expression]): Expression
    Definition Classes
    TreeNode
  97. def transformDownWithPruning(cond: (TreePatternBits) ⇒ Boolean, ruleId: RuleId)(rule: PartialFunction[Expression, Expression]): Expression
    Definition Classes
    TreeNode
  98. def transformUp(rule: PartialFunction[Expression, Expression]): Expression
    Definition Classes
    TreeNode
  99. def transformUpWithBeforeAndAfterRuleOnChildren(cond: (Expression) ⇒ Boolean, ruleId: RuleId)(rule: PartialFunction[(Expression, Expression), Expression]): Expression
    Definition Classes
    TreeNode
  100. def transformUpWithPruning(cond: (TreePatternBits) ⇒ Boolean, ruleId: RuleId)(rule: PartialFunction[Expression, Expression]): Expression
    Definition Classes
    TreeNode
  101. def transformWithPruning(cond: (TreePatternBits) ⇒ Boolean, ruleId: RuleId)(rule: PartialFunction[Expression, Expression]): Expression
    Definition Classes
    TreeNode
  102. lazy val treePatternBits: BitSet
    Definition Classes
    TreeNode → TreePatternBits
  103. def treeString(append: (String) ⇒ Unit, verbose: Boolean, addSuffix: Boolean, maxFields: Int, printOperatorId: Boolean): Unit
    Definition Classes
    TreeNode
  104. final def treeString(verbose: Boolean, addSuffix: Boolean, maxFields: Int, printOperatorId: Boolean): String
    Definition Classes
    TreeNode
  105. final def treeString: String
    Definition Classes
    TreeNode
  106. def typeSuffix: String
    Attributes
    protected
    Definition Classes
    Expression
  107. def unsetTagValue[T](tag: TreeNodeTag[T]): Unit
    Definition Classes
    TreeNode
  108. lazy val valueType: DataType
  109. final def verboseString(maxFields: Int): String
    Definition Classes
    Expression → TreeNode
  110. def verboseStringWithSuffix(maxFields: Int): String
    Definition Classes
    TreeNode
  111. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  112. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  113. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  114. final def withCanonicalizedChildren: Expression
    Attributes
    protected
    Definition Classes
    Expression
  115. final def withNewChildren(newChildren: Seq[Expression]): Expression
    Definition Classes
    TreeNode
  116. def withNewChildrenInternal(newChildren: IndexedSeq[Expression]): Expression
    Attributes
    protected
    Definition Classes
    MapTransform → TreeNode
  117. lazy val zero: Any
  118. val zeroF: (DataType) ⇒ Option[Any]

Inherited from Serializable

Inherited from Serializable

Inherited from SeqArgs

Inherited from CodegenFallback

Inherited from HigherOrderFunctionLike

Inherited from HigherOrderFunction

Inherited from ExpectsInputTypes

Inherited from Expression

Inherited from TreeNode[Expression]

Inherited from TreePatternBits

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped