| Package | Description | 
|---|---|
| org.apache.pig.builtin | 
This package contains builtin Pig UDFs. | 
| org.apache.pig.piggybank.evaluation.math | |
| org.apache.pig.piggybank.evaluation.string | |
| org.apache.pig.piggybank.storage | 
| Class and Description | 
|---|
| AlgebraicBigDecimalMathBase Core logic for applying an SUM function to a
 bag of BigDecimals. | 
| AlgebraicBigDecimalMathBase.Final | 
| AlgebraicBigDecimalMathBase.Intermediate | 
| AlgebraicBigIntegerMathBase Core logic for applying an SUM function to a
 bag of BigIntegers. | 
| AlgebraicBigIntegerMathBase.Final | 
| AlgebraicBigIntegerMathBase.Intermediate | 
| AlgebraicByteArrayMathBase Core logic for applying an accumulative/algebraic math function to a
 bag of doubles. | 
| AlgebraicByteArrayMathBase.Final | 
| AlgebraicByteArrayMathBase.Intermediate | 
| AlgebraicDoubleMathBase Core logic for applying an accumulative/algebraic math function to a
 bag of doubles. | 
| AlgebraicDoubleMathBase.Final | 
| AlgebraicDoubleMathBase.Intermediate | 
| AlgebraicFloatMathBase Core logic for applying an accumulative/algebraic math function to a
 bag of Floats. | 
| AlgebraicFloatMathBase.Final | 
| AlgebraicFloatMathBase.Intermediate | 
| AlgebraicIntMathBase Core logic for applying an accumulative/algebraic math function to a
 bag of doubles. | 
| AlgebraicIntMathBase.Final | 
| AlgebraicIntMathBase.Intermediate | 
| AlgebraicLongMathBase Core logic for applying an accumulative/algebraic math function to a
 bag of Longs. | 
| AlgebraicLongMathBase.Final | 
| AlgebraicLongMathBase.Intermediate | 
| AvroStorage Pig UDF for reading and writing Avro data. | 
| Base base class for math udfs | 
| BigDecimalWrapper Max and min seeds cannot be defined to BigDecimal as the value could go as large as
 The computer allows. | 
| BigIntegerWrapper Max and min seeds cannot be defined to BigInteger as the value could go as large as
 The computer allows. | 
| BuildBloomBase A Base class for BuildBloom and its Algebraic implementations. | 
| DoubleBase base class for math udfs that return Double value | 
| DoubleSum This method should never be used directly, use  SUM. | 
| GenericInvoker The generic Invoker class does all the common grunt work of setting up an invoker. | 
| LongSum This method should never be used directly, use  SUM. | 
| Nondeterministic A non-deterministic UDF is one that can produce different results when
 invoked on the same input. | 
| OutputSchema An EvalFunc can annotated with an  OutputSchemato
 tell Pig what the expected output is. | 
| PigStorage A load function that parses a line of input into fields using a character delimiter. | 
| Class and Description | 
|---|
| RANDOM Return a random double value. | 
| Class and Description | 
|---|
| INDEXOF INDEXOF implements eval function to search for a string
 Example:
      A = load 'mydata' as (name);
      B = foreach A generate INDEXOF(name, ","); | 
| LAST_INDEX_OF string.INSTR implements eval function to search for the last occurrence of a string
 Returns null on error
 Example:
  
      A = load 'mydata' as (name);
      B = foreach A generate LASTINDEXOF(name, ",");
  | 
| LCFIRST lower-case the first character of a string | 
| LOWER LOWER implements eval function to convert a string to lower case
 Example:
      A = load 'mydata' as (name);
      B = foreach A generate LOWER(name); | 
| REPLACE REPLACE implements eval function to replace part of a string. | 
| STRSPLIT Wrapper around Java's String.split input tuple: first column is assumed to have a string to split; the optional second column is assumed to have the delimiter or regex to split on; if not provided, it's assumed to be '\s' (space) the optional third column may provide a limit to the number of results. If limit is not provided, 0 is assumed, as per Java's split(). | 
| SUBSTRING SUBSTRING implements eval function to get a part of a string. | 
| TRIM Returns a string, with leading and trailing whitespace omitted. | 
| UCFIRST upper-case the first character of a string | 
| Class and Description | 
|---|
| JsonMetadata Reads and Writes metadata using JSON in metafiles next to the data. | 
| PigStorage A load function that parses a line of input into fields using a character delimiter. | 
Copyright © 2007-2012 The Apache Software Foundation