com.yandex.ydb.table.description.ColumnFamily Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ydb-sdk-jdbc-uberjar Show documentation
Show all versions of ydb-sdk-jdbc-uberjar Show documentation
JDBC client implementation over Table client, single jar
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
}
}