Class StringFunctionUtil
java.lang.Object
org.apache.drill.exec.expr.fn.impl.StringFunctionUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intgetUTF8CharLength(io.netty.buffer.ByteBuf buffer, int start, int end) static intgetUTF8CharPosition(io.netty.buffer.ByteBuf buffer, int start, int end, int charLength) static intstringLeftMatchUTF8(io.netty.buffer.ByteBuf str, int strStart, int strEnd, io.netty.buffer.ByteBuf substr, int subStart, int subEnd) static intutf8CharLen(byte currentByte) static intutf8CharLen(io.netty.buffer.ByteBuf buffer, int idx)
-
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)
-