Class StringFunctions.RpadTwoArg
java.lang.Object
org.apache.drill.exec.expr.fn.impl.StringFunctions.RpadTwoArg
- All Implemented Interfaces:
DrillFunc
,DrillSimpleFunc
- Enclosing class:
- StringFunctions
Fill up the string to length "length" by appending the characters ' ' at the end of 'text'
If the string is already longer than length then it is truncated.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
RpadTwoArg
public RpadTwoArg()
-
-
Method Details
-
setup
public void setup()- Specified by:
setup
in interfaceDrillSimpleFunc
-
eval
public void eval()- Specified by:
eval
in interfaceDrillSimpleFunc
-