你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
SqlParameterCollection Class
- java.
lang. Object - com.
microsoft. azure. documentdb. SqlParameterCollection
- com.
Implements
public final class SqlParameterCollection
implements java.util.Collection<SqlParameter>
Represents a collection of SQL parameters to for a SQL query in the Azure Cosmos DB database service.
Constructor Summary
Constructor | Description |
---|---|
SqlParameterCollection() |
Initializes a new instance of the Sql |
SqlParameterCollection(SqlParameter[] parameters) |
Initializes a new instance of the Sql |
SqlParameterCollection(Collection<SqlParameter> parameters) |
Initializes a new instance of the Sql |
Method Summary
Modifier and Type | Method and Description |
---|---|
T[] | toArray(T[] parameters) |
boolean | add(SqlParameter parameter) |
boolean | addAll(Collection<? extends SqlParameter> parameters) |
void | clear() |
boolean | contains(Object parameter) |
boolean | containsAll(Collection<?> parameters) |
boolean | isEmpty() |
java.util.Iterator<Sql |
iterator() |
boolean | remove(Object parameter) |
boolean | removeAll(Collection<?> parameters) |
boolean | retainAll(Collection<?> parameters) |
int | size() |
java.lang.Object[] | toArray() |
Methods inherited from java.lang.Object
Constructor Details
SqlParameterCollection
public SqlParameterCollection()
Initializes a new instance of the SqlParameterCollection class.
SqlParameterCollection
public SqlParameterCollection(SqlParameter[] parameters)
Initializes a new instance of the SqlParameterCollection class from an array of parameters.
Parameters:
SqlParameterCollection
public SqlParameterCollection(Collection
Initializes a new instance of the SqlParameterCollection class from a collection of parameters.
Parameters:
Method Details
toArray
public T[]
Parameters:
add
public boolean add(SqlParameter parameter)
Parameters:
addAll
public boolean addAll(Collection parameters)
Parameters:
clear
public void clear()
contains
public boolean contains(Object parameter)
Parameters:
containsAll
public boolean containsAll(Collection parameters)
Parameters:
isEmpty
public boolean isEmpty()
iterator
public Iterator
remove
public boolean remove(Object parameter)
Parameters:
removeAll
public boolean removeAll(Collection parameters)
Parameters:
retainAll
public boolean retainAll(Collection parameters)
Parameters:
size
public int size()
toArray
public Object[] toArray()