Package org.apache.pig.piggybank.evaluation.decode

Class Summary
Bin Syntax: String Bin(arithmetic_expression, string1, ,..., stringN, sentinelN, default_string). Logic: if (arithmetic_expression<=sentinel1) return string1;
......
BinCond Syntax: String BinCond(boolean_expression1, mapping_string1, ..., boolean_expressionN, mapping_stringN, other_string). Logic: if (boolean_expression1) return mapping_string1;
......
Decode Syntax: String Decode(expression, value1, mapping_string1, ..., valueN, mapping_stringN, other_string). Logic: if (expression==value1) return mapping_string1;
......
 



Copyright © 2007-2012 The Apache Software Foundation