Package org.rocksdb
Class ImportColumnFamilyOptions
java.lang.Object
org.rocksdb.AbstractNativeReference
org.rocksdb.AbstractImmutableNativeReference
org.rocksdb.RocksObject
org.rocksdb.ImportColumnFamilyOptions
- All Implemented Interfaces:
AutoCloseable
ImportColumnFamilyOptions is used by
RocksDB.createColumnFamilyWithImport(ColumnFamilyDescriptor, ImportColumnFamilyOptions, ExportImportFilesMetaData).-
Field Summary
Fields inherited from class org.rocksdb.RocksObject
nativeHandle_Fields inherited from class org.rocksdb.AbstractImmutableNativeReference
owningHandle_ -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final voiddisposeInternal(long handle) booleanCan be set to true to move the files instead of copying them.setMoveFiles(boolean moveFiles) Can be set to true to move the files instead of copying them.Methods inherited from class org.rocksdb.RocksObject
disposeInternal, getNativeHandleMethods inherited from class org.rocksdb.AbstractImmutableNativeReference
close, disOwnNativeHandle, isOwningHandle
-
Constructor Details
-
ImportColumnFamilyOptions
public ImportColumnFamilyOptions()
-
-
Method Details
-
moveFiles
public boolean moveFiles()Can be set to true to move the files instead of copying them.- Returns:
- true if files will be moved
-
setMoveFiles
Can be set to true to move the files instead of copying them.- Parameters:
moveFiles- true if files should be moved instead of copied- Returns:
- the reference to the current IngestExternalFileOptions.
-
disposeInternal
protected final void disposeInternal(long handle) - Specified by:
disposeInternalin classRocksObject
-