repo
stringlengths
1
191
file
stringlengths
23
351
code
stringlengths
0
5.32M
file_length
int64
0
5.32M
avg_line_length
float64
0
2.9k
max_line_length
int64
0
288k
extension_type
stringclasses
1 value
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/CompactionJobStats.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; public class CompactionJobStats exte...
8,800
28.733108
80
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/CompactionOptions.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; import java.util.List; /** * Compa...
3,832
30.418033
105
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/CompactionOptionsFIFO.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * Options for FIFO Compaction ...
2,643
28.377778
80
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/CompactionOptionsUniversal.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * Options for Universal Compact...
9,571
33.934307
80
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/CompactionPriority.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * Compaction Priorities */ pub...
2,037
26.540541
76
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/CompactionReason.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; public enum CompactionReason { kUn...
2,629
21.672414
79
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/CompactionStopStyle.java
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. package org.rocksdb; /** * Algorithm used to make a compaction request stop picking new files * into a single compaction run */ public enum CompactionStopStyle { /** * Pick files of similar size */ CompactionStopStyleSimilarSize((by...
1,361
23.321429
78
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/CompactionStyle.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; import java.util.List; /** * Enum ...
2,551
30.506173
117
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/ComparatorOptions.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * This class controls the behavi...
4,853
35.223881
82
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/ComparatorType.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; enum ComparatorType { JAVA_COMPARA...
1,306
25.673469
83
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/CompressionOptions.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * Options for Compression */ p...
4,916
31.348684
81
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/CompressionType.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * Enum CompressionType * * <p...
2,971
28.72
80
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/ConcurrentTaskLimiter.java
package org.rocksdb; public abstract class ConcurrentTaskLimiter extends RocksObject { protected ConcurrentTaskLimiter(final long nativeHandle) { super(nativeHandle); } /** * Returns a name that identifies this concurrent task limiter. * * @return Concurrent task limiter name. */ public abstra...
1,057
26.128205
92
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/ConcurrentTaskLimiterImpl.java
package org.rocksdb; public class ConcurrentTaskLimiterImpl extends ConcurrentTaskLimiter { public ConcurrentTaskLimiterImpl(final String name, final int maxOutstandingTask) { super(newConcurrentTaskLimiterImpl0(name, maxOutstandingTask)); } @Override public String name() { assert (isOwningHandle()); ...
1,337
30.116279
87
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/ConfigOptions.java
package org.rocksdb; public class ConfigOptions extends RocksObject { static { RocksDB.loadLibrary(); } /** * Construct with default Options */ public ConfigOptions() { super(newConfigOptions()); } public ConfigOptions setDelimiter(final String delimiter) { setDelimiter(nativeHandle_, d...
1,461
29.458333
94
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/DBOptions.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; import java.nio.file.Paths; import j...
47,369
29.620556
97
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/DBOptionsInterface.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; import java.util.Collection; import ...
66,010
35.26978
98
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/DataBlockIndexType.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * DataBlockIndexType used in c...
689
19.909091
67
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/DbPath.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; import java.nio.file.Path; /** * T...
1,100
21.9375
73
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/DirectSlice.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; import java.nio.ByteBuffer; /** * ...
4,147
29.057971
80
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/EncodingType.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * EncodingType * * <p>The val...
1,832
31.732143
80
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/Env.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; import java.util.Arrays; import java...
5,246
30.232143
79
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/EnvOptions.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * Options while opening a file ...
10,769
28.346049
80
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/EventListener.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; import java.util.List; /** * Event...
13,810
40.474474
99
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/Experimental.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; import java.lang.annotation.ElementT...
764
30.875
67
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/ExternalFileIngestionInfo.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; import java.util.Objects; public cl...
3,062
28.451923
100
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/FileOperationInfo.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; import java.util.Objects; /** * Ja...
2,653
22.486726
100
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/Filter.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * Filters are stored in rocksdb...
1,129
29.540541
67
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/FlushJobInfo.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; import java.util.Objects; public cl...
5,745
29.727273
100
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/FlushOptions.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * FlushOptions to be passed to ...
2,723
28.934066
79
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/FlushReason.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; public enum FlushReason { OTHERS((...
1,385
24.666667
91
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/HashLinkedListMemTableConfig.java
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. package org.rocksdb; /** * The config for hash linked list memtable representation * Such memtable contains a fix-sized array of buckets, where * each bucket points to a sorted singly-linked * list (or null if the bucket is empty). * * Note...
5,594
30.971429
72
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/HashSkipListMemTableConfig.java
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. package org.rocksdb; /** * The config for hash skip-list mem-table representation. * Such mem-table representation contains a fix-sized array of * buckets, where each bucket points to a skiplist (or null if the * bucket is empty). * * Note ...
3,065
27.654206
72
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/HdfsEnv.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * HDFS environment. */ public ...
820
28.321429
75
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/HistogramData.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; public class HistogramData { priva...
1,900
24.013158
89
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/HistogramType.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; public enum HistogramType { DB_GE...
4,617
19.990909
79
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/Holder.java
// Copyright (c) 2016, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * Simple instance reference wrapper. *...
981
19.893617
67
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/IndexShorteningMode.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * This enum allows trading off i...
2,205
35.163934
78
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/IndexType.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * IndexType used in conjunction...
1,713
29.607143
82
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/InfoLogLevel.java
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. package org.rocksdb; /** * RocksDB log levels. */ public enum InfoLogLevel { DEBUG_LEVEL((byte)0), INFO_LEVEL((byte)1), WARN_LEVEL((byte)2), ERROR_LEVEL((byte)3), FATAL_LEVEL((byte)4), HEADER_LEVEL((byte)5), NUM_INFO_LOG_LEVELS((b...
1,163
22.28
72
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/IngestExternalFileOptions.java
package org.rocksdb; // Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). import java.util.List; /** * Ingest...
8,336
35.565789
109
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/LRUCache.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * Least Recently Used Cache */...
3,455
40.638554
80
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/LevelMetaData.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; import java.util.Arrays; import java...
1,229
20.578947
67
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/LiveFileMetaData.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * The full set of metadata asso...
1,497
25.75
79
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/LogFile.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; public class LogFile { private fin...
1,842
23.25
69
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/Logger.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * <p>This class provides a cust...
3,909
30.788618
67
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/MemTableConfig.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * MemTableConfig is used to conf...
1,131
36.733333
73
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/MemTableInfo.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; import java.util.Objects; public cl...
3,016
28.009615
94
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/MemoryUsageType.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * MemoryUsageType * * <p>The ...
1,789
23.520548
79
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/MemoryUtil.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; import java.util.*; /** * JNI pass...
2,384
38.098361
126
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/MergeOperator.java
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. // Copyright (c) 2014, Vlad Balan (vlad.gm@gmail.com). All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file i...
673
34.473684
76
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/MutableColumnFamilyOptions.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; import java.util.*; public class Mu...
14,668
30.210638
136
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/MutableColumnFamilyOptionsInterface.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; public interface MutableColumnFamily...
5,610
34.289308
98
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/MutableDBOptions.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; import java.util.HashMap; import jav...
9,291
27.503067
106
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/MutableDBOptionsInterface.java
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. package org.rocksdb; public interface MutableDBOptionsInterface<T extends MutableDBOptionsInterface<T>> { /** * Specifies the maximum number of concurrent background jobs (both flushes * and compactions combined). * Default: 2 * ...
15,834
34.664414
84
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/MutableOptionKey.java
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. package org.rocksdb; public interface MutableOptionKey { enum ValueType { DOUBLE, LONG, INT, BOOLEAN, INT_ARRAY, ENUM } String name(); ValueType getValueType(); }
270
14.941176
72
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/MutableOptionValue.java
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. package org.rocksdb; import static org.rocksdb.AbstractMutableOptions.INT_ARRAY_INT_SEPARATOR; public abstract class MutableOptionValue<T> { abstract double asDouble() throws NumberFormatException; abstract long asLong() throws NumberFormat...
9,337
23.769231
84
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/NativeComparatorWrapper.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; import java.nio.ByteBuffer; /** * ...
1,836
29.616667
91
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/NativeLibraryLoader.java
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. package org.rocksdb; import java.io.*; import java.nio.file.Files; import java.nio.file.StandardCopyOption; import org.rocksdb.util.Environment; /** * This class is used to load the RocksDB shared library from within the jar. * The shared lib...
4,423
32.770992
96
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/OperationStage.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * The operation stage. */ publ...
1,633
26.233333
69
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/OperationType.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * The type used to refer to a t...
1,411
24.672727
67
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/OptimisticTransactionDB.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; import java.util.List; /** * Datab...
8,089
34.638767
81
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/OptimisticTransactionOptions.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; public class OptimisticTransactionOp...
1,752
31.462963
86
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/Options.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; import java.nio.file.Paths; import j...
76,570
30.381557
147
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/OptionsUtil.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; import java.util.ArrayList; import j...
8,202
43.102151
100
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/PersistentCache.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * Persistent cache for caching ...
1,028
37.111111
75
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/PlainTableConfig.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * The config for plain table sst...
7,595
29.142857
73
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/Priority.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * The Thread Pool priority. */...
1,189
22.8
79
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/Range.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * Range from start to limit. *...
495
23.8
67
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/RateLimiter.java
// Copyright (c) 2015, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * RateLimiter, which is used to control...
9,715
41.614035
83
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/RateLimiterMode.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * Mode for {@link RateLimiter#R...
1,415
25.716981
79
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/ReadOptions.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * The class that controls the g...
21,911
34.285024
92
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/ReadTier.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * RocksDB {@link ReadOptions} r...
1,245
23.92
79
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/RemoveEmptyValueCompactionFilter.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * Just a Java wrapper around Em...
645
33
75
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/RestoreOptions.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * RestoreOptions to control the...
1,137
33.484848
80
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/ReusedSynchronisationType.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * Determines the type of synchro...
1,821
26.606061
71
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/RocksCallbackObject.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; import java.util.List; /** * Rocks...
2,318
30.337838
79
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/RocksDB.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; import java.io.IOException; import j...
192,881
39.18375
109
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/RocksDBException.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * A RocksDBException encapsulat...
1,231
26.377778
78
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/RocksEnv.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * <p>A RocksEnv is an interface...
1,115
32.818182
77
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/RocksIterator.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; import java.nio.ByteBuffer; /** * ...
4,745
38.55
99
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/RocksIteratorInterface.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; import java.nio.ByteBuffer; /** * ...
4,206
31.867188
97
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/RocksMemEnv.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * Memory environment. */ //TOD...
1,095
26.4
75
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/RocksMutableObject.java
// Copyright (c) 2016, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * RocksMutableObject is an implementati...
2,630
28.897727
78
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/RocksObject.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * RocksObject is an implementat...
1,368
28.76087
76
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/SanityLevel.java
package org.rocksdb; public enum SanityLevel { NONE((byte) 0x0), LOOSELY_COMPATIBLE((byte) 0x1), EXACT_MATCH((byte) 0xFF); private final byte value; SanityLevel(final byte value) { this.value = value; } /** * Get the internal representation value. * * @return the internal representation v...
991
22.069767
82
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/SizeApproximationFlag.java
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. package org.rocksdb; import java.util.List; /** * Flags for * {@link RocksDB#getApproximateSizes(ColumnFamilyHandle, List, SizeApproximationFlag...)} * that specify whether memtable stats should be included, * or file stats approximation or ...
694
20.71875
90
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/SkipListMemTableConfig.java
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. package org.rocksdb; /** * The config for skip-list memtable representation. */ public class SkipListMemTableConfig extends MemTableConfig { public static final long DEFAULT_LOOKAHEAD = 0; /** * SkipListMemTableConfig constructor */...
1,307
24.153846
72
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/Slice.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * <p>Base class for slices whic...
4,243
29.978102
79
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/Snapshot.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * Snapshot of database */ publ...
1,064
24.357143
67
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/SstFileManager.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; import java.util.Map; /** * SstFil...
9,759
37.730159
84
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/SstFileMetaData.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * The metadata that describes a...
3,835
22.533742
79
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/SstFileReader.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; public class SstFileReader extends R...
2,647
30.903614
83
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/SstFileReaderIterator.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; import java.nio.ByteBuffer; /** * ...
4,787
38.245902
99
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/SstFileWriter.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; import java.nio.ByteBuffer; /** * ...
9,299
30.958763
91
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/SstPartitionerFactory.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * Handle to factory for SstPart...
533
32.375
82
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/SstPartitionerFixedPrefixFactory.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * Fixed prefix factory. It part...
746
36.35
85
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/StateType.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; /** * The type used to refer to a t...
1,360
24.203704
67
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/Statistics.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; import java.util.EnumSet; /** * St...
4,801
30.385621
108
java
rocksdb
rocksdb-master/java/src/main/java/org/rocksdb/StatisticsCollector.java
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; import java.util.List; import java.u...
4,086
35.491071
82
java