#[repr(i32)]pub enum Component {
Show 15 variants
Unspecified = 0,
Anaconda = 5,
Docker = 13,
Druid = 9,
Flink = 14,
Hbase = 11,
HiveWebhcat = 3,
Hudi = 18,
Jupyter = 1,
Presto = 6,
Trino = 17,
Ranger = 12,
Solr = 10,
Zeppelin = 4,
Zookeeper = 8,
}
Expand description
Cluster components that can be activated.
Variants§
Unspecified = 0
Unspecified component. Specifying this will cause Cluster creation to fail.
Anaconda = 5
The Anaconda python distribution. The Anaconda component is not supported in the Dataproc [2.0 image] (/https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-release-2.0). The 2.0 image is pre-installed with Miniconda.
Docker = 13
Docker
Druid = 9
The Druid query engine. (alpha)
Flink = 14
Flink
Hbase = 11
HBase. (beta)
HiveWebhcat = 3
The Hive Web HCatalog (the REST service for accessing HCatalog).
Hudi = 18
Hudi.
Jupyter = 1
The Jupyter Notebook.
Presto = 6
The Presto query engine.
Trino = 17
The Trino query engine.
Ranger = 12
The Ranger service.
Solr = 10
The Solr service.
Zeppelin = 4
The Zeppelin notebook.
Zookeeper = 8
The Zookeeper service.
Implementations§
source§impl Component
impl Component
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Ord for Component
impl Ord for Component
source§impl PartialEq for Component
impl PartialEq for Component
source§impl PartialOrd for Component
impl PartialOrd for Component
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for Component
impl TryFrom<i32> for Component
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
impl Copy for Component
impl Eq for Component
impl StructuralPartialEq for Component
Auto Trait Implementations§
impl Freeze for Component
impl RefUnwindSafe for Component
impl Send for Component
impl Sync for Component
impl Unpin for Component
impl UnwindSafe for Component
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<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.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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