FileQueryProgress Class

  • java.lang.Object
    • com.azure.storage.file.datalake.models.FileQueryProgress

public class FileQueryProgress

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

Constructor Summary

Constructor Description
FileQueryProgress(long bytesScanned, long totalBytes)

Creates a new FileQueryProgress 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 file.

Methods inherited from java.lang.Object

Constructor Details

FileQueryProgress

public FileQueryProgress(long bytesScanned, long totalBytes)

Creates a new FileQueryProgress object.

Parameters:

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

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 file.

Returns:

The total number of bytes in the file.

Applies to