microsoft-azure-storage/src/com/microsoft/azure/storage/core/SharedAccessSignatureHelper.java
public static UriQueryBuilder generateSharedAccessSignatureForTable(
            final SharedAccessTablePolicy policy, final String startPartitionKey, final String startRowKey,
            final String endPartitionKey, final String endRowKey, final String accessPolicyIdentifier,
            final IPRange ipRange, final SharedAccessProtocols protocols, final String tableName, final String signature)
            throws StorageException {
        
        Utility.assertNotNull("tableName", tableName);
        return generateSharedAccessSignatureHelper(
                policy, startPartitionKey, startRowKey, endPartitionKey, endRowKey, accessPolicyIdentifier,
                null /* resourceType */, ipRange, protocols, tableName, signature, null /* headers */);
    }
public static UriQueryBuilder generateSharedAccessSignatureForTable(
            final SharedAccessTablePolicy policy, final String startPartitionKey, final String startRowKey,
            final String endPartitionKey, final String endRowKey, final String accessPolicyIdentifier,
            final IPRange ipRange, final SharedAccessProtocols protocols, final String tableName, final String signature)
            throws StorageException {
        
        Utility.assertNotNull("tableName", tableName);
        return generateSharedAccessSignatureHelper(
                policy, startPartitionKey, startRowKey, endPartitionKey, endRowKey, accessPolicyIdentifier,
                null /* resourceType */, ipRange, protocols, tableName, signature, null /* headers */);
    }
Get the complete query builder for creating the Shared Access Signature query.

@param policy
The shared access policy for the shared access signature.
@param startPartitionKey
An optional restriction of the beginning of the range of partition keys to include.
@param startRowKey
An optional restriction of the beginning of the range of row keys to include.
@param endPartitionKey
An optional restriction of the end of the range of partition keys to include.
@param endRowKey
An optional restriction of the end of the range of row keys to include.
@param accessPolicyIdentifier
An optional identifier for the policy.
@param ipRange
The range of IP addresses for the shared access signature.
@param protocols
The Internet protocols for the shared access signature.
@param tableName
The table name.
@param signature
The signature to use.

@return The finished query builder
@throws IllegalArgumentException
@throws StorageException