Class StringFunctions.SplitPart
java.lang.Object
org.apache.drill.exec.expr.fn.impl.StringFunctions.SplitPart
- All Implemented Interfaces:
DrillFunc
,DrillSimpleFunc
- Enclosing class:
- StringFunctions
Return the string part at index after splitting the input string using the
specified delimiter. The index starts 1 or -1, counting from beginning if
is positive, from end if is negative.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SplitPart
public SplitPart()
-
-
Method Details
-
setup
public void setup()- Specified by:
setup
in interfaceDrillSimpleFunc
-
eval
public void eval()- Specified by:
eval
in interfaceDrillSimpleFunc
-