Class StringFunctionUtil

java.lang.Object
org.apache.drill.exec.expr.fn.impl.StringFunctionUtil

public class StringFunctionUtil extends Object
  • Constructor Details

    • StringFunctionUtil

      public StringFunctionUtil()
  • Method Details

    • getUTF8CharLength

      public static int getUTF8CharLength(ByteBuf buffer, int start, int end)
    • getUTF8CharPosition

      public static int getUTF8CharPosition(ByteBuf buffer, int start, int end, int charLength)
    • stringLeftMatchUTF8

      public static int stringLeftMatchUTF8(ByteBuf str, int strStart, int strEnd, ByteBuf substr, int subStart, int subEnd)
    • utf8CharLen

      public static int utf8CharLen(ByteBuf buffer, int idx)
    • utf8CharLen

      public static int utf8CharLen(byte currentByte)