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

com.yandex.ydb.table.description.ColumnFamily Maven / Gradle / Ivy

The newest version!
package com.yandex.ydb.table.description;

public final class ColumnFamily {
    private final String name;
    private final StoragePool data;
    private final Compression compression;
    private final boolean keepInMemory;

    public ColumnFamily(String name, StoragePool data, Compression compression, boolean keepInMemory) {
        this.name = name;
        this.data = data;
        this.compression = compression;
        this.keepInMemory = keepInMemory;
    }

    public String getName() {
        return name;
    }

    public StoragePool getData() {
        return data;
    }

    public Compression getCompression() {
        return compression;
    }

    public boolean isKeepInMemory() {
        return keepInMemory;
    }

    public enum Compression {
        COMPRESSION_NONE,
        COMPRESSION_LZ4
    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy