Uses of Package
org.apache.pig.builtin

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
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
GenericInvoker
          The generic Invoker class does all the common grunt work of setting up an invoker.
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.
 



Copyright © ${year} The Apache Software Foundation