Apache Pig Introduction
Apache Pig Environment
Pig Latin
Load & Store Operators
Diagnostic Operators
- Apache Pig - Illustrate Operator
- Apache Pig - Explain Operator
- Apache Pig - Describe Operator
- Apache Pig - Diagnostic Operator
Grouping & Joining
- Apache Pig - Cross Operator
- Apache Pig - Join Operator
- Apache Pig - Cogroup Operator
- Apache Pig - Group Operator
Combining & Splitting
Filtering
Sorting
Pig Latin Built-In Functions
- Apache Pig - Math Functions
- Apache Pig - date-time Functions
- Apache Pig - String Functions
- Apache Pig - Bag & Tuple Functions
- Load & Store Functions
- Apache Pig - Eval Functions
Other Modes Of Execution
Apache Pig Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Apache Pig - String Functions
We have the following String functions in Apache Pig.
S.N. | Functions & Description |
---|---|
1 | To verify whether a given string ends with a particular substring. |
2 | Accepts two string parameters and verifies whether the first string starts with the second. |
3 | Returns a substring from a given string. |
4 | To compare two stings ignoring the case. |
5 | Returns the first occurrence of a character in a string, searching forward from a start index. |
6 | Returns the index of the last occurrence of a character in a string, searching backward from a start index. |
7 | Converts the first character in a string to lower case. |
8 | Returns a string with the first character converted to upper case. |
9 | UPPER(expression) Returns a string converted to upper case. |
10 | Converts all characters in a string to lower case. |
11 | To replace existing characters in a string with new characters. |
12 | To sppt a string around matches of a given regular expression. |
13 | Similar to the STRSPLIT() function, it sppts the string by given depmiter and returns the result in a bag. |
14 | Returns a copy of a string with leading and traipng whitespaces removed. |
15 | Returns a copy of a string with leading whitespaces removed. |
16 | Returns a copy of a string with traipng whitespaces removed. |