Enum spark_connect_rs::spark::relation::RelType
source · pub enum RelType {
Show 51 variants
Read(Read),
Project(Box<Project>),
Filter(Box<Filter>),
Join(Box<Join>),
SetOp(Box<SetOperation>),
Sort(Box<Sort>),
Limit(Box<Limit>),
Aggregate(Box<Aggregate>),
Sql(Sql),
LocalRelation(LocalRelation),
Sample(Box<Sample>),
Offset(Box<Offset>),
Deduplicate(Box<Deduplicate>),
Range(Range),
SubqueryAlias(Box<SubqueryAlias>),
Repartition(Box<Repartition>),
ToDf(Box<ToDf>),
WithColumnsRenamed(Box<WithColumnsRenamed>),
ShowString(Box<ShowString>),
Drop(Box<Drop>),
Tail(Box<Tail>),
WithColumns(Box<WithColumns>),
Hint(Box<Hint>),
Unpivot(Box<Unpivot>),
ToSchema(Box<ToSchema>),
RepartitionByExpression(Box<RepartitionByExpression>),
MapPartitions(Box<MapPartitions>),
CollectMetrics(Box<CollectMetrics>),
Parse(Box<Parse>),
GroupMap(Box<GroupMap>),
CoGroupMap(Box<CoGroupMap>),
WithWatermark(Box<WithWatermark>),
ApplyInPandasWithState(Box<ApplyInPandasWithState>),
HtmlString(Box<HtmlString>),
CachedLocalRelation(CachedLocalRelation),
CachedRemoteRelation(CachedRemoteRelation),
CommonInlineUserDefinedTableFunction(CommonInlineUserDefinedTableFunction),
FillNa(Box<NaFill>),
DropNa(Box<NaDrop>),
Replace(Box<NaReplace>),
Summary(Box<StatSummary>),
Crosstab(Box<StatCrosstab>),
Describe(Box<StatDescribe>),
Cov(Box<StatCov>),
Corr(Box<StatCorr>),
ApproxQuantile(Box<StatApproxQuantile>),
FreqItems(Box<StatFreqItems>),
SampleBy(Box<StatSampleBy>),
Catalog(Catalog),
Extension(Any),
Unknown(Unknown),
}
Variants§
Read(Read)
Project(Box<Project>)
Filter(Box<Filter>)
Join(Box<Join>)
SetOp(Box<SetOperation>)
Sort(Box<Sort>)
Limit(Box<Limit>)
Aggregate(Box<Aggregate>)
Sql(Sql)
LocalRelation(LocalRelation)
Sample(Box<Sample>)
Offset(Box<Offset>)
Deduplicate(Box<Deduplicate>)
Range(Range)
SubqueryAlias(Box<SubqueryAlias>)
Repartition(Box<Repartition>)
ToDf(Box<ToDf>)
WithColumnsRenamed(Box<WithColumnsRenamed>)
ShowString(Box<ShowString>)
Drop(Box<Drop>)
Tail(Box<Tail>)
WithColumns(Box<WithColumns>)
Hint(Box<Hint>)
Unpivot(Box<Unpivot>)
ToSchema(Box<ToSchema>)
RepartitionByExpression(Box<RepartitionByExpression>)
MapPartitions(Box<MapPartitions>)
CollectMetrics(Box<CollectMetrics>)
Parse(Box<Parse>)
GroupMap(Box<GroupMap>)
CoGroupMap(Box<CoGroupMap>)
WithWatermark(Box<WithWatermark>)
ApplyInPandasWithState(Box<ApplyInPandasWithState>)
HtmlString(Box<HtmlString>)
CachedLocalRelation(CachedLocalRelation)
CachedRemoteRelation(CachedRemoteRelation)
CommonInlineUserDefinedTableFunction(CommonInlineUserDefinedTableFunction)
FillNa(Box<NaFill>)
NA functions
DropNa(Box<NaDrop>)
Replace(Box<NaReplace>)
Summary(Box<StatSummary>)
stat functions
Crosstab(Box<StatCrosstab>)
Describe(Box<StatDescribe>)
Cov(Box<StatCov>)
Corr(Box<StatCorr>)
ApproxQuantile(Box<StatApproxQuantile>)
FreqItems(Box<StatFreqItems>)
SampleBy(Box<StatSampleBy>)
Catalog(Catalog)
Catalog API (experimental / unstable)
Extension(Any)
This field is used to mark extensions to the protocol. When plugins generate arbitrary relations they can add them here. During the planning the correct resolution is done.
Unknown(Unknown)
Implementations§
source§impl RelType
impl RelType
sourcepub fn merge<B>(
field: &mut Option<RelType>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError>where
B: Buf,
pub fn merge<B>(
field: &mut Option<RelType>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError>where
B: Buf,
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
source§impl PartialEq for RelType
impl PartialEq for RelType
impl StructuralPartialEq for RelType
Auto Trait Implementations§
impl Freeze for RelType
impl RefUnwindSafe for RelType
impl Send for RelType
impl Sync for RelType
impl Unpin for RelType
impl UnwindSafe for RelType
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
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>
Wrap the input message
T
in a tonic::Request