Package org.teiid.json
Class JsonPathFunctionMethods
- java.lang.Object
-
- org.teiid.json.JsonPathFunctionMethods
-
@TeiidFunctions(category="JSON") public class JsonPathFunctionMethods extends Object
-
-
Constructor Summary
Constructors Constructor Description JsonPathFunctionMethods()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringjsonPathValue(Clob clob, String jsonPath)static StringjsonPathValue(Clob clob, String jsonPath, boolean nullLeaf)static org.teiid.core.types.JsonTypejsonQuery(Clob clob, String jsonPath)static org.teiid.core.types.JsonTypejsonQuery(Clob clob, String jsonPath, boolean nullLeaf)static Object[]jsonToArray(Clob clob, String jsonPath, boolean nullLeaf, String... colpaths)
-
-
-
Method Detail
-
jsonPathValue
@TeiidFunction(name="jsonpathvalue", pushdown=CAN_PUSHDOWN, nullOnNull=true) public static String jsonPathValue(Clob clob, String jsonPath, boolean nullLeaf) throws IOException, SQLException- Throws:
IOExceptionSQLException
-
jsonPathValue
@TeiidFunction(name="jsonpathvalue", pushdown=CAN_PUSHDOWN, nullOnNull=true) public static String jsonPathValue(Clob clob, String jsonPath) throws IOException, SQLException- Throws:
IOExceptionSQLException
-
jsonQuery
@TeiidFunction(name="jsonquery", pushdown=CAN_PUSHDOWN, nullOnNull=true) public static org.teiid.core.types.JsonType jsonQuery(Clob clob, String jsonPath, boolean nullLeaf) throws IOException, SQLException- Throws:
IOExceptionSQLException
-
jsonQuery
@TeiidFunction(name="jsonquery", pushdown=CAN_PUSHDOWN, nullOnNull=true) public static org.teiid.core.types.JsonType jsonQuery(Clob clob, String jsonPath) throws IOException, SQLException- Throws:
IOExceptionSQLException
-
jsonToArray
@TeiidFunction(name="jsontoarray", pushdown=CAN_PUSHDOWN, nullOnNull=true) public static Object[] jsonToArray(Clob clob, String jsonPath, boolean nullLeaf, String... colpaths) throws IOException, SQLException, org.teiid.api.exception.query.FunctionExecutionException- Throws:
IOExceptionSQLExceptionorg.teiid.api.exception.query.FunctionExecutionException
-
-