@ -59,6 +59,18 @@ jlong Java_org_rocksdb_Options_newOptions__JJ(JNIEnv* env, jclass jcls,
return reinterpret_cast < jlong > ( op ) ;
return reinterpret_cast < jlong > ( op ) ;
}
}
/*
* Class : org_rocksdb_Options
* Method : copyOptions
* Signature : ( J ) J
*/
jlong Java_org_rocksdb_Options_copyOptions ( JNIEnv * env , jclass jcls ,
jlong jhandle ) {
auto new_opt = new rocksdb : : Options (
* ( reinterpret_cast < rocksdb : : Options * > ( jhandle ) ) ) ;
return reinterpret_cast < jlong > ( new_opt ) ;
}
/*
/*
* Class : org_rocksdb_Options
* Class : org_rocksdb_Options
* Method : disposeInternal
* Method : disposeInternal
@ -2848,6 +2860,18 @@ jlong Java_org_rocksdb_ColumnFamilyOptions_newColumnFamilyOptions(
return reinterpret_cast < jlong > ( op ) ;
return reinterpret_cast < jlong > ( op ) ;
}
}
/*
* Class : org_rocksdb_ColumnFamilyOptions
* Method : copyColumnFamilyOptions
* Signature : ( J ) J
*/
jlong Java_org_rocksdb_ColumnFamilyOptions_copyColumnFamilyOptions (
JNIEnv * env , jclass jcls , jlong jhandle ) {
auto new_opt = new rocksdb : : ColumnFamilyOptions (
* ( reinterpret_cast < rocksdb : : ColumnFamilyOptions * > ( jhandle ) ) ) ;
return reinterpret_cast < jlong > ( new_opt ) ;
}
/*
/*
* Class : org_rocksdb_ColumnFamilyOptions
* Class : org_rocksdb_ColumnFamilyOptions
* Method : getColumnFamilyOptionsFromProps
* Method : getColumnFamilyOptionsFromProps
@ -4161,6 +4185,18 @@ jlong Java_org_rocksdb_DBOptions_newDBOptions(JNIEnv* env,
return reinterpret_cast < jlong > ( dbop ) ;
return reinterpret_cast < jlong > ( dbop ) ;
}
}
/*
* Class : org_rocksdb_DBOptions
* Method : copyDBOptions
* Signature : ( J ) J
*/
jlong Java_org_rocksdb_DBOptions_copyDBOptions ( JNIEnv * env , jclass jcls ,
jlong jhandle ) {
auto new_opt = new rocksdb : : DBOptions (
* ( reinterpret_cast < rocksdb : : DBOptions * > ( jhandle ) ) ) ;
return reinterpret_cast < jlong > ( new_opt ) ;
}
/*
/*
* Class : org_rocksdb_DBOptions
* Class : org_rocksdb_DBOptions
* Method : getDBOptionsFromProps
* Method : getDBOptionsFromProps
@ -5690,6 +5726,18 @@ jlong Java_org_rocksdb_WriteOptions_newWriteOptions(
return reinterpret_cast < jlong > ( op ) ;
return reinterpret_cast < jlong > ( op ) ;
}
}
/*
* Class : org_rocksdb_WriteOptions
* Method : copyWriteOptions
* Signature : ( J ) J
*/
jlong Java_org_rocksdb_WriteOptions_copyWriteOptions (
JNIEnv * env , jclass jcls , jlong jhandle ) {
auto new_opt = new rocksdb : : WriteOptions (
* ( reinterpret_cast < rocksdb : : WriteOptions * > ( jhandle ) ) ) ;
return reinterpret_cast < jlong > ( new_opt ) ;
}
/*
/*
* Class : org_rocksdb_WriteOptions
* Class : org_rocksdb_WriteOptions
* Method : disposeInternal
* Method : disposeInternal
@ -5808,10 +5856,9 @@ jlong Java_org_rocksdb_ReadOptions_newReadOptions(
*/
*/
jlong Java_org_rocksdb_ReadOptions_copyReadOptions (
jlong Java_org_rocksdb_ReadOptions_copyReadOptions (
JNIEnv * env , jclass jcls , jlong jhandle ) {
JNIEnv * env , jclass jcls , jlong jhandle ) {
auto old_read_opt = reinterpret_cast < rocksdb : : ReadOptions * > ( jhandle ) ;
auto new_opt = new rocksdb : : ReadOptions (
auto new_read_opt = new rocksdb : : ReadOptions ( ) ;
* ( reinterpret_cast < rocksdb : : ReadOptions * > ( jhandle ) ) ) ;
* new_read_opt = * old_read_opt ;
return reinterpret_cast < jlong > ( new_opt ) ;
return reinterpret_cast < jlong > ( new_read_opt ) ;
}
}
/*
/*