arquero
Version:
Query processing and transformation of array-backed data tables.
11 lines (10 loc) • 522 B
TypeScript
/**
* Rewrite AST node to be a table column reference.
* Additionally optimizes dictionary column operations.
* @param {object} ref AST node to rewrite to a column reference.
* @param {string} name The name of the column.
* @param {number} [index] The table index of the column.
* @param {object} [col] The actual table column instance.
* @param {object} [op] Parent AST node operating on the column reference.
*/
export function rewrite(ref: object, name: string, index?: number, col?: object, op?: object): any;