Struct datafusion_expr::logical_plan::dml::CopyTo
source · pub struct CopyTo {
pub input: Arc<LogicalPlan>,
pub output_url: String,
pub file_format: FileType,
pub single_file_output: bool,
pub copy_options: CopyOptions,
}
Expand description
Operator that copies the contents of a database to file(s)
Fields§
§input: Arc<LogicalPlan>
The relation that determines the tuples to write to the output file(s)
output_url: String
The location to write the file(s)
file_format: FileType
The file format to output (explicitly defined or inferred from file extension)
single_file_output: bool
If false, it is assumed output_url is a file to which all data should be written regardless of input partitioning. Otherwise, output_url is assumed to be a directory to which each output partition is written to its own output file
copy_options: CopyOptions
Arbitrary options as tuples
Trait Implementations§
source§impl PartialEq<CopyTo> for CopyTo
impl PartialEq<CopyTo> for CopyTo
impl Eq for CopyTo
impl StructuralEq for CopyTo
impl StructuralPartialEq for CopyTo
Auto Trait Implementations§
impl !RefUnwindSafe for CopyTo
impl Send for CopyTo
impl Sync for CopyTo
impl Unpin for CopyTo
impl !UnwindSafe for CopyTo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.