Package org.apache.pig

Public interfaces and classes for Pig.


Interface Summary
Accumulator<T> An interface that allows UDFs that take a bag to accumulate tuples in chunks rather than take the whole set at once.
Algebraic An interface to declare that an EvalFunc's calculation can be decomposed into intitial, intermediate, and final steps.
CollectableLoadFunc This interface implemented by a 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 An interface that provides cast implementations for load functions.
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.
LoadStoreCaster This is just a union interface of LoadCaster and StoreCaster, made available for simplicity.
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.
StoreCaster An interface that provides methods for converting Pig internal types to byte[].
StoreFuncInterface StoreFuncs take records from Pig's processing and store them into a data store.
StoreMetadata This interface defines how to write metadata related to data to be stored.
StreamToPig The interface is used for the custom mapping of a byte array, received from the stdout of the streaming process, to a Tuple.

Class Summary
ComparisonFunc Deprecated.
EvalFunc<T> The class is used to implement functions to be applied to fields in a dataset.
Expression A class to communicate Filter expressions to LoadFuncs.
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 represents a relative position in a file.
FuncSpec Class to represent a UDF specification.
LoadFunc A LoadFunc loads data into Pig.
LoadPushDown.RequiredField Describes a field that is required to execute a scripts.
LoadPushDown.RequiredFieldList List of fields that Pig knows to be required to executed a script.
LoadPushDown.RequiredFieldResponse Indicates whether the loader will return the requested fields or all fields.
Main Main class for Pig engine.
PigRunner A utility to help run PIG scripts within a Java program.
PigServer A class for Java programs to connect to Pig.
ResourceSchema A represenation of a schema used to communicate with load and store functions.
ResourceStatistics An class that represents statistics about data to be loaded or stored.
ResourceStatistics.ResourceFieldStatistics Statistics for a given field in the data.
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
StoreFunc StoreFuncs take records from Pig's processing and store them into a data store.

Enum Summary
ExecType The type of query execution
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

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