plywood
Version:
A query planner and executor
24 lines • 1.1 kB
TypeScript
import { ComputeFn, Datum, PlywoodValue } from '../datatypes';
import { SQLDialect } from '../dialect/baseDialect';
import { External } from '../external/baseExternal';
import { DatasetFullType } from '../types';
import { ChainableUnaryExpression, Expression, ExpressionJS, ExpressionValue } from './baseExpression';
export declare class ExternalExpression extends Expression {
static op: string;
static fromJS(parameters: ExpressionJS): ExternalExpression;
external: External;
constructor(parameters: ExpressionValue);
valueOf(): ExpressionValue;
toJS(): ExpressionJS;
toString(): string;
getFn(): ComputeFn;
calc(_datum: Datum): PlywoodValue;
getSQL(_dialect: SQLDialect): string;
equals(other: ExternalExpression | undefined): boolean;
updateTypeContext(typeContext: DatasetFullType): DatasetFullType;
unsuppress(): ExternalExpression;
addExpression(expression: Expression): Expression;
prePush(expression: ChainableUnaryExpression): ExternalExpression;
maxPossibleSplitValues(): number;
}
//# sourceMappingURL=externalExpression.d.ts.map