Skip to main content

HashJoinExecBuilder

Struct HashJoinExecBuilder 

Source
pub struct HashJoinExecBuilder { /* private fields */ }
Expand description

Helps to build HashJoinExec.

Builder can be created from an existing HashJoinExec using From::from. In this case, all its fields are inherited. If a field that affects the node’s properties is modified, they will be automatically recomputed during the build.

§Adding setters

When adding a new setter, it is necessary to ensure that the preserve_properties flag is set to false if modifying the field requires a recomputation of the plan’s properties.

Implementations§

Source§

impl HashJoinExecBuilder

Source

pub fn new( left: Arc<dyn ExecutionPlan>, right: Arc<dyn ExecutionPlan>, on: Vec<(PhysicalExprRef, PhysicalExprRef)>, join_type: JoinType, ) -> Self

Make a new HashJoinExecBuilder.

Source

pub fn with_type(self, join_type: JoinType) -> Self

Set join type.

Source

pub fn with_projection(self, projection: Option<Vec<usize>>) -> Self

Set projection from the vector.

Source

pub fn with_projection_ref(self, projection: Option<ProjectionRef>) -> Self

Set projection from the shared reference.

Source

pub fn with_filter(self, filter: Option<JoinFilter>) -> Self

Set optional filter.

Source

pub fn with_on(self, on: Vec<(PhysicalExprRef, PhysicalExprRef)>) -> Self

Set expressions to join on.

Source

pub fn with_partition_mode(self, mode: PartitionMode) -> Self

Set partition mode.

Source

pub fn with_null_equality(self, null_equality: NullEquality) -> Self

Set null equality property.

Source

pub fn with_null_aware(self, null_aware: bool) -> Self

Set null aware property.

Source

pub fn with_fetch(self, fetch: Option<usize>) -> Self

Set fetch property.

Source

pub fn recompute_properties(self) -> Self

Require to recompute plan properties.

Source

pub fn with_new_children( self, children: Vec<Arc<dyn ExecutionPlan>>, ) -> Result<Self>

Replace children.

Source

pub fn reset_state(self) -> Self

Reset runtime state.

Source

pub fn build_exec(self) -> Result<Arc<dyn ExecutionPlan>>

Build result as a dyn execution plan.

Source

pub fn build(self) -> Result<HashJoinExec>

Build resulting execution plan.

Trait Implementations§

Source§

impl From<&HashJoinExec> for HashJoinExecBuilder

Source§

fn from(exec: &HashJoinExec) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V