Struct datafusion::execution::DiskManager
source · [−]pub struct DiskManager { /* private fields */ }
Expand description
Manages files generated during query execution, e.g. spill files generated while processing dataset larger than available memory.
Implementations
sourceimpl DiskManager
impl DiskManager
sourcepub fn try_new(config: DiskManagerConfig) -> Result<Arc<Self>>
pub fn try_new(config: DiskManagerConfig) -> Result<Arc<Self>>
Create a DiskManager given the configuration
sourcepub fn create_tmp_file(&self) -> Result<NamedTempFile>
pub fn create_tmp_file(&self) -> Result<NamedTempFile>
Return a temporary file from a randomized choice in the configured locations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for DiskManager
impl Send for DiskManager
impl Sync for DiskManager
impl Unpin for DiskManager
impl UnwindSafe for DiskManager
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more