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(io.netty.buffer.ByteBuf buffer, int start, int end)
    • getUTF8CharPosition

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

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

      public static int utf8CharLen(io.netty.buffer.ByteBuf buffer, int idx)
    • utf8CharLen

      public static int utf8CharLen(byte currentByte)