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

com.swirlds.merkledb.files.data_file_generic.proto Maven / Gradle / Ivy

Go to download

Swirlds is a software platform designed to build fully-distributed applications that harness the power of the cloud without servers. Now you can develop applications with fairness in decision making, speed, trust and reliability, at a fraction of the cost of traditional server-based platforms.

There is a newer version: 0.56.6
Show newest version
syntax = "proto3";

package merkledb;

option java_package = "com.swirlds.merkledb.files";
option java_multiple_files = true;

message DataFile {

    // File metadata
    DataFileMetadata metadata = 1;

    // Data items
    repeated bytes items = 11;
}

message DataFileMetadata {

    // File index in its file collection
    optional uint32 index = 1;

    // Creation timestamp, seconds
    uint64 creationDateSeconds = 2;

    // Creation timestamp, nanos
    uint32 creationDateNanos = 3;

    // Items count
    fixed64 itemsCount = 4;

    // Data item version. May not be needed
    optional uint64 itemVersion = 5;

    // Compaction level. Always less or equal to 127
    optional uint32 compactionLevel = 6;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy