@TeiidFunctions(category="JSON") public class JsonPathFunctionMethods extends Object
Constructor and Description |
---|
JsonPathFunctionMethods() |
Modifier and Type | Method and Description |
---|---|
static String |
jsonPathValue(Clob clob,
String jsonPath) |
static String |
jsonPathValue(Clob clob,
String jsonPath,
boolean nullLeaf) |
static JsonType |
jsonQuery(Clob clob,
String jsonPath) |
static JsonType |
jsonQuery(Clob clob,
String jsonPath,
boolean nullLeaf) |
static Object[] |
jsonToArray(Clob clob,
String jsonPath,
boolean nullLeaf,
String... colpaths) |
@TeiidFunction(name="jsonpathvalue", pushdown=CAN_PUSHDOWN, nullOnNull=true) public static String jsonPathValue(Clob clob, String jsonPath, boolean nullLeaf) throws IOException, SQLException
IOException
SQLException
@TeiidFunction(name="jsonpathvalue", pushdown=CAN_PUSHDOWN, nullOnNull=true) public static String jsonPathValue(Clob clob, String jsonPath) throws IOException, SQLException
IOException
SQLException
@TeiidFunction(name="jsonquery", pushdown=CAN_PUSHDOWN, nullOnNull=true) public static JsonType jsonQuery(Clob clob, String jsonPath, boolean nullLeaf) throws IOException, SQLException
IOException
SQLException
@TeiidFunction(name="jsonquery", pushdown=CAN_PUSHDOWN, nullOnNull=true) public static JsonType jsonQuery(Clob clob, String jsonPath) throws IOException, SQLException
IOException
SQLException
@TeiidFunction(name="jsontoarray", pushdown=CAN_PUSHDOWN, nullOnNull=true) public static Object[] jsonToArray(Clob clob, String jsonPath, boolean nullLeaf, String... colpaths) throws IOException, SQLException, FunctionExecutionException
Copyright © 2019. All rights reserved.