public class UserDefinedFunction extends Resource
Cosmos DB supports JavaScript UDFs which can be used inside queries, stored procedures and triggers. For additional details, refer to the server-side JavaScript API documentation.
Constructor and Description |
---|
UserDefinedFunction()
Constructor.
|
UserDefinedFunction(org.json.JSONObject jsonObject)
Constructor.
|
UserDefinedFunction(String jsonString)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getBody()
Get the body of the user defined function.
|
void |
setBody(String body)
Set the body of the user defined function.
|
getETag, getId, getResourceId, getSelfLink, getTimestamp, setId, setResourceId
get, getBoolean, getCollection, getCollection, getDouble, getHashMap, getInt, getLogger, getLong, getMapper, getObject, getObject, getObjectByPath, getString, has, remove, set, toJson, toJson, toObject, toString
public UserDefinedFunction()
public UserDefinedFunction(String jsonString)
jsonString
- the json string that represents the user defined function.public UserDefinedFunction(org.json.JSONObject jsonObject)
jsonObject
- the json object that represents the user defined function.Copyright © 2018. All rights reserved.