implicit final class EnhancedLogicalPlan extends AnyVal
Some syntactic sugar which makes it easier to work with optional clauses for LogicalPlans.
- Alphabetic
- By Inheritance
- EnhancedLogicalPlan
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new EnhancedLogicalPlan(plan: LogicalPlan)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
optional(ctx: AnyRef)(f: ⇒ LogicalPlan): LogicalPlan
Create a plan using the block of code when the given context exists.
Create a plan using the block of code when the given context exists. Otherwise return the original plan.
-
def
optionalMap[C](ctx: C)(f: (C, LogicalPlan) ⇒ LogicalPlan): LogicalPlan
Map a LogicalPlan to another LogicalPlan if the passed context exists using the passed function.
Map a LogicalPlan to another LogicalPlan if the passed context exists using the passed function. The original plan is returned when the context does not exist.
- val plan: LogicalPlan
-
def
toString(): String
- Definition Classes
- Any