|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hive.ql.exec.Operator<ScriptDesc>
org.apache.hadoop.hive.ql.exec.ScriptOperator
public class ScriptOperator
ScriptOperator.
Nested Class Summary | |
---|---|
static class |
ScriptOperator.Counter
Counter. |
class |
ScriptOperator.PathFinder
Maps a relative pathname to an absolute pathname using the PATH enviroment. |
Nested classes/interfaces inherited from class org.apache.hadoop.hive.ql.exec.Operator |
---|
Operator.OperatorFunc, Operator.ProgressCounter, Operator.State |
Field Summary |
---|
Fields inherited from class org.apache.hadoop.hive.ql.exec.Operator |
---|
alias, beginTime, childOperators, childOperatorsArray, childOperatorsTag, colExprMap, conf, counterNames, counterNameToEnum, counters, done, fatalErrorCntr, groupKeyObject, id, inputObjInspectors, inputRows, LOG, numInputRowsCntr, numOutputRowsCntr, operatorId, out, outputObjInspector, outputRows, parentOperators, reporter, state, statsMap, timeTakenCntr, totalTime |
Constructor Summary | |
---|---|
ScriptOperator()
|
Method Summary | |
---|---|
protected String[] |
addWrapper(String[] inArgs)
Wrap the script in a wrapper that allows admins to control. |
void |
close(boolean abort)
|
String |
getName()
Implements the getName function for the Node Interface. |
int |
getType()
Should be overridden to return the type of the specific operator among the types in OperatorType. |
protected void |
initializeOp(org.apache.hadoop.conf.Configuration hconf)
Operator specific initialization. |
void |
processOp(Object row,
int tag)
Process the row. |
static String[] |
splitArgs(String args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ScriptOperator()
Method Detail |
---|
protected void initializeOp(org.apache.hadoop.conf.Configuration hconf) throws HiveException
Operator
initializeOp
in class Operator<ScriptDesc>
HiveException
public void processOp(Object row, int tag) throws HiveException
Operator
processOp
in class Operator<ScriptDesc>
row
- The object representing the row.tag
- The tag of the row usually means which parent this row comes from.
Rows with the same tag should have exactly the same rowInspector
all the time.
HiveException
public void close(boolean abort) throws HiveException
close
in class Operator<ScriptDesc>
HiveException
protected String[] addWrapper(String[] inArgs)
public static String[] splitArgs(String args)
public String getName()
Operator
getName
in interface Node
getName
in class Operator<ScriptDesc>
public int getType()
Operator
getType
in class Operator<ScriptDesc>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |