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 * 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 } 21