Interface IRenderTaskExecutor

interface IRenderTaskExecutor {
    copyCache(col: Column, from: Column): void;
    copyData2Summary(ranking: Ranking): void;
    dirtyColumn(col: Column, type: "data" | "summary" | "group"): void;
    dirtyRanking(ranking: Ranking, type: "data" | "summary" | "group"): void;
    groupBoxPlotStats(
        col: Column & INumberColumn,
        group: IOrderedGroup,
        raw?: boolean,
    ): IRenderTask<
        {
            data: IAdvancedBoxPlotData;
            group: IAdvancedBoxPlotData;
            summary: IAdvancedBoxPlotData;
        },
    >;
    groupCategoricalStats(
        col: Column & ICategoricalLikeColumn,
        group: IOrderedGroup,
    ): IRenderTask<
        {
            data: ICategoricalStatistics;
            group: ICategoricalStatistics;
            summary: ICategoricalStatistics;
        },
    >;
    groupCompare(
        ranking: Ranking,
        group: IGroup,
        rows: IndicesArray,
    ): IRenderTask<ICompareValue[]>;
    groupDateStats(
        col: Column & IDateColumn,
        group: IOrderedGroup,
    ): IRenderTask<
        {
            data: IDateStatistics;
            group: IDateStatistics;
            summary: IDateStatistics;
        },
    >;
    groupExampleRows<T>(
        col: Column,
        group: IOrderedGroup,
        key: string,
        compute: (rows: ISequence<IDataRow>) => T,
    ): IRenderTask<T>;
    groupNumberStats(
        col: Column & INumberColumn,
        group: IOrderedGroup,
        raw?: boolean,
    ): IRenderTask<
        { data: IStatistics; group: IStatistics; summary: IStatistics },
    >;
    groupRows<T>(
        col: Column,
        group: IOrderedGroup,
        key: string,
        compute: (rows: ISequence<IDataRow>) => T,
    ): IRenderTask<T>;
    groupStringStats(
        col: StringColumn,
        group: IOrderedGroup,
    ): IRenderTask<
        {
            data: IStringStatistics;
            group: IStringStatistics;
            summary: IStringStatistics;
        },
    >;
    preCompute(
        ranking: Ranking,
        groups: { group: IGroup; rows: IndicesArray }[],
        maxDataIndex: number,
    ): void;
    preComputeCol(col: Column): void;
    preComputeData(ranking: Ranking): void;
    setData(data: IDataRow[]): void;
    sort(
        ranking: Ranking,
        group: IGroup,
        indices: IndicesArray,
        singleCall: boolean,
        maxDataIndex: number,
        lookups?: CompareLookup,
    ): Promise<IndicesArray>;
    summaryBoxPlotStats(
        col: Column & INumberColumn,
        raw?: boolean,
    ): IRenderTask<
        { data: IAdvancedBoxPlotData; summary: IAdvancedBoxPlotData },
    >;
    summaryCategoricalStats(
        col: Column & ICategoricalLikeColumn,
    ): IRenderTask<
        { data: ICategoricalStatistics; summary: ICategoricalStatistics },
    >;
    summaryDateStats(
        col: Column & IDateColumn,
    ): IRenderTask<{ data: IDateStatistics; summary: IDateStatistics }>;
    summaryNumberStats(
        col: Column & INumberColumn,
        raw?: boolean,
    ): IRenderTask<{ data: IStatistics; summary: IStatistics }>;
    summaryStringStats(
        col: StringColumn,
    ): IRenderTask<{ data: IStringStatistics; summary: IStringStatistics }>;
    terminate(): void;
    valueCache(col: Column): (dataIndex: number) => any;
}

Hierarchy (View Summary)

Methods

  • Parameters

    • col: Column
    • type: "data" | "summary" | "group"

    Returns void

  • Parameters

    • ranking: Ranking
    • type: "data" | "summary" | "group"

    Returns void