1 // Copyright (c) 2011-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).
5 
6 package org.rocksdb;
7 
8 /**
9  * Uint64AddOperator is a merge operator that accumlates a long
10  * integer value.
11  */
12 public class UInt64AddOperator extends MergeOperator {
UInt64AddOperator()13     public UInt64AddOperator() {
14         super(newSharedUInt64AddOperator());
15     }
16 
newSharedUInt64AddOperator()17     private native static long newSharedUInt64AddOperator();
disposeInternal(final long handle)18     @Override protected final native void disposeInternal(final long handle);
19 }
20