Package org.apache.pig

Public interfaces and classes for Pig.

See:
          Description

Interface Summary
Accumulator<T>  
Algebraic An interface to declare that an EvalFunc's calculation can be decomposed into intitial, intermediate, and final steps.
CollectableLoadFunc This interface implemented by LoadFunc implementations indicates to Pig that it has the capability to load data such that all instances of a key will occur in same split.
IndexableLoadFunc This class is intended for use by LoadFunc implementations which have an internal index for sorted data and can use the index to support merge join in pig.
LoadCaster  
LoadMetadata This interface defines how to retrieve metadata related to data to be loaded.
LoadPushDown This interface defines how to communicate to Pig what functionality can be pushed into the loader.
OrderedLoadFunc Implementing this interface indicates to Pig that a given loader can be used for MergeJoin.
PigToStream The interface used for the custom mapping of a Tuple to a byte array.
StoreFuncInterface This interface is used to implement functions to write records from a dataset.
StoreMetadata This interface defines how to write metadata related to data to be loaded.
StreamToPig The interface used for the custom mapping of a byte array, received from the stdout of the streaming process, to a Tuple.
 

Class Summary
ComparisonFunc  
EvalFunc<T> The class is used to implement functions to be applied to a dataset.
Expression A class to communicate Filter expressions to LoadFuncs
Expression.BinaryExpression  
Expression.Column  
Expression.Const  
FileInputLoadFunc This class provides an implementation of OrderedLoadFunc interface which can be optionally re-used by LoadFuncs that use FileInputFormat, by having this as a super class
FileSplitComparable This class can be used to represent a relative position in a file.
FilterFunc  
FuncSpec Class to represent a UDF specification - essentially encapsulates the class name and the arguments to the constructor
LoadFunc LoadFunc provides functions directly associated with reading records from data set.
LoadPushDown.RequiredField  
LoadPushDown.RequiredFieldList  
LoadPushDown.RequiredFieldResponse  
Main  
PigServer This class is the program's connection to Pig.
PigServer.SortInfoSetter  
ResourceSchema  
ResourceSchema.ResourceFieldSchema  
ResourceStatistics  
ResourceStatistics.ResourceFieldStatistics  
SortColInfo A class representing information about a sort column in SortInfo
SortInfo Class to communicate sort column information based on order by statment's sort columns and schema
StandAloneParser  
StoreFunc This abstract class is used to implement functions to write records from a dataset.
 

Enum Summary
ExecType The type of query execution
Expression.OpType  
LoadPushDown.OperatorSet Set of possible operations that Pig can push down to a loader.
PigCounters The following enum will contain the general counters that pig uses.
PigWarning An enum to enumerate the warning types in Pig
ResourceSchema.Order  
SortColInfo.Order  
 

Exception Summary
PigException All exceptions in Pig are encapsulated in the PigException class.
 

Package org.apache.pig Description

Public interfaces and classes for Pig.

PigServer is the interface to Pig for use by other java programs. Other interfaces and classes in this package are for use by users when implementing user defined functions.



Copyright © ${year} The Apache Software Foundation