Struct google_dataproc1::api::SparkRBatch
source · pub struct SparkRBatch {
pub archive_uris: Option<Vec<String>>,
pub args: Option<Vec<String>>,
pub file_uris: Option<Vec<String>>,
pub main_r_file_uri: Option<String>,
}
Expand description
A configuration for running an Apache SparkR (https://spark.apache.org/docs/latest/sparkr.html) batch workload.
This type is not used in any activity, and only used as part of another schema.
Fields§
§archive_uris: Option<Vec<String>>
Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
args: Option<Vec<String>>
Optional. The arguments to pass to the Spark driver. Do not include arguments that can be set as batch properties, such as –conf, since a collision can occur that causes an incorrect batch submission.
file_uris: Option<Vec<String>>
Optional. HCFS URIs of files to be placed in the working directory of each executor.
main_r_file_uri: Option<String>
Required. The HCFS URI of the main R file to use as the driver. Must be a .R or .r file.
Trait Implementations§
source§impl Clone for SparkRBatch
impl Clone for SparkRBatch
source§fn clone(&self) -> SparkRBatch
fn clone(&self) -> SparkRBatch
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SparkRBatch
impl Debug for SparkRBatch
source§impl Default for SparkRBatch
impl Default for SparkRBatch
source§fn default() -> SparkRBatch
fn default() -> SparkRBatch
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SparkRBatch
impl<'de> Deserialize<'de> for SparkRBatch
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for SparkRBatch
impl Serialize for SparkRBatch
impl Part for SparkRBatch
Auto Trait Implementations§
impl RefUnwindSafe for SparkRBatch
impl Send for SparkRBatch
impl Sync for SparkRBatch
impl Unpin for SparkRBatch
impl UnwindSafe for SparkRBatch
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