microsoft-azure-storage/src/com/microsoft/azure/storage/table/CloudTable.java
@DoesServiceRequest
    @SuppressWarnings({ "unchecked" })
    public <T extends TableEntity> ResultSegment<T> executeSegmented(final TableQuery<T> query,
            final ResultContinuation continuationToken, final TableRequestOptions options,
            final OperationContext opContext) throws StorageException {
        Utility.assertNotNull("query", query);
        query.setSourceTableName(this.getName());
        return (ResultSegment<T>) this.getServiceClient().executeQuerySegmentedImpl(query, null, continuationToken,
                options, opContext);
    }
@DoesServiceRequest
    @SuppressWarnings({ "unchecked" })
    public <T extends TableEntity> ResultSegment<T> executeSegmented(final TableQuery<T> query,
            final ResultContinuation continuationToken, final TableRequestOptions options,
            final OperationContext opContext) throws StorageException {
        Utility.assertNotNull("query", query);
        query.setSourceTableName(this.getName());
        return (ResultSegment<T>) this.getServiceClient().executeQuerySegmentedImpl(query, null, continuationToken,
                options, opContext);
    }
@ DoesServiceRequest @ SuppressWarnings ( { "unchecked" } ) public < T extends TableEntity > ResultSegment < T > executeSegmented ( final TableQuery < T > query , final ResultContinuation continuationToken , final TableRequestOptions options , final OperationContext opContext ) throws StorageException { Utility . assertNotNull ( "query" , query ) ; query . setSourceTableName ( this . getName ( ) ) ; return ( ResultSegment < T > ) this . getServiceClient ( ) . executeQuerySegmentedImpl ( query , null , continuationToken , options , opContext ) ; }
Executes a query in segmented mode with a {@link ResultContinuation} continuation token,
using the specified {@link TableRequestOptions} and {@link OperationContext}.
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,
specialized for a type T implementing {@link TableEntity}.
@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} specialized for type T of the results of executing the query.

@throws StorageException
if a storage service error occurred during the operation.
Executes a query in segmented mode with a { @link ResultContinuation } continuation token using the specified { @link TableRequestOptions } and { @link OperationContext } . 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 .