Struct tidb_query_executors::util::aggr_executor::Entities[][src]

pub struct Entities<Src: BatchExecutor> {
    pub src: Src,
    pub context: EvalContext,
    pub schema: Vec<FieldType>,
    pub each_aggr_fn: Vec<Box<dyn AggrFunction>>,
    pub each_aggr_cardinality: Vec<usize>,
    pub each_aggr_exprs: Vec<RpnExpression>,
    pub all_result_column_types: Vec<EvalType>,
}

Some common data that need to be accessed by both AggregationExecutor and AggregationExecutorImpl.

Fields

src: Srccontext: EvalContextschema: Vec<FieldType>

The schema of the aggregation executor. It consists of aggregate result columns and group by columns.

each_aggr_fn: Vec<Box<dyn AggrFunction>>

The aggregate function.

each_aggr_cardinality: Vec<usize>

The (output result) cardinality of each aggregate function.

each_aggr_exprs: Vec<RpnExpression>

The (input) expression of each aggregate function.

all_result_column_types: Vec<EvalType>

The eval type of the result columns of all aggregate functions. One aggregate function may have multiple result columns.

Auto Trait Implementations

impl<Src> !RefUnwindSafe for Entities<Src>

impl<Src> Send for Entities<Src>

impl<Src> !Sync for Entities<Src>

impl<Src> Unpin for Entities<Src> where
    Src: Unpin

impl<Src> !UnwindSafe for Entities<Src>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<V, W> ConvertFrom<W> for V where
    W: ConvertTo<V>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]