Executes the specified select statement against SimpleDB
using advanced options provided by the command object.
Namespace: SimolAssembly: Simol (in Simol.dll) Version: 1.0.0.0
Syntax
C# |
---|
public SelectResults<T> Select<T>( SelectCommand<T> command ) |
Visual Basic |
---|
Public Function Select(Of T) ( _ command As SelectCommand(Of T) _ ) As SelectResults(Of T) |
Visual C++ |
---|
public: generic<typename T> virtual SelectResults<T>^ Select( SelectCommand<T>^ command ) sealed |
Parameters
- command
- Type: Simol..::..SelectCommand<(Of <(<'T>)>)>
The command to execute.
Type Parameters
- T
- Type of returned items
Return Value
The results returned by the select command or an empty results list if no items were returned.Remarks
Care should be taken when selecting against potentially large result sets as all
available results are returned by default. Use MaxResultPages and PaginationToken
to precisely control the number of results returned for each request.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | If the command parameter is null |
System..::..ArgumentException | If the command parameter has already been cancelled |
AmazonSimpleDBException | If the request to SimpleDB fails for any reason |
Simol..::..SimolDataException | If the SimpleDB item cannot be converted into the requested item type |
Simol..::..SimolConfigurationException | If no valid SimpleDB mapping can be configured for the requested item type |