Class ParseQueryFunction
java.lang.Object
org.apache.drill.exec.expr.fn.impl.ParseQueryFunction
The
parse_query function splits up a query string and returns a map of the key-value pairs.
If input string contains one or more '?' characters the string will be
split by the first occurrence of the character and key-value mapping will be performed for
the second part of split string (the part starting after '?' character) only.
For example, parse_query('url?arg1=x&arg2=y') will return:
{
"arg1": "x",
"arg2": "y"
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ParseQueryFunction
public ParseQueryFunction()
-