shark.execution

Operator

abstract class Operator[+T <: HiveDesc] extends LogHelper with Serializable

Linear Supertypes
Serializable, Serializable, LogHelper, Logging, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Operator
  2. Serializable
  3. Serializable
  4. LogHelper
  5. Logging
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Operator()

Abstract Value Members

  1. abstract def execute(): RDD[_]

    Execute the operator.

    Execute the operator. This should recursively execute parent operators.

  2. abstract def processPartition(split: Int, iter: Iterator[_]): Iterator[_]

Concrete 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

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

  8. final def asInstanceOf[T0]: T0

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

  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def desc: T

  12. final def eq(arg0: AnyRef): Boolean

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

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

    Definition Classes
    LogHelper
  15. def executeParents(): Seq[(Int, RDD[_])]

    Attributes
    protected
  16. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  18. def getTag: Int

    Return the join tag.

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

  19. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  20. def hconf: HiveConf

  21. 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
  22. 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
  23. 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
  24. 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
  25. 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
  26. 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.

  27. 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.

  28. 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.

  29. def inputObjectInspectors(): Seq[ObjectInspector]

    Attributes
    protected
  30. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  31. def isTraceEnabled(): Boolean

    Attributes
    protected
    Definition Classes
    Logging
  32. def log: Logger

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

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

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

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

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

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

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

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

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

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

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

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

    Attributes
    protected
    Definition Classes
    Logging
  45. final def ne(arg0: AnyRef): Boolean

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

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

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

  49. def outStream(): PrintStream

    Definition Classes
    LogHelper
  50. def outputObjectInspector(): ObjectInspector

  51. def parentOperators: ArrayBuffer[Operator[_ <: HiveDesc]]

  52. 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.

  53. def returnTerminalOperators(): Seq[Operator[_ <: HiveDesc]]

  54. def returnTopOperators(): Seq[Operator[_]]

  55. def setDesc[B >: T](d: B): Unit

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

    Definition Classes
    AnyRef
  57. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from LogHelper

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped