Enum spark_connect_rs::spark::expression::ExprType
source · pub enum ExprType {
Show 17 variants
Literal(Literal),
UnresolvedAttribute(UnresolvedAttribute),
UnresolvedFunction(UnresolvedFunction),
ExpressionString(ExpressionString),
UnresolvedStar(UnresolvedStar),
Alias(Box<Alias>),
Cast(Box<Cast>),
UnresolvedRegex(UnresolvedRegex),
SortOrder(Box<SortOrder>),
LambdaFunction(Box<LambdaFunction>),
Window(Box<Window>),
UnresolvedExtractValue(Box<UnresolvedExtractValue>),
UpdateFields(Box<UpdateFields>),
UnresolvedNamedLambdaVariable(UnresolvedNamedLambdaVariable),
CommonInlineUserDefinedFunction(CommonInlineUserDefinedFunction),
CallFunction(CallFunction),
Extension(Any),
}
Variants§
Literal(Literal)
UnresolvedAttribute(UnresolvedAttribute)
UnresolvedFunction(UnresolvedFunction)
ExpressionString(ExpressionString)
UnresolvedStar(UnresolvedStar)
Alias(Box<Alias>)
Cast(Box<Cast>)
UnresolvedRegex(UnresolvedRegex)
SortOrder(Box<SortOrder>)
LambdaFunction(Box<LambdaFunction>)
Window(Box<Window>)
UnresolvedExtractValue(Box<UnresolvedExtractValue>)
UpdateFields(Box<UpdateFields>)
UnresolvedNamedLambdaVariable(UnresolvedNamedLambdaVariable)
CommonInlineUserDefinedFunction(CommonInlineUserDefinedFunction)
CallFunction(CallFunction)
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.
Implementations§
source§impl ExprType
impl ExprType
sourcepub fn merge<B>(
field: &mut Option<ExprType>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError>where
B: Buf,
pub fn merge<B>(
field: &mut Option<ExprType>,
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 ExprType
impl PartialEq for ExprType
impl StructuralPartialEq for ExprType
Auto Trait Implementations§
impl Freeze for ExprType
impl RefUnwindSafe for ExprType
impl Send for ExprType
impl Sync for ExprType
impl Unpin for ExprType
impl UnwindSafe for ExprType
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