|
|
|
@ -191,6 +191,13 @@ public class ColumnFamilyOptions extends RocksObject |
|
|
|
|
return this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public ColumnFamilyOptions useCappedPrefixExtractor(final int n) { |
|
|
|
|
assert(isInitialized()); |
|
|
|
|
useCappedPrefixExtractor(nativeHandle_, n); |
|
|
|
|
return this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public ColumnFamilyOptions setCompressionType(final CompressionType compressionType) { |
|
|
|
|
setCompressionType(nativeHandle_, compressionType.getValue()); |
|
|
|
@ -695,6 +702,8 @@ public class ColumnFamilyOptions extends RocksObject |
|
|
|
|
private native List<Byte> compressionPerLevel(long handle); |
|
|
|
|
private native void useFixedLengthPrefixExtractor( |
|
|
|
|
long handle, int prefixLength); |
|
|
|
|
private native void useCappedPrefixExtractor( |
|
|
|
|
long handle, int prefixLength); |
|
|
|
|
private native void setNumLevels( |
|
|
|
|
long handle, int numLevels); |
|
|
|
|
private native int numLevels(long handle); |
|
|
|
|