microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableQuery.java
public void setTakeCount(final Integer takeCount) {
        if (takeCount != null && takeCount <= 0) {
            throw new IllegalArgumentException(SR.TAKE_COUNT_ZERO_OR_NEGATIVE);
        }

        this.takeCount = takeCount;
    }
public void setTakeCount(final Integer takeCount) {
        if (takeCount != null && takeCount <= 0) {
            throw new IllegalArgumentException(SR.TAKE_COUNT_ZERO_OR_NEGATIVE);
        }

        this.takeCount = takeCount;
    }
Sets the upper bound for the number of entities the query returns. If this value is not specified in a table
query, by default a maximum of 1,000 entries will be returned.
<p>
If the value specified for the <code>takeCount</code> parameter is greater than 1,000, the query will throw a
{@link StorageException} when executed.

@param takeCount
An <code>Integer</code> which represents the maximum number of entities for the table query to return.