SqlQuerySpec 类

定义

Represents a SQL query in the Azure Cosmos DB database service.

public class SqlQuerySpec extends JsonSerializable
继承
java.lang.Object
Serializable
SqlQuerySpec

继承成员

构造函数

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.

适用于