org.apache.pig.impl.physicalLayer
Class PhysicalOperator
java.lang.Object
org.apache.pig.impl.physicalLayer.PhysicalOperator
- All Implemented Interfaces:
- Serializable, ExecPhysicalOperator
- Direct Known Subclasses:
- POCogroup, POEval, POLoad, POMapreduce, PORead, POSort, POSplit, POStore, POUnion
public abstract class PhysicalOperator
- extends Object
- implements Serializable, ExecPhysicalOperator
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
opTable
public Map<OperatorKey,ExecPhysicalOperator> opTable
inputs
public OperatorKey[] inputs
outputType
public int outputType
lineageTracer
protected LineageTracer lineageTracer
scope
protected String scope
id
protected long id
PhysicalOperator
public PhysicalOperator(String scope,
long id,
Map<OperatorKey,ExecPhysicalOperator> opTable,
int outputType)
getOperatorKey
public OperatorKey getOperatorKey()
getScope
public String getScope()
- Specified by:
getScope
in interface ExecPhysicalOperator
getId
public long getId()
- Specified by:
getId
in interface ExecPhysicalOperator
open
public boolean open()
throws IOException
- Throws:
IOException
getNext
public abstract Tuple getNext()
throws IOException
- Throws:
IOException
close
public void close()
throws IOException
- Throws:
IOException
setLineageTracer
public void setLineageTracer(LineageTracer lineageTracer)
getOutputType
public int getOutputType()
visit
public abstract void visit(POVisitor v)
Copyright © ${year} The Apache Software Foundation