Struct datafusion::physical_plan::hash_join::HashJoinExec [−][src]
pub struct HashJoinExec { /* fields omitted */ }
join execution plan executes partitions in parallel and combines them into a set of partitions.
Implementations
impl HashJoinExec
[src]
impl HashJoinExec
[src]pub fn try_new(
left: Arc<dyn ExecutionPlan>,
right: Arc<dyn ExecutionPlan>,
on: &JoinOn,
join_type: &JoinType,
partition_mode: PartitionMode
) -> Result<Self>
[src]
left: Arc<dyn ExecutionPlan>,
right: Arc<dyn ExecutionPlan>,
on: &JoinOn,
join_type: &JoinType,
partition_mode: PartitionMode
) -> Result<Self>
Tries to create a new HashJoinExec.
Error
This function errors when it is not possible to join the left and right sides on keys on
.
pub fn left(&self) -> &Arc<dyn ExecutionPlan>
[src]
left (build) side which gets hashed
pub fn right(&self) -> &Arc<dyn ExecutionPlan>
[src]
right (probe) side which are filtered by the hash table
pub fn on(&self) -> &[(String, String)]
[src]
Set of common columns used to join on
pub fn join_type(&self) -> &JoinType
[src]
How the join is performed
Trait Implementations
impl ExecutionPlan for HashJoinExec
[src]
impl ExecutionPlan for HashJoinExec
[src]fn as_any(&self) -> &dyn Any
[src]
fn schema(&self) -> SchemaRef
[src]
fn children(&self) -> Vec<Arc<dyn ExecutionPlan>>
[src]
fn with_new_children(
&self,
children: Vec<Arc<dyn ExecutionPlan>>
) -> Result<Arc<dyn ExecutionPlan>>
[src]
&self,
children: Vec<Arc<dyn ExecutionPlan>>
) -> Result<Arc<dyn ExecutionPlan>>
fn output_partitioning(&self) -> Partitioning
[src]
fn execute<'life0, 'async_trait>(
&'life0 self,
partition: usize
) -> Pin<Box<dyn Future<Output = Result<SendableRecordBatchStream>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
partition: usize
) -> Pin<Box<dyn Future<Output = Result<SendableRecordBatchStream>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn required_child_distribution(&self) -> Distribution
[src]
fn metrics(&self) -> HashMap<String, SQLMetric>
[src]
Auto Trait Implementations
impl !RefUnwindSafe for HashJoinExec
impl !RefUnwindSafe for HashJoinExec
impl Send for HashJoinExec
impl Send for HashJoinExec
impl Sync for HashJoinExec
impl Sync for HashJoinExec
impl Unpin for HashJoinExec
impl Unpin for HashJoinExec
impl !UnwindSafe for HashJoinExec
impl !UnwindSafe for HashJoinExec