use oxidelake_core::params::{AggregateSpec, DistanceMetric, Predicate};
use crate::DeviceBatch;
#[derive(Debug, Clone, Copy)]
pub struct FilterProjectArgs<'a> {
pub input: &'a DeviceBatch,
pub predicate: &'a Predicate,
pub projection: &'a [usize],
}
#[derive(Debug, Clone, Copy)]
pub struct HashJoinArgs<'a> {
pub left: &'a DeviceBatch,
pub right: &'a DeviceBatch,
pub left_key: usize,
pub right_key: usize,
}
#[derive(Debug, Clone, Copy)]
pub struct AggregateArgs<'a> {
pub input: &'a DeviceBatch,
pub spec: &'a AggregateSpec,
}
#[derive(Debug, Clone, Copy)]
pub struct VectorDistanceArgs<'a> {
pub input: &'a DeviceBatch,
pub column: usize,
pub query: &'a [f32],
pub metric: DistanceMetric,
pub output_name: &'a str,
}