All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.storage.blob.models.BlobQueryProgress Maven / Gradle / Ivy

There is a newer version: 12.29.0
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.storage.blob.models;

/**
 * Defines a blob query error that can be returned on parsing a blob query request.
 */
public class BlobQueryProgress {

    private final long bytesScanned;
    private final long totalBytes;

    /**
     * Creates a new BlobQueryProgress object.
     * @param bytesScanned The number of bytes scanned so far.
     * @param totalBytes The total number of bytes in the blob.
     */
    public BlobQueryProgress(long bytesScanned, long totalBytes) {
        this.bytesScanned = bytesScanned;
        this.totalBytes = totalBytes;
    }

    /**
     * @return The number of bytes scanned so far.
     */
    public long getBytesScanned() {
        return bytesScanned;
    }

    /**
     * @return The total number of bytes in the blob.
     */
    public long getTotalBytes() {
        return totalBytes;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy