org.apache.hadoop.hive.ql.exec

GroupByPreShuffleOperator

class GroupByPreShuffleOperator extends UnaryOperator[GroupByDesc]

The pre-shuffle group by operator responsible for map side aggregations.

Linear Supertypes
UnaryOperator[GroupByDesc], shark.execution.Operator[GroupByDesc], Serializable, Serializable, LogHelper, Logging, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. GroupByPreShuffleOperator
  2. UnaryOperator
  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 GroupByPreShuffleOperator()

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: shark.execution.Operator[_ <: HiveDesc]): Unit

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

    Definition Classes
    Operator
  8. final def aggregateExistingKey(row: AnyRef, aggregations: Array[AggregationBuffer]): Unit

    Attributes
    protected
    Annotations
    @inline()
  9. final def aggregateNewKey(row: AnyRef, aggregations: Array[AggregationBuffer]): Unit

    Attributes
    protected
    Annotations
    @inline()
  10. var aggregationEvals: Array[GenericUDAFEvaluator]

  11. var aggregationIsDistinct: Array[Boolean]

  12. var aggregationObjectInspectors: Array[ObjectInspector]

  13. var aggregationParameterFields: Array[Array[ExprNodeEvaluator]]

  14. var aggregationParameterObjectInspectors: Array[Array[ObjectInspector]]

  15. var aggregationParameterStandardObjectInspectors: Array[Array[ObjectInspector]]

  16. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  17. def childOperators: ArrayBuffer[shark.execution.Operator[_ <: HiveDesc]]

    Definition Classes
    Operator
  18. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. var cloneNewKeysArray: Array[AnyRef]

  20. var conf: GroupByDesc

  21. def createLocals(): Unit

  22. def createRemotes(): Unit

  23. var currentKeyObjectInspectors: Array[ObjectInspector]

  24. def desc: GroupByDesc

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

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

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

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

    Execute the operator.

    Execute the operator. This should recursively execute parent operators.

    Definition Classes
    UnaryOperatorOperator
  29. def executeParents(): Seq[(Int, RDD[_])]

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

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

    Definition Classes
    AnyRef → Any
  32. def getConf(): GroupByDesc

  33. def getMinReductionHashAggr(): Float

  34. final def getNewKeysIterator(newKeysArray: Array[AnyRef]): Iterator[Unit]

    Attributes
    protected
  35. def getNumRowsCompareHashAggr(): Int

  36. 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
  37. var groupingSets: List[Integer]

  38. var groupingSetsBitSet: Array[BitSet1]

  39. var groupingSetsPosition: Int

  40. var groupingSetsPresent: Boolean

  41. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  42. def hconf: HiveConf

    Definition Classes
    Operator
  43. 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
  44. 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
  45. 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
  46. 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
  47. 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
  48. 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
  49. 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
    GroupByPreShuffleOperatorOperator
  50. 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
    GroupByPreShuffleOperatorOperator
  51. def inputObjectInspectors(): Seq[ObjectInspector]

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

    Definition Classes
    Any
  53. def isTraceEnabled(): Boolean

    Attributes
    protected
    Definition Classes
    Logging
  54. var keyFactory: KeyWrapperFactory

  55. var keyFields: Array[ExprNodeEvaluator]

  56. var keyObjectInspector: StructObjectInspector

  57. def log: Logger

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

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

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

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

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

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

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

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

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

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

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

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

    Attributes
    protected
    Definition Classes
    Logging
  70. var minReductionHashAggr: Float

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

    Definition Classes
    AnyRef
  72. def newAggregations(): Array[AggregationBuffer]

    Attributes
    protected
  73. var newKeysGroupingSets: Array[AnyRef]

  74. final def notify(): Unit

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

    Definition Classes
    AnyRef
  76. var numRowsCompareHashAggr: Int

  77. def objectInspector: ObjectInspector

    Definition Classes
    UnaryOperator
  78. var objectInspectors: Seq[ObjectInspector]

    Definition Classes
    Operator
  79. def outStream(): PrintStream

    Definition Classes
    LogHelper
  80. def outputObjectInspector(): StandardStructObjectInspector

    Definition Classes
    GroupByPreShuffleOperatorOperator
  81. def parentOperator: shark.execution.Operator[HiveDesc]

    Definition Classes
    UnaryOperator
  82. def parentOperators: ArrayBuffer[shark.execution.Operator[_ <: HiveDesc]]

    Definition Classes
    Operator
  83. def parentOperatorsAsJavaList: List[shark.execution.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
  84. def postprocessRdd(rdd: RDD[_]): RDD[_]

    Called on master.

    Called on master.

    Definition Classes
    UnaryOperator
  85. def preprocessRdd(rdd: RDD[_]): RDD[_]

    Called on master.

    Called on master.

    Definition Classes
    UnaryOperator
  86. def processPartition(split: Int, iter: Iterator[_]): Iterator[Array[AnyRef]]

    Process a partition.

    Process a partition. Called on slaves.

    Definition Classes
    GroupByPreShuffleOperatorUnaryOperatorOperator
  87. def returnTerminalOperators(): Seq[shark.execution.Operator[_ <: HiveDesc]]

    Definition Classes
    Operator
  88. def returnTopOperators(): Seq[shark.execution.Operator[_]]

    Definition Classes
    Operator
  89. var rowInspector: ObjectInspector

  90. def setConf(arg0: GroupByDesc): Unit

  91. def setDesc[B >: GroupByDesc](d: B): Unit

    Definition Classes
    Operator
  92. def setMinReductionHashAggr(arg0: Float): Unit

  93. def setNumRowsCompareHashAggr(arg0: Int): Unit

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

    Definition Classes
    AnyRef
  95. def toString(): String

    Definition Classes
    AnyRef → Any
  96. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from UnaryOperator[GroupByDesc]

Inherited from shark.execution.Operator[GroupByDesc]

Inherited from Serializable

Inherited from Serializable

Inherited from LogHelper

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped