你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

FindBlobsOptions Class

  • java.lang.Object
    • com.azure.storage.blob.options.FindBlobsOptions

public class FindBlobsOptions

Defines options available to configure the behavior of a call to com.azure.storage.blob.BlobServiceClient#findBlobsByTags(FindBlobsOptions, Duration, com.azure.core.util.Context) or findBlobsByTags(FindBlobsOptions options). See the constructor for details on each of the options.

Constructor Summary

Constructor Description
FindBlobsOptions(String query)

Method Summary

Modifier and Type Method and Description
Integer getMaxResultsPerPage()

Specifies the maximum number of blobs to return.

String getQuery()
FindBlobsOptions setMaxResultsPerPage(Integer maxResultsPerPage)

Specifies the maximum number of blobs to return.

Methods inherited from java.lang.Object

Constructor Details

FindBlobsOptions

public FindBlobsOptions(String query)

Parameters:

query - Filters the results to return only blobs whose tags match the specified expression.

Method Details

getMaxResultsPerPage

public Integer getMaxResultsPerPage()

Specifies the maximum number of blobs to return. If the request does not specify maxResultsPerPage or specifies a value greater than 5,000, the server will return up to 5,000 items.

Returns:

the number of blobs that will be returned in a single response

getQuery

public String getQuery()

Returns:

Filters the results to return only blobs whose tags match the specified expression.

setMaxResultsPerPage

public FindBlobsOptions setMaxResultsPerPage(Integer maxResultsPerPage)

Specifies the maximum number of blobs to return. If the request does not specify maxResultsPerPage or specifies a value greater than 5,000, the server will return up to 5,000 items.

Parameters:

maxResultsPerPage - The number of blobs to returned in a single response

Returns:

the updated FindBlobsOptions object

Applies to