Class

io.projectglow.sql.expressions

ExplodeMatrix

Related Doc: package expressions

Permalink

case class ExplodeMatrix(matrixExpr: Expression) extends Expression with Generator with CodegenFallback with ExpectsInputTypes with Product with Serializable

Explodes a matrix by row. Each row of the input matrix will be output as an array of doubles.

If the input expression is null or has 0 rows, the output will be empty.

matrixExpr

The matrix to explode. May be dense or sparse.

Linear Supertypes
Serializable, Serializable, ExpectsInputTypes, CodegenFallback, Generator, Expression, TreeNode[Expression], Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExplodeMatrix
  2. Serializable
  3. Serializable
  4. ExpectsInputTypes
  5. CodegenFallback
  6. Generator
  7. Expression
  8. TreeNode
  9. Product
  10. Equals
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ExplodeMatrix(matrixExpr: Expression)

    Permalink

    matrixExpr

    The matrix to explode. May be dense or sparse.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(number: Int): TreeNode[_]

    Permalink
    Definition Classes
    TreeNode
  5. def argString: String

    Permalink
    Definition Classes
    TreeNode
  6. def asCode: String

    Permalink
    Definition Classes
    TreeNode
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. lazy val canonicalized: Expression

    Permalink
    Definition Classes
    Expression
  9. def checkInputDataTypes(): TypeCheckResult

    Permalink
    Definition Classes
    ExpectsInputTypes → Expression
  10. def children: Seq[Expression]

    Permalink
    Definition Classes
    ExplodeMatrix → TreeNode
  11. def childrenResolved: Boolean

    Permalink
    Definition Classes
    Expression
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def collect[B](pf: PartialFunction[Expression, B]): Seq[B]

    Permalink
    Definition Classes
    TreeNode
  14. def collectFirst[B](pf: PartialFunction[Expression, B]): Option[B]

    Permalink
    Definition Classes
    TreeNode
  15. def collectLeaves(): Seq[Expression]

    Permalink
    Definition Classes
    TreeNode
  16. lazy val containsChild: Set[TreeNode[_]]

    Permalink
    Definition Classes
    TreeNode
  17. def dataType: DataType

    Permalink
    Definition Classes
    Generator → Expression
  18. lazy val deterministic: Boolean

    Permalink
    Definition Classes
    Expression
  19. def doGenCode(ctx: CodegenContext, ev: ExprCode): ExprCode

    Permalink
    Attributes
    protected
    Definition Classes
    CodegenFallback → Expression
  20. def elementSchema: StructType

    Permalink
    Definition Classes
    ExplodeMatrix → Generator
  21. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. def eval(input: InternalRow): TraversableOnce[InternalRow]

    Permalink
    Definition Classes
    ExplodeMatrix → Generator → Expression
  23. def fastEquals(other: TreeNode[_]): Boolean

    Permalink
    Definition Classes
    TreeNode
  24. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. def find(f: (Expression) ⇒ Boolean): Option[Expression]

    Permalink
    Definition Classes
    TreeNode
  26. def flatArguments: Iterator[Any]

    Permalink
    Attributes
    protected
    Definition Classes
    Expression
  27. def flatMap[A](f: (Expression) ⇒ TraversableOnce[A]): Seq[A]

    Permalink
    Definition Classes
    TreeNode
  28. def foldable: Boolean

    Permalink
    Definition Classes
    Generator → Expression
  29. def foreach(f: (Expression) ⇒ Unit): Unit

    Permalink
    Definition Classes
    TreeNode
  30. def foreachUp(f: (Expression) ⇒ Unit): Unit

    Permalink
    Definition Classes
    TreeNode
  31. def genCode(ctx: CodegenContext): ExprCode

    Permalink
    Definition Classes
    Expression
  32. def generateTreeString(depth: Int, lastChildren: Seq[Boolean], builder: StringBuilder, verbose: Boolean, prefix: String, addSuffix: Boolean): StringBuilder

    Permalink
    Definition Classes
    TreeNode
  33. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  34. def hashCode(): Int

    Permalink
    Definition Classes
    TreeNode → AnyRef → Any
  35. def innerChildren: Seq[TreeNode[_]]

    Permalink
    Attributes
    protected
    Definition Classes
    TreeNode
  36. def inputTypes: Seq[MatrixUDT]

    Permalink
    Definition Classes
    ExplodeMatrix → ExpectsInputTypes
  37. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  38. def jsonFields: List[JField]

    Permalink
    Attributes
    protected
    Definition Classes
    TreeNode
  39. def makeCopy(newArgs: Array[AnyRef]): Expression

    Permalink
    Definition Classes
    TreeNode
  40. def map[A](f: (Expression) ⇒ A): Seq[A]

    Permalink
    Definition Classes
    TreeNode
  41. def mapChildren(f: (Expression) ⇒ Expression): Expression

    Permalink
    Definition Classes
    TreeNode
  42. def mapProductIterator[B](f: (Any) ⇒ B)(implicit arg0: ClassTag[B]): Array[B]

    Permalink
    Attributes
    protected
    Definition Classes
    TreeNode
  43. val matrixExpr: Expression

    Permalink

    The matrix to explode.

    The matrix to explode. May be dense or sparse.

  44. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  45. def nodeName: String

    Permalink
    Definition Classes
    TreeNode
  46. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  47. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  48. def nullable: Boolean

    Permalink
    Definition Classes
    Generator → Expression
  49. def numberedTreeString: String

    Permalink
    Definition Classes
    TreeNode
  50. val origin: Origin

    Permalink
    Definition Classes
    TreeNode
  51. def otherCopyArgs: Seq[AnyRef]

    Permalink
    Attributes
    protected
    Definition Classes
    TreeNode
  52. def p(number: Int): Expression

    Permalink
    Definition Classes
    TreeNode
  53. def prettyJson: String

    Permalink
    Definition Classes
    TreeNode
  54. def prettyName: String

    Permalink
    Definition Classes
    Expression
  55. def references: AttributeSet

    Permalink
    Definition Classes
    Expression
  56. lazy val resolved: Boolean

    Permalink
    Definition Classes
    Expression
  57. def semanticEquals(other: Expression): Boolean

    Permalink
    Definition Classes
    Expression
  58. def semanticHash(): Int

    Permalink
    Definition Classes
    Expression
  59. def simpleString: String

    Permalink
    Definition Classes
    Expression → TreeNode
  60. def sql: String

    Permalink
    Definition Classes
    Expression
  61. def stringArgs: Iterator[Any]

    Permalink
    Attributes
    protected
    Definition Classes
    TreeNode
  62. def supportCodegen: Boolean

    Permalink
    Definition Classes
    Generator
  63. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  64. def terminate(): TraversableOnce[InternalRow]

    Permalink
    Definition Classes
    Generator
  65. def toJSON: String

    Permalink
    Definition Classes
    TreeNode
  66. def toString(): String

    Permalink
    Definition Classes
    Expression → TreeNode → AnyRef → Any
  67. def transform(rule: PartialFunction[Expression, Expression]): Expression

    Permalink
    Definition Classes
    TreeNode
  68. def transformDown(rule: PartialFunction[Expression, Expression]): Expression

    Permalink
    Definition Classes
    TreeNode
  69. def transformUp(rule: PartialFunction[Expression, Expression]): Expression

    Permalink
    Definition Classes
    TreeNode
  70. def treeString(verbose: Boolean, addSuffix: Boolean): String

    Permalink
    Definition Classes
    TreeNode
  71. def treeString: String

    Permalink
    Definition Classes
    TreeNode
  72. final def verboseString: String

    Permalink
    Definition Classes
    Expression → TreeNode
  73. def verboseStringWithSuffix: String

    Permalink
    Definition Classes
    TreeNode
  74. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  75. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  76. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  77. def withNewChildren(newChildren: Seq[Expression]): Expression

    Permalink
    Definition Classes
    TreeNode

Inherited from Serializable

Inherited from Serializable

Inherited from ExpectsInputTypes

Inherited from CodegenFallback

Inherited from Generator

Inherited from Expression

Inherited from TreeNode[Expression]

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped