org.apache.pig.impl.logicalLayer
Class LOStore

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

public class LOStore
extends LogicalOperator

See Also:
Serialized Form

Field Summary
protected  boolean append
           
protected  FileSpec outputFileSpec
           
 
Fields inherited from class org.apache.pig.impl.logicalLayer.LogicalOperator
alias, AMENDABLE, FIXED, id, inputs, MONOTONE, opTable, requestedParallelism, schema, scope, UPDATABLE
 
Constructor Summary
LOStore(Map<OperatorKey,LogicalOperator> opTable, String scope, long id, OperatorKey input, FileSpec fileSpec, boolean append)
           
 
Method Summary
 List<String> getFuncs()
           
 FileSpec getOutputFileSpec()
           
 int getOutputType()
           
 boolean isAppend()
           
 String name()
           
 TupleSchema outputSchema()
           
 void setOutputFileSpec(FileSpec spec)
           
 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
arguments, 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

outputFileSpec

protected FileSpec outputFileSpec

append

protected boolean append
Constructor Detail

LOStore

public LOStore(Map<OperatorKey,LogicalOperator> opTable,
               String scope,
               long id,
               OperatorKey input,
               FileSpec fileSpec,
               boolean append)
        throws IOException
Throws:
IOException
Method Detail

getOutputFileSpec

public FileSpec getOutputFileSpec()

setOutputFileSpec

public void setOutputFileSpec(FileSpec spec)

toString

public String toString()
Overrides:
toString in class LogicalOperator

name

public String name()
Overrides:
name in class LogicalOperator

outputSchema

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

getOutputType

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

getFuncs

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

isAppend

public boolean isAppend()

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