microsoft-azure-storage/src/com/microsoft/azure/storage/table/CloudTable.java
@DoesServiceRequest
    @SuppressWarnings({ "unchecked" })
    public <R> ResultSegment<R> executeSegmented(final TableQuery<?> query, final EntityResolver<R> resolver,
            final ResultContinuation continuationToken, final TableRequestOptions options,
            final OperationContext opContext) throws StorageException {
        Utility.assertNotNull(SR.QUERY_REQUIRES_VALID_CLASSTYPE_OR_RESOLVER, resolver);
        query.setSourceTableName(this.getName());
        return (ResultSegment<R>) this.getServiceClient().executeQuerySegmentedImpl(query, resolver, continuationToken,
                options, opContext);
    }
@DoesServiceRequest
    @SuppressWarnings({ "unchecked" })
    public <R> ResultSegment<R> executeSegmented(final TableQuery<?> query, final EntityResolver<R> resolver,
            final ResultContinuation continuationToken, final TableRequestOptions options,
            final OperationContext opContext) throws StorageException {
        Utility.assertNotNull(SR.QUERY_REQUIRES_VALID_CLASSTYPE_OR_RESOLVER, resolver);
        query.setSourceTableName(this.getName());
        return (ResultSegment<R>) this.getServiceClient().executeQuerySegmentedImpl(query, resolver, continuationToken,
                options, opContext);
    }
Executes a query in segmented mode with the specified {@link ResultContinuation} continuation token,
using the specified {@link TableRequestOptions} and {@link OperationContext}, applying the {@link EntityResolver}
to the result.
Executing a query with <code>executeSegmented</code> allows the query to be resumed after returning partial
results, using information returned by the server in the {@link ResultSegment} object.
<p>
This method will invoke a <a href="http://msdn.microsoft.com/en-us/library/azure/dd179421.aspx">Query
Entities</a> operation on the <a href="http://msdn.microsoft.com/en-us/library/azure/dd179423.aspx">Table Service
REST API</a> to query the table, using the Table service endpoint and storage account credentials of this
instance.

Use the {@link TableRequestOptions} to override execution options such as the timeout or retry policy for the
operation.

@param query
A {@link TableQuery} instance specifying the table to query and the query parameters to use.
@param resolver
An {@link EntityResolver} instance which creates a projection of the table query result entities into
the specified type <code>R</code>.
@param continuationToken
A {@link ResultContinuation} object representing a continuation token from the server when the
operation returns a partial result. Specify <code>null</code> on the initial call. Call the
{@link ResultSegment#getContinuationToken()} method on the result to obtain the
{@link ResultContinuation} object to use in the next call to resume the query.
@param options
A {@link TableRequestOptions} object that specifies execution options such as retry policy and timeout
settings for the operation. Specify <code>null</code> to use the request options specified on the
{@link CloudTableClient}.
@param opContext
An {@link OperationContext} object for tracking the current operation. Specify <code>null</code> to
safely ignore operation context.

@return
A {@link ResultSegment} containing the projection into type <code>R</code> of the results of executing
the query.

@throws StorageException
if a storage service error occurred during the operation.