|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.hive.ql.exec.UDF
org.apache.hadoop.hive.ql.udf.UDFJson
public class UDFJson
UDFJson.
| Constructor Summary | |
|---|---|
UDFJson()
|
|
| Method Summary | |
|---|---|
org.apache.hadoop.io.Text |
evaluate(String jsonString,
String pathString)
Extract json object from a json string based on json path specified, and return json string of the extracted json object. |
| Methods inherited from class org.apache.hadoop.hive.ql.exec.UDF |
|---|
getRequiredFiles, getRequiredJars, getResolver, setResolver |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UDFJson()
| Method Detail |
|---|
public org.apache.hadoop.io.Text evaluate(String jsonString,
String pathString)
jsonString - the json string.pathString - the json path expression.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||