org.apache.pig.impl.logicalLayer
Class LOLoad

java.lang.Object
  extended by org.apache.pig.impl.logicalLayer.LogicalOperator
      extended by org.apache.pig.impl.logicalLayer.LOLoad
All Implemented Interfaces:
Serializable, ExecScopedLogicalOperator

public class LOLoad
extends LogicalOperator

See Also:
Serialized Form

Field Summary
protected  FileSpec inputFileSpec
           
protected  int outputType
           
protected  boolean splittable
           
 
Fields inherited from class org.apache.pig.impl.logicalLayer.LogicalOperator
alias, AMENDABLE, FIXED, id, inputs, MONOTONE, opTable, requestedParallelism, schema, scope, UPDATABLE
 
Constructor Summary
LOLoad(Map<OperatorKey,LogicalOperator> opTable, String scope, long id, FileSpec inputFileSpec, boolean splittable)
           
 
Method Summary
 String arguments()
           
 List<String> getFuncs()
           
 FileSpec getInputFileSpec()
           
 int getOutputType()
           
 boolean isSplittable()
           
 String name()
           
 TupleSchema outputSchema()
           
 void setInputFileSpec(FileSpec spec)
           
 void setOutputType(int type)
           
 String toString()
           
 void visit(LOVisitor v)
          Visit all of the logical operators in a tree, starting with this one.
 
Methods inherited from class org.apache.pig.impl.logicalLayer.LogicalOperator
getAlias, getId, getInputs, getOperatorKey, getOpTable, getRequestedParallelism, getScope, setAlias, setRequestedParallelism, setSchema
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

inputFileSpec

protected FileSpec inputFileSpec

outputType

protected int outputType

splittable

protected boolean splittable
Constructor Detail

LOLoad

public LOLoad(Map<OperatorKey,LogicalOperator> opTable,
              String scope,
              long id,
              FileSpec inputFileSpec,
              boolean splittable)
       throws IOException,
              org.apache.pig.impl.logicalLayer.parser.ParseException
Throws:
IOException
org.apache.pig.impl.logicalLayer.parser.ParseException
Method Detail

name

public String name()
Overrides:
name in class LogicalOperator

getInputFileSpec

public FileSpec getInputFileSpec()

setInputFileSpec

public void setInputFileSpec(FileSpec spec)

arguments

public String arguments()
Overrides:
arguments in class LogicalOperator

outputSchema

public TupleSchema outputSchema()
Specified by:
outputSchema in class LogicalOperator

getOutputType

public int getOutputType()
Specified by:
getOutputType in class LogicalOperator

setOutputType

public void setOutputType(int type)

toString

public String toString()
Overrides:
toString in class LogicalOperator

getFuncs

public List<String> getFuncs()
Overrides:
getFuncs in class LogicalOperator

isSplittable

public boolean isSplittable()

visit

public void visit(LOVisitor v)
Description copied from class: LogicalOperator
Visit all of the logical operators in a tree, starting with this one.

Specified by:
visit in class LogicalOperator
Parameters:
v - LOVisitor to visit this logical plan with.


Copyright © ${year} The Apache Software Foundation