Class StringFunctionUtil
java.lang.Object
org.apache.drill.exec.expr.fn.impl.StringFunctionUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intgetUTF8CharLength(ByteBuf buffer, int start, int end) static intgetUTF8CharPosition(ByteBuf buffer, int start, int end, int charLength) static intstringLeftMatchUTF8(ByteBuf str, int strStart, int strEnd, ByteBuf substr, int subStart, int subEnd) static intutf8CharLen(byte currentByte) static intutf8CharLen(ByteBuf buffer, int idx)
-
Constructor Details
-
StringFunctionUtil
public StringFunctionUtil()
-
-
Method Details
-
getUTF8CharLength
-
getUTF8CharPosition
-
stringLeftMatchUTF8
-
utf8CharLen
-
utf8CharLen
public static int utf8CharLen(byte currentByte)
-