SqlQuerySpec 类
定义
Represents a SQL query in the Azure Cosmos DB database service.
public class SqlQuerySpec extends JsonSerializable
- 继承
继承成员
JsonSerializable.get(String propertyName)
JsonSerializable.getBoolean(String propertyName)
JsonSerializable.getCollection(String propertyName)
JsonSerializable.getDouble(String propertyName)
JsonSerializable.getHashMap()
JsonSerializable.getInt(String propertyName)
JsonSerializable.getLogger()
JsonSerializable.getLong(String propertyName)
JsonSerializable.getMapper()
JsonSerializable.getObject(String propertyName)
JsonSerializable.getObjectByPath(Collection<String> propertyNames)
JsonSerializable.getString(String propertyName)
JsonSerializable.has(String propertyName)
JsonSerializable.JsonSerializable()
JsonSerializable.JsonSerializable(String jsonString, ObjectMapper objectMapper)
JsonSerializable.JsonSerializable(String jsonString)
JsonSerializable.JsonSerializable(JSONObject jsonObject)
JsonSerializable.remove(String propertyName)
JsonSerializable.toJson()
JsonSerializable.toJson(SerializationFormattingPolicy formattingPolicy)
JsonSerializable.toString()
JsonSerializable.toString(int indentFactor)
构造函数
SqlQuerySpec() |
Initializes a new instance of the SqlQuerySpec class. |
SqlQuerySpec(String queryText) |
Initializes a new instance of the SqlQuerySpec class with the text of the query.
|
SqlQuerySpec(String queryText, SqlParameterCollection parameters) |
Initializes a new instance of the SqlQuerySpec class with the text of the query and parameters.
|
方法
getParameters() |
Gets the collection of query parameters.
|
getQueryText() |
Gets the text of the query.
|
setParameters(SqlParameterCollection parameters) |
Sets the collection of query parameters.
|
setQueryText(String queryText) |
Sets the text of the query.
|