CloudTable.ExecuteQuerySegmented Method

Definition

Overloads

ExecuteQuerySegmented(TableQuery, TableContinuationToken, TableRequestOptions, OperationContext)

Executes a segmented query on a table and returns a TableQuerySegment<TElement> containing DynamicTableEntity objects.

ExecuteQuerySegmented<TElement,TResult>(TableQuery<TElement>, EntityResolver<TResult>, TableContinuationToken, TableRequestOptions, OperationContext)

Executes a query in segmented mode and applies the specified EntityResolver<T> to the results.

ExecuteQuerySegmented<TElement>(TableQuery<TElement>, TableContinuationToken, TableRequestOptions, OperationContext)

Executes a query on a table in segmented mode.

ExecuteQuerySegmented<TResult>(TableQuery, EntityResolver<TResult>, TableContinuationToken, TableRequestOptions, OperationContext)

Executes a segmented query on a table and applies the specified EntityResolver<T> to the result.

ExecuteQuerySegmented(TableQuery, TableContinuationToken, TableRequestOptions, OperationContext)

Executes a segmented query on a table and returns a TableQuerySegment<TElement> containing DynamicTableEntity objects.

public virtual Microsoft.Azure.Cosmos.Table.TableQuerySegment<Microsoft.Azure.Cosmos.Table.DynamicTableEntity> ExecuteQuerySegmented (Microsoft.Azure.Cosmos.Table.TableQuery query, Microsoft.Azure.Cosmos.Table.TableContinuationToken token, Microsoft.Azure.Cosmos.Table.TableRequestOptions requestOptions = default, Microsoft.Azure.Cosmos.Table.OperationContext operationContext = default);
abstract member ExecuteQuerySegmented : Microsoft.Azure.Cosmos.Table.TableQuery * Microsoft.Azure.Cosmos.Table.TableContinuationToken * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext -> Microsoft.Azure.Cosmos.Table.TableQuerySegment<Microsoft.Azure.Cosmos.Table.DynamicTableEntity>
override this.ExecuteQuerySegmented : Microsoft.Azure.Cosmos.Table.TableQuery * Microsoft.Azure.Cosmos.Table.TableContinuationToken * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext -> Microsoft.Azure.Cosmos.Table.TableQuerySegment<Microsoft.Azure.Cosmos.Table.DynamicTableEntity>
Public Overridable Function ExecuteQuerySegmented (query As TableQuery, token As TableContinuationToken, Optional requestOptions As TableRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing) As TableQuerySegment(Of DynamicTableEntity)

Parameters

query
TableQuery

A TableQuery representing the query to execute.

token
TableContinuationToken

A TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.

requestOptions
TableRequestOptions

A TableRequestOptions object that specifies additional options for the request.

operationContext
OperationContext

An OperationContext object that represents the context for the current operation.

Returns

A TableQuerySegment<TElement> object of type DynamicTableEntity containing the results of executing the query.

Applies to

ExecuteQuerySegmented<TElement,TResult>(TableQuery<TElement>, EntityResolver<TResult>, TableContinuationToken, TableRequestOptions, OperationContext)

Executes a query in segmented mode and applies the specified EntityResolver<T> to the results.

public virtual Microsoft.Azure.Cosmos.Table.TableQuerySegment<TResult> ExecuteQuerySegmented<TElement,TResult> (Microsoft.Azure.Cosmos.Table.TableQuery<TElement> query, Microsoft.Azure.Cosmos.Table.EntityResolver<TResult> resolver, Microsoft.Azure.Cosmos.Table.TableContinuationToken token, Microsoft.Azure.Cosmos.Table.TableRequestOptions requestOptions = default, Microsoft.Azure.Cosmos.Table.OperationContext operationContext = default) where TElement : Microsoft.Azure.Cosmos.Table.ITableEntity, new();
abstract member ExecuteQuerySegmented : Microsoft.Azure.Cosmos.Table.TableQuery<'Element (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))> * Microsoft.Azure.Cosmos.Table.EntityResolver<'Result> * Microsoft.Azure.Cosmos.Table.TableContinuationToken * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext -> Microsoft.Azure.Cosmos.Table.TableQuerySegment<'Result> (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))
override this.ExecuteQuerySegmented : Microsoft.Azure.Cosmos.Table.TableQuery<'Element (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))> * Microsoft.Azure.Cosmos.Table.EntityResolver<'Result> * Microsoft.Azure.Cosmos.Table.TableContinuationToken * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext -> Microsoft.Azure.Cosmos.Table.TableQuerySegment<'Result> (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))
Public Overridable Function ExecuteQuerySegmented(Of TElement As {ITableEntityNew}, TResult As {ITableEntityNew}) (query As TableQuery(Of TElement), resolver As EntityResolver(Of TResult), token As TableContinuationToken, Optional requestOptions As TableRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing) As TableQuerySegment(Of TResult)

Type Parameters

TElement

The entity type of the query.

TResult

The type into which the EntityResolver<T> will project the query results.

Parameters

query
TableQuery<TElement>

A TableQuery instance specifying the table to query and the query parameters to use, specialized for a type TElement.

resolver
EntityResolver<TResult>

An EntityResolver<T> instance which creates a projection of the table query result entities into the specified type TResult.

token
TableContinuationToken

A TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.

requestOptions
TableRequestOptions

A TableRequestOptions object that specifies additional options for the request.

operationContext
OperationContext

An OperationContext object that represents the context for the current operation.

Returns

A TableQuerySegment<TElement> containing the projection into type TResult of the results of executing the query.

Applies to

ExecuteQuerySegmented<TElement>(TableQuery<TElement>, TableContinuationToken, TableRequestOptions, OperationContext)

Executes a query on a table in segmented mode.

public virtual Microsoft.Azure.Cosmos.Table.TableQuerySegment<TElement> ExecuteQuerySegmented<TElement> (Microsoft.Azure.Cosmos.Table.TableQuery<TElement> query, Microsoft.Azure.Cosmos.Table.TableContinuationToken token, Microsoft.Azure.Cosmos.Table.TableRequestOptions requestOptions = default, Microsoft.Azure.Cosmos.Table.OperationContext operationContext = default) where TElement : Microsoft.Azure.Cosmos.Table.ITableEntity, new();
abstract member ExecuteQuerySegmented : Microsoft.Azure.Cosmos.Table.TableQuery<'Element (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))> * Microsoft.Azure.Cosmos.Table.TableContinuationToken * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext -> Microsoft.Azure.Cosmos.Table.TableQuerySegment<'Element (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))> (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))
override this.ExecuteQuerySegmented : Microsoft.Azure.Cosmos.Table.TableQuery<'Element (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))> * Microsoft.Azure.Cosmos.Table.TableContinuationToken * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext -> Microsoft.Azure.Cosmos.Table.TableQuerySegment<'Element (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))> (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))
Public Overridable Function ExecuteQuerySegmented(Of TElement As {ITableEntityNew}) (query As TableQuery(Of TElement), token As TableContinuationToken, Optional requestOptions As TableRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing) As TableQuerySegment(Of TElement)

Type Parameters

TElement

The entity type of the query.

Parameters

query
TableQuery<TElement>

A TableQuery instance specifying the table to query and the query parameters to use, specialized for a type TElement.

token
TableContinuationToken

A TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.

requestOptions
TableRequestOptions

A TableRequestOptions object that specifies additional options for the request.

operationContext
OperationContext

An OperationContext object that represents the context for the current operation.

Returns

A TableQuerySegment<TElement>, specialized for type TElement, containing the results of executing the query.

Applies to

ExecuteQuerySegmented<TResult>(TableQuery, EntityResolver<TResult>, TableContinuationToken, TableRequestOptions, OperationContext)

Executes a segmented query on a table and applies the specified EntityResolver<T> to the result.

public virtual Microsoft.Azure.Cosmos.Table.TableQuerySegment<TResult> ExecuteQuerySegmented<TResult> (Microsoft.Azure.Cosmos.Table.TableQuery query, Microsoft.Azure.Cosmos.Table.EntityResolver<TResult> resolver, Microsoft.Azure.Cosmos.Table.TableContinuationToken token, Microsoft.Azure.Cosmos.Table.TableRequestOptions requestOptions = default, Microsoft.Azure.Cosmos.Table.OperationContext operationContext = default);
abstract member ExecuteQuerySegmented : Microsoft.Azure.Cosmos.Table.TableQuery * Microsoft.Azure.Cosmos.Table.EntityResolver<'Result> * Microsoft.Azure.Cosmos.Table.TableContinuationToken * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext -> Microsoft.Azure.Cosmos.Table.TableQuerySegment<'Result>
override this.ExecuteQuerySegmented : Microsoft.Azure.Cosmos.Table.TableQuery * Microsoft.Azure.Cosmos.Table.EntityResolver<'Result> * Microsoft.Azure.Cosmos.Table.TableContinuationToken * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext -> Microsoft.Azure.Cosmos.Table.TableQuerySegment<'Result>
Public Overridable Function ExecuteQuerySegmented(Of TResult) (query As TableQuery, resolver As EntityResolver(Of TResult), token As TableContinuationToken, Optional requestOptions As TableRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing) As TableQuerySegment(Of TResult)

Type Parameters

TResult

Parameters

query
TableQuery

A TableQuery representing the query to execute.

resolver
EntityResolver<TResult>

An EntityResolver<T> instance which creates a projection of the table query result entities into the specified type TResult.

token
TableContinuationToken

A TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.

requestOptions
TableRequestOptions

A TableRequestOptions object that specifies additional options for the request.

operationContext
OperationContext

An OperationContext object that represents the context for the current operation.

Returns

A TableQuerySegment<TElement> object containing the results of executing the query.

Applies to