Class ByteArrayFunctions.ByteSubstring

java.lang.Object
org.apache.drill.exec.expr.fn.impl.ByteArrayFunctions.ByteSubstring
All Implemented Interfaces:
DrillFunc, DrillSimpleFunc
Enclosing class:
ByteArrayFunctions

public static class ByteArrayFunctions.ByteSubstring extends Object implements DrillSimpleFunc
Evaluate a substring expression for a given value; specifying the start position, and optionally the end position. - If the start position is negative, start from abs(start) characters from the end of the buffer. - If no length is specified, continue to the end of the string. - If the substring expression's length exceeds the value's upward bound, the value's length will be used. - If the substring is invalid, return an empty string.
  • Constructor Details

    • ByteSubstring

      public ByteSubstring()
  • Method Details