#[non_exhaustive]pub enum Driver {
MainJarFileUri(String),
MainClass(String),
}Expand description
The specification of the main method to call to drive the Spark
workload. Specify either the jar file that contains the main class or the
main class name. To pass both a main jar and a main class in that jar, add
the jar to jar_file_uris, and then specify the main class
name in main_class.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
MainJarFileUri(String)
Optional. The HCFS URI of the jar file that contains the main class.
MainClass(String)
Optional. The name of the driver main class. The jar file that contains
the class must be in the classpath or specified in jar_file_uris.
Trait Implementations§
impl StructuralPartialEq for Driver
Auto Trait Implementations§
impl Freeze for Driver
impl RefUnwindSafe for Driver
impl Send for Driver
impl Sync for Driver
impl Unpin for Driver
impl UnwindSafe for Driver
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