plywood
Version:
A query planner and executor
21 lines • 887 B
TypeScript
import { SqlExpression } from 'druid-query-toolkit';
import { ComputeFn, Datum, PlywoodValue } from '../datatypes';
import { SQLDialect } from '../dialect';
import { Expression, ExpressionJS, ExpressionValue } from './baseExpression';
export declare class SqlRefExpression extends Expression {
static op: string;
static fromJS(parameters: ExpressionJS): SqlRefExpression;
sql: string;
parsedSql: SqlExpression;
constructor(parameters: ExpressionValue);
valueOf(): ExpressionValue;
toJS(): ExpressionJS;
toString(): string;
changeSql(sql: string): SqlRefExpression;
getFn(): ComputeFn;
calc(_datum: Datum): PlywoodValue;
getSQL(dialect: SQLDialect, _minimal?: boolean): string;
equals(other: SqlRefExpression | undefined): boolean;
isSqlFunction(...functionNames: string[]): boolean;
}
//# sourceMappingURL=sqlRefExpression.d.ts.map