|
Generated by JDiff |
|||||||
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES | DETAIL: REMOVED | ADDED | CHANGED |
Added Classes | |
|
|
|
A load function and store function for ORC file. |
|
Formatted strings using java.util.Formatter See http://docs.oracle.com/javase/7/docs/api/java/util/Formatter.html ex: SPRINTF('%2$10s %1$-17s %2$ 10d %2$8x %3$10.3f %4$1TFT% |
|
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(). |
|
UniqueID generates a unique id for each records in the job. |
Changed Classes | |
|
ABS implements a binding to the Java function Math.abs(double) for computing the absolute value of the argument. |
|
Find the number of fields in a tuple. |
|
AddDuration returns the result of a DateTime object plus a Duration object
|
|
|
|
Pig UDF for reading and writing Avro data. |
|
This method should never be used directly use SIZE |
|
Flatten a bag into a string. |
|
Flatten a bag into a tuple. |
|
base class for math udfs |
|
|
|
|
|
Generates the concatenation of two or more arguments. |
|
This method should never be used directly use SIZE |
|
Produces a DataBag with all combinations of the argument tuple members as in a data cube. |
|
|
|
DIFF takes two bags as arguments and compares them. |
|
DaysBetween returns the number of days between two DateTime objects
|
|
Find the distinct set of tuples in a bag. |
|
Given a single data atom it Returns the closest long to the argument. |
|
ROUND_TO safely rounds a number to a given precision by using an intermediate BigDecimal. |
|
Pig UDF to test input tuple.get(0) against tuple.get(1) to determine if the first argument ends with the string in the second. |
|
Compares two Strings ignoring case considerations. |
|
|
|
ROUND implements a binding to the Java function Math.round(float) Given a single data atom it Returns the closest long to the argument. |
|
ROUND_TO safely rounds a number to a given precision by using an intermediate BigDecimal. |
|
GetDay extracts the day of a month from a DateTime object. |
|
GetHour extracts the hour of a day from a DateTime object. |
|
GetSecond extracts the millisecond of a second from a DateTime object. |
|
GetMinute extracts the minute of an hour from a DateTime object. |
|
GetMonth extracts the month of a year from a DateTime object. |
|
GetSecond extracts the second of a minute from a DateTime object. |
|
GetMonth extracts the week of a week year from a DateTime object. |
|
GetMonth extracts the week year from a DateTime object. |
|
GetYear extracts the year from a DateTime object. |
|
HoursBetween returns the number of hours between two DateTime objects
|
|
INDEXOF implements eval function to search for a string Example: A = load 'mydata' as (name); B = foreach A generate INDEXOF(name " "); |
|
This UDF accepts a Map as input with values of any primitive data type. |
|
ABS implements a binding to the Java function Math.abs(int) for computing the absolute value of the argument. |
|
Determine whether a bag or map is empty. |
|
A loader for data stored using JsonStorage This is not a generic JSON loader. |
|
A JSON Pig store function. |
|
This UDF takes a Map and returns a Bag containing the keyset. |
|
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 " "); |
|
lower-case the first character of a string |
|
LOWER implements eval function to convert a string to lower case Example: A = load 'mydata' as (name); B = foreach A generate LOWER(name); |
|
Returns a string with only leading whitespace omitted. |
|
|
|
This method should never be used directly use SIZE |
|
MilliSecondsBetween returns the number of milliseconds between two DateTime objects
|
|
MinutesBetween returns the number of minutes between two DateTime objects
|
|
MonthsBetween returns the number of months between two DateTime objects
|
|
This is a UDF which allows the user to specify a string prefix and then filter for the columns in a relation that begin with that prefix. |
|
|
|
|
|
REPLACE implements eval function to replace part of a string. |
|
ROUND implements a binding to the Java function Math.round(double) Given a single data atom it Returns the closest long to the argument. |
|
ROUND_TO safely rounds a number to a given precision by using an intermediate BigDecimal. |
|
Returns a string with only tailing whitespace omitted. |
|
Produces a DataBag with hierarchy of values (from the most detailed level of aggregation to most general level of aggregation) of the specified dimensions For example (a b c) will produce the following bag: |
|
Generates the size of the argument passed to it. |
|
Pig UDF to test input tuple.get(0) against tuple.get(1) to determine if the first argument starts with the string in the second. |
|
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 implements eval function to get a part of a string. |
|
SUBTRACT takes two bags as arguments and returns a new bag composed of tuples of first bag not in the second bag. If null bag arguments are replaced by empty bags. |
|
SecondsBetween returns the number of seconds between two DateTime objects
|
|
This method should never be used directly use CONCAT |
|
This method should never be used directly use SIZE |
|
SubtractDuration returns the result of a DateTime object plus a Duration object
|
|
This class takes a list of items and puts them into a bag T = foreach U generate TOBAG($0 $1 $2); It's like saying this: T = foreach U generate {($0) ($1) ($2)} All arguments that are not of tuple type are inserted into a tuple before being added to the bag. |
|
Given a chararray as an argument this method will split the chararray and return a bag with a tuple for each chararray that results from the split. |
|
This class makes a map out of the parameters passed to it T = foreach U generate TOMAP($0 $1 $2 $3); It generates a map $0->1 $2->$3 |
|
Top UDF accepts a bag of tuples and returns top-n tuples depending upon the tuple field value of type long. |
|
|
|
|
|
|
|
This class makes a tuple out of the parameter T = foreach U generate TOTUPLE($0 $1 $2); It generates a tuple containing $0 $1 and $2 |
|
Returns a string with leading and trailing whitespace omitted. |
|
ToDate converts the ISO or the customized string or the Unix timestamp to the DateTime object. |
|
This method should never be used directly use ToDate |
|
This method should never be used directly use ToDate |
|
This method should never be used directly use ToDate |
|
ToMilliSeconds converts the DateTime to the number of milliseconds that have passed since January 1 1970 00:00:00.000 GMT. |
|
ToString converts the DateTime object of the ISO or the customized string. |
|
ToUnixTime converts the DateTime to the Unix Time Long
|
|
This method should never be used directly use SIZE |
|
upper-case the first character of a string |
|
UPPER implements eval function to convert a string to upper case Example: A = load 'mydata' as (name); B = foreach A generate UPPER(name); |
|
This UDF takes a Map and returns a Bag containing the values from map. |
|
This UDF takes a Map and returns a Tuple containing the value set. |
|
WeeksBetween returns the number of weeks between two DateTime objects
|
|
YearsBetween returns the number of years between two DateTime objects
|
|
||||||||
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES |