Class | Description |
---|---|
HashFNV |
Syntax:
long HashFNV(String string_to_hash, [int mod]) .
|
HashFNV1 |
Implementation for HashFNV which takes 1 parameter
|
HashFNV2 |
Implementation for HashFNV which takes 2 parameter
|
INDEXOF | Deprecated
Use
INDEXOF |
LASTINDEXOF | Deprecated
Use
LAST_INDEX_OF |
LcFirst | Deprecated
Use
LCFIRST |
LENGTH |
string.LENGTH implements eval function to find length of a string
Example:
register piggybank.jar;
A = load 'mydata' as (name);
B = foreach A generate string.LENGTH(name);
dump B;
|
LookupInFiles |
Syntax:
int lookupInFiles(String expression,... |
LOWER | Deprecated
Use
LOWER |
RegexExtract | Deprecated
Use
REGEX_EXTRACT |
RegexExtractAll | Deprecated |
RegexMatch |
Syntax:
int RegexMatch(String expression, String regex) .
Output:
return 1 if expression contains regex, 0 otherwise .
|
REPLACE | Deprecated
Use
REPLACE |
REPLACE_MULTI |
REPLACE_MULTI implements eval function to replace all occurrences of search
keys with replacement values.
|
Reverse | |
Split | Deprecated
Use
STRSPLIT |
Stuff |
Given a string, this UDF replaces a substring given its starting index and
length with the given replacement string.
|
SUBSTRING | Deprecated
Use
SUBSTRING |
Trim | Deprecated
Use
TRIM |
UcFirst | Deprecated
Use
UCFIRST |
UPPER | Deprecated
Use
UPPER |
Copyright © 2007-2012 The Apache Software Foundation