MCPcopy Create free account
hub / github.com/bytedance/terarkdb / open

Method open

java/src/main/java/org/rocksdb/TtlDB.java:66–69  ·  view source on GitHub ↗

Opens a TtlDB. Database is opened in read-write mode without default TTL. @param options org.rocksdb.Options instance. @param db_path path to database. @return TtlDB instance. @throws RocksDBException thrown if an error occurs within the native part of the library.

(final Options options, final String db_path)

Source from the content-addressed store, hash-verified

64 * part of the library.
65 */
66 public static TtlDB open(final Options options, final String db_path)
67 throws RocksDBException {
68 return open(options, db_path, 0, false);
69 }
70
71 /**
72 * <p>Opens a TtlDB.</p>

Callers 4

ttlDBOpenMethod · 0.95
ttlDBOpenWithTtlMethod · 0.95
createTtlColumnFamilyMethod · 0.95

Calls 6

columnFamilyNameMethod · 0.95
columnFamilyOptionsMethod · 0.95
openCFMethod · 0.95
sizeMethod · 0.45
getMethod · 0.45
addMethod · 0.45

Tested by 4

ttlDBOpenMethod · 0.76
ttlDBOpenWithTtlMethod · 0.76
createTtlColumnFamilyMethod · 0.76