Struct google_cloud_bigquery::http::routine::SparkOptions
source · pub struct SparkOptions {
pub connection: Option<String>,
pub runtime_version: Option<String>,
pub container_image: Option<String>,
pub properties: Option<HashMap<String, String>>,
pub main_file_uri: Option<String>,
pub py_file_uris: Option<Vec<String>>,
pub jar_uris: Option<Vec<String>>,
pub file_uris: Option<Vec<String>>,
pub archive_uris: Option<Vec<String>>,
pub main_class: Option<String>,
}Fields§
§connection: Option<String>Fully qualified name of the user-provided Spark connection object. Format: “projects/{projectId}/locations/{locationId}/connections/{connectionId}”
runtime_version: Option<String>Runtime version. If not specified, the default runtime version is used.
container_image: Option<String>Custom container image for the runtime environment.
properties: Option<HashMap<String, String>>Configuration properties as a set of key/value pairs, which will be passed on to the Spark application. For more information, see Apache Spark and the procedure option list. An object containing a list of “key”: value pairs. Example: { “name”: “wrench”, “mass”: “1.3kg”, “count”: “3” }.
main_file_uri: Option<String>The main file/jar URI of the Spark application. Exactly one of the definitionBody field and the mainFileUri field must be set for Python. Exactly one of mainClass and mainFileUri field should be set for Java/Scala language type.
py_file_uris: Option<Vec<String>>Python files to be placed on the PYTHONPATH for PySpark application. Supported file types: .py, .egg, and .zip. For more information about Apache Spark, see Apache Spark.
jar_uris: Option<Vec<String>>JARs to include on the driver and executor CLASSPATH. For more information about Apache Spark, see Apache Spark.
file_uris: Option<Vec<String>>Files to be placed in the working directory of each executor. For more information about Apache Spark, see Apache Spark.
archive_uris: Option<Vec<String>>Archive files to be extracted into the working directory of each executor. For more information about Apache Spark, see Apache Spark.
main_class: Option<String>The fully qualified name of a class in jarUris, for example, com.example.wordcount. Exactly one of mainClass and main_jar_uri field should be set for Java/Scala language type.
Trait Implementations§
source§impl Clone for SparkOptions
impl Clone for SparkOptions
source§fn clone(&self) -> SparkOptions
fn clone(&self) -> SparkOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SparkOptions
impl Debug for SparkOptions
source§impl Default for SparkOptions
impl Default for SparkOptions
source§fn default() -> SparkOptions
fn default() -> SparkOptions
source§impl<'de> Deserialize<'de> for SparkOptions
impl<'de> Deserialize<'de> for SparkOptions
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>,
source§impl PartialEq for SparkOptions
impl PartialEq for SparkOptions
source§fn eq(&self, other: &SparkOptions) -> bool
fn eq(&self, other: &SparkOptions) -> bool
self and other values to be equal, and is used
by ==.source§impl Serialize for SparkOptions
impl Serialize for SparkOptions
impl Eq for SparkOptions
impl StructuralPartialEq for SparkOptions
Auto Trait Implementations§
impl Freeze for SparkOptions
impl RefUnwindSafe for SparkOptions
impl Send for SparkOptions
impl Sync for SparkOptions
impl Unpin for SparkOptions
impl UnwindSafe for SparkOptions
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request