Skip to main content

TakePlan

Type Alias TakePlan 

Source
pub type TakePlan = Plan<Take>;
Expand description

A plan that indexes one child by another.

Aliased Type§

pub struct TakePlan { /* private fields */ }

Implementations§

Source§

impl TakePlan

Source

pub fn new(codes: PlanRef, values: PlanRef) -> Self

Creates a take of values at codes.

The row domain is that of codes, and the output dtype is that of values.

Source

pub fn codes(&self) -> VortexResult<PlanRef>

Returns the plan producing indices.

Source

pub fn values(&self) -> VortexResult<PlanRef>

Returns the plan producing the values being indexed.