Trait sql_ops::join::no_partitioning_join::CpuHashJoinable
source · [−]pub trait CpuHashJoinable: DeviceCopy + KeyAttribute {
fn build_impl(
hj: &mut CpuHashJoin<Self>,
join_attr: &[Self],
payload_attr: &[Self]
) -> Result<()>;
fn probe_sum_impl(
hj: &mut CpuHashJoin<Self>,
join_attr: &[Self],
payload_attr: &[Self],
join_result: &mut u64
) -> Result<()>;
}
Expand description
Specifies that the implementing type can be used as a join key in
CpuHashJoin
.
See CudaHashJoinable
for more details on the design decision.
Required methods
fn build_impl(
hj: &mut CpuHashJoin<Self>,
join_attr: &[Self],
payload_attr: &[Self]
) -> Result<()>
fn build_impl(
hj: &mut CpuHashJoin<Self>,
join_attr: &[Self],
payload_attr: &[Self]
) -> Result<()>
Implements CpuHashJoin::build
for the implementing type.
fn probe_sum_impl(
hj: &mut CpuHashJoin<Self>,
join_attr: &[Self],
payload_attr: &[Self],
join_result: &mut u64
) -> Result<()>
fn probe_sum_impl(
hj: &mut CpuHashJoin<Self>,
join_attr: &[Self],
payload_attr: &[Self],
join_result: &mut u64
) -> Result<()>
Implements CpuHashJoin::probe_sum
for the implementing type.