|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use org.apache.pig.builtin | |
---|---|
org.apache.pig.builtin | This package contains builtin Pig UDFs. |
org.apache.pig.piggybank.evaluation.string | |
org.apache.pig.piggybank.storage |
Classes in org.apache.pig.builtin used by org.apache.pig.builtin | |
---|---|
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
|
|
Base
base class for math udfs |
|
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. |
|
PigStorage
A load function that parses a line of input into fields using a character delimiter. |
Classes in org.apache.pig.builtin used by org.apache.pig.piggybank.evaluation.string | |
---|---|
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 |
Classes in org.apache.pig.builtin used by org.apache.pig.piggybank.storage | |
---|---|
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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |