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

Inherited from Serializable

Inherited from Serializable

Inherited from SeqArgs

Inherited from CodegenFallback

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