SqlParameter 类

定义

Represents a SQL parameter in the SqlQuerySpec used for queries in the Azure Cosmos DB database service.

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

继承成员

构造函数

SqlParameter()

Initializes a new instance of the SqlParameter class.

SqlParameter(String name, Object value)

Initializes a new instance of the SqlParameter class with the name and value of the parameter.

方法

getName()

Gets the name of the parameter.

getValue(Class<T> c)

Gets the value of the parameter.

setName(String name)

Sets the name of the parameter.

setValue(Object value)

Sets the value of the parameter.

适用于