FileQueryProgress Class
- java.
lang. Object - com.
azure. storage. file. datalake. models. FileQueryProgress
- com.
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 File |
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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.