Package org.rocksdb
Class ImportColumnFamilyOptions
- java.lang.Object
-
- org.rocksdb.AbstractNativeReference
-
- org.rocksdb.AbstractImmutableNativeReference
-
- org.rocksdb.RocksObject
-
- org.rocksdb.ImportColumnFamilyOptions
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class ImportColumnFamilyOptions extends RocksObject
ImportColumnFamilyOptions is used byRocksDB.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 Constructor Description ImportColumnFamilyOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddisposeInternal(long handle)booleanmoveFiles()Can be set to true to move the files instead of copying them.ImportColumnFamilyOptionssetMoveFiles(boolean moveFiles)Can be set to true to move the files instead of copying them.-
Methods inherited from class org.rocksdb.RocksObject
disposeInternal, getNativeHandle
-
Methods inherited from class org.rocksdb.AbstractImmutableNativeReference
close, disOwnNativeHandle, isOwningHandle
-
-
-
-
Method Detail
-
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
public ImportColumnFamilyOptions setMoveFiles(boolean moveFiles)
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
-
-