shark.execution

LateralViewJoinOperator

class LateralViewJoinOperator extends NaryOperator[LateralViewJoinDesc]

LateralViewJoin is used only for LATERAL VIEW explode, which adds a new row per array element in the array to be exploded. Each new row contains one of the array elements in a new field. Hive handles this by having two branches in its plan, then joining their output (see diagram in LateralViewJoinOperator.java). We put all the explode logic here instead.

Linear Supertypes
NaryOperator[LateralViewJoinDesc], Operator[LateralViewJoinDesc], Serializable, Serializable, LogHelper, Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LateralViewJoinOperator
  2. NaryOperator
  3. Operator
  4. Serializable
  5. Serializable
  6. LogHelper
  7. Logging
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LateralViewJoinOperator()

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def addChild(child: Operator[_ <: HiveDesc]): Unit

    Definition Classes
    Operator
  7. def addParent(parent: Operator[_ <: HiveDesc]): Unit

    Definition Classes
    Operator
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def childOperators: ArrayBuffer[Operator[_ <: HiveDesc]]

    Definition Classes
    Operator
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def combineMultipleRdds(rdds: Seq[(Int, RDD[_])]): RDD[_]

    Called on master.

    Called on master.

    Definition Classes
    LateralViewJoinOperatorNaryOperator
  12. def desc: LateralViewJoinDesc

    Definition Classes
    Operator
  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def errStream(): PrintStream

    Definition Classes
    LogHelper
  16. def execute(): RDD[_]

    Execute the operator.

    Execute the operator. This should recursively execute parent operators.

    Definition Classes
    LateralViewJoinOperatorNaryOperatorOperator
  17. def executeParents(): Seq[(Int, RDD[_])]

    Attributes
    protected
    Definition Classes
    Operator
  18. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  20. def getLvfOp(): LateralViewForwardOperator

  21. def getLvjSelOIString(): String

  22. def getLvjSelOp(): SelectOperator

  23. def getTag: Int

    Return the join tag.

    Return the join tag. This is usually just 0. ReduceSink might set it to something else.

    Definition Classes
    Operator
  24. def getUdtfOIString(): String

  25. def getUdtfOp(): UDTFOperator

  26. def getUdtfSelOIString(): String

  27. def getUdtfSelOp(): SelectOperator

  28. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  29. def hconf: HiveConf

    Definition Classes
    Operator
  30. def initEvaluators(evals: Array[ExprNodeEvaluator], start: Int, length: Int, rowInspector: ObjectInspector): Array[ObjectInspector]

    Initialize an array of ExprNodeEvaluator from start, for specified length and return the result ObjectInspectors.

    Initialize an array of ExprNodeEvaluator from start, for specified length and return the result ObjectInspectors.

    Attributes
    protected
    Definition Classes
    Operator
  31. def initEvaluators(evals: Array[ExprNodeEvaluator], rowInspector: ObjectInspector): Array[ObjectInspector]

    Initialize an array of ExprNodeEvaluator and return the result ObjectInspectors.

    Initialize an array of ExprNodeEvaluator and return the result ObjectInspectors.

    Attributes
    protected
    Definition Classes
    Operator
  32. def initEvaluatorsAndReturnStruct(evals: Array[ExprNodeEvaluator], outputColName: List[String], rowInspector: ObjectInspector): StructObjectInspector

    Initialize an array of ExprNodeEvaluator and put the return values into a StructObjectInspector with integer field names.

    Initialize an array of ExprNodeEvaluator and put the return values into a StructObjectInspector with integer field names.

    Attributes
    protected
    Definition Classes
    Operator
  33. def initEvaluatorsAndReturnStruct(evals: Array[ExprNodeEvaluator], fieldObjectInspectors: Array[ObjectInspector], distinctColIndices: List[List[Integer]], outputColNames: List[String], length: Int, rowInspector: ObjectInspector): StructObjectInspector

    Copy from the org.

    Copy from the org.apache.hadoop.hive.ql.exec.ReduceSinkOperator Initializes array of ExprNodeEvaluator. Adds Union field for distinct column indices for group by. Puts the return values into a StructObjectInspector with output column names.

    If distinctColIndices is empty, the object inspector is same as Operator#initEvaluatorsAndReturnStruct(ExprNodeEvaluator[], List, ObjectInspector)

    Attributes
    protected
    Definition Classes
    Operator
  34. def initEvaluatorsAndReturnStruct(evals: Array[ExprNodeEvaluator], distinctColIndices: List[List[Integer]], outputColNames: List[String], length: Int, rowInspector: ObjectInspector): StructObjectInspector

    Copy from the org.

    Copy from the org.apache.hadoop.hive.ql.exec.ReduceSinkOperator Initializes array of ExprNodeEvaluator. Adds Union field for distinct column indices for group by. Puts the return values into a StructObjectInspector with output column names.

    If distinctColIndices is empty, the object inspector is same as Operator#initEvaluatorsAndReturnStruct(ExprNodeEvaluator[], List, ObjectInspector)

    Attributes
    protected
    Definition Classes
    Operator
  35. def initializeMasterOnAll(): Unit

    Recursively calls initializeOnMaster() for the entire query plan.

    Recursively calls initializeOnMaster() for the entire query plan. Parent operators are called before children.

    Definition Classes
    Operator
  36. def initializeOnMaster(): Unit

    Initialize the operator on master node.

    Initialize the operator on master node. This can have dependency on other nodes. When an operator's initializeOnMaster() is invoked, all its parents' initializeOnMaster() have been invoked.

    Definition Classes
    LateralViewJoinOperatorOperator
  37. def initializeOnSlave(): Unit

    Initialize the operator on slave nodes.

    Initialize the operator on slave nodes. This method should have no dependency on parents or children. Everything that is not used in this method should be marked @transient.

    Definition Classes
    LateralViewJoinOperatorOperator
  38. def inputObjectInspectors(): Seq[ObjectInspector]

    Attributes
    protected
    Definition Classes
    Operator
  39. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  40. def isTraceEnabled(): Boolean

    Attributes
    protected
    Definition Classes
    Logging
  41. def log: Logger

    Attributes
    protected
    Definition Classes
    Logging
  42. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  43. def logDebug(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  44. def logError(msg: String, exception: Throwable): Unit

    Definition Classes
    LogHelper
  45. def logError(msg: String, detail: String): Unit

    Definition Classes
    LogHelper
  46. def logError(msg: ⇒ String): Unit

    Definition Classes
    LogHelper → Logging
  47. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  48. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  49. def logInfo(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  50. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  51. def logTrace(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  52. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  53. def logWarning(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  54. var lvfOp: LateralViewForwardOperator

  55. var lvjSelEval: Array[ExprNodeEvaluator]

  56. var lvjSelOIString: String

  57. var lvjSelOp: SelectOperator

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

    Definition Classes
    AnyRef
  59. final def notify(): Unit

    Definition Classes
    AnyRef
  60. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  61. var objectInspectors: Seq[ObjectInspector]

    Definition Classes
    Operator
  62. def outStream(): PrintStream

    Definition Classes
    LogHelper
  63. def outputObjectInspector(): StandardStructObjectInspector

    Definition Classes
    LateralViewJoinOperatorOperator
  64. def parentOperators: ArrayBuffer[Operator[_ <: HiveDesc]]

    Definition Classes
    Operator
  65. def parentOperatorsAsJavaList: List[Operator[_ <: HiveDesc]]

    Return the parent operators as a Java List.

    Return the parent operators as a Java List. This is for interoperability with Java. We use this in explain's Java code.

    Definition Classes
    Operator
  66. def postprocessRdd(rdd: RDD[_]): RDD[_]

    Called on master.

    Called on master.

    Definition Classes
    NaryOperator
  67. def processPartition(split: Int, iter: Iterator[_]): Iterator[Any]

    Per existing row, emit a new row with each value of the exploded array

    Per existing row, emit a new row with each value of the exploded array

    Definition Classes
    LateralViewJoinOperatorNaryOperatorOperator
  68. def returnTerminalOperators(): Seq[Operator[_ <: HiveDesc]]

    Definition Classes
    Operator
  69. def returnTopOperators(): Seq[Operator[_]]

    Definition Classes
    Operator
  70. def setDesc[B >: LateralViewJoinDesc](d: B): Unit

    Definition Classes
    Operator
  71. def setLvfOp(arg0: LateralViewForwardOperator): Unit

  72. def setLvjSelOIString(arg0: String): Unit

  73. def setLvjSelOp(arg0: SelectOperator): Unit

  74. def setUdtfOIString(arg0: String): Unit

  75. def setUdtfOp(arg0: UDTFOperator): Unit

  76. def setUdtfSelOIString(arg0: String): Unit

  77. def setUdtfSelOp(arg0: SelectOperator): Unit

  78. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  79. def toString(): String

    Definition Classes
    AnyRef → Any
  80. var udtfEval: Array[ExprNodeEvaluator]

  81. var udtfOIString: String

  82. var udtfOp: UDTFOperator

  83. var udtfSelOIString: String

  84. var udtfSelOp: SelectOperator

  85. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from NaryOperator[LateralViewJoinDesc]

Inherited from Operator[LateralViewJoinDesc]

Inherited from Serializable

Inherited from Serializable

Inherited from LogHelper

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped