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

com.microsoft.azure.datalake.store.ContentSummary Maven / Gradle / Ivy

There is a newer version: 2.3.10
Show newest version
/*
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 * See License.txt in the project root for license information.
 */

package com.microsoft.azure.datalake.store;

/**
 * structure that contains the return values from getContentSummary call.
 */
public class ContentSummary {

    /**
     * length of file
     */
    public final long length;

    /**
     * number of subdirectories under a directory
     */
    public final long directoryCount;

    /**
     * number of files under a directory
     */
    public final long fileCount;

    /**
     * total space consumed by a directory
     */
    public final long spaceConsumed;

    public ContentSummary(
            long length,
            long directoryCount,
            long fileCount,
            long spaceConsumed
    ) {
        this.length = length;
        this.directoryCount = directoryCount;
        this.fileCount = fileCount;
        this.spaceConsumed = spaceConsumed;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy