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

BlobQueryProgress Class

  • java.lang.Object
    • com.azure.storage.blob.models.BlobQueryProgress

public class BlobQueryProgress

Defines a blob query error that can be returned on parsing a blob query request.

Constructor Summary

Constructor Description
BlobQueryProgress(long bytesScanned, long totalBytes)

Creates a new BlobQueryProgress object.

Method Summary

Modifier and Type Method and Description
long getBytesScanned()

Gets the number of bytes scanned so far.

long getTotalBytes()

Gets the total number of bytes in the blob.

Methods inherited from java.lang.Object

Constructor Details

BlobQueryProgress

public BlobQueryProgress(long bytesScanned, long totalBytes)

Creates a new BlobQueryProgress object.

Parameters:

bytesScanned - The number of bytes scanned so far.
totalBytes - The total number of bytes in the blob.

Method Details

getBytesScanned

public long getBytesScanned()

Gets the number of bytes scanned so far.

Returns:

The number of bytes scanned so far.

getTotalBytes

public long getTotalBytes()

Gets the total number of bytes in the blob.

Returns:

The total number of bytes in the blob.

Applies to