]> git.proxmox.com Git - ceph.git/blob - ceph/src/rocksdb/java/src/main/java/org/rocksdb/BuiltinComparator.java
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / rocksdb / java / src / main / java / org / rocksdb / BuiltinComparator.java
1 // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
2 // This source code is licensed under the BSD-style license found in the
3 // LICENSE file in the root directory of this source tree. An additional grant
4 // of patent rights can be found in the PATENTS file in the same directory.
5
6 package org.rocksdb;
7
8 /**
9 * Builtin RocksDB comparators
10 *
11 * <ol>
12 * <li>BYTEWISE_COMPARATOR - Sorts all keys in ascending bytewise
13 * order.</li>
14 * <li>REVERSE_BYTEWISE_COMPARATOR - Sorts all keys in descending bytewise
15 * order</li>
16 * </ol>
17 */
18 public enum BuiltinComparator {
19 BYTEWISE_COMPARATOR, REVERSE_BYTEWISE_COMPARATOR
20 }