1 // Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
2 // This source code is licensed under both the GPLv2 (found in the
3 // COPYING file in the root directory) and Apache 2.0 License
4 // (found in the LICENSE.Apache file in the root directory).
9 * Just a Java wrapper around CassandraCompactionFilter implemented in C++
11 public class CassandraCompactionFilter
12 extends AbstractCompactionFilter
<Slice
> {
13 public CassandraCompactionFilter(boolean purgeTtlOnExpiration
, int gcGracePeriodInSeconds
) {
14 super(createNewCassandraCompactionFilter0(purgeTtlOnExpiration
, gcGracePeriodInSeconds
));
17 private native static long createNewCassandraCompactionFilter0(
18 boolean purgeTtlOnExpiration
, int gcGracePeriodInSeconds
);