@fivetrandevelopers/zetasql
Version:
ZetaSQL gRPC server and client
24 lines (23 loc) • 1.58 kB
TypeScript
export declare const ResolvedASTRewrite: {
readonly REWRITE_INVALID_DO_NOT_USE: 0;
readonly REWRITE_FLATTEN: 1;
readonly REWRITE_ANONYMIZATION: 2;
readonly REWRITE_PROTO_MAP_FNS: 3;
readonly REWRITE_ARRAY_FILTER_TRANSFORM: 4;
readonly REWRITE_UNPIVOT: 5;
readonly REWRITE_PIVOT: 6;
readonly REWRITE_ARRAY_INCLUDES: 7;
readonly REWRITE_TYPEOF_FUNCTION: 8;
readonly REWRITE_WITH_EXPR: 9;
readonly REWRITE_INLINE_SQL_FUNCTIONS: 10;
readonly REWRITE_INLINE_SQL_TVFS: 11;
readonly REWRITE_NULLIFERROR_FUNCTION: 12;
readonly REWRITE_LIKE_ANY_ALL: 14;
readonly REWRITE_BUILTIN_FUNCTION_INLINER: 16;
readonly REWRITE_INLINE_SQL_VIEWS: 17;
readonly REWRITE_INLINE_SQL_UDAS: 22;
readonly REWRITE_SET_OPERATION_CORRESPONDING: 21;
readonly REWRITE_GROUPING_SET: 23;
};
export type ResolvedASTRewrite = 'REWRITE_INVALID_DO_NOT_USE' | 0 | 'REWRITE_FLATTEN' | 1 | 'REWRITE_ANONYMIZATION' | 2 | 'REWRITE_PROTO_MAP_FNS' | 3 | 'REWRITE_ARRAY_FILTER_TRANSFORM' | 4 | 'REWRITE_UNPIVOT' | 5 | 'REWRITE_PIVOT' | 6 | 'REWRITE_ARRAY_INCLUDES' | 7 | 'REWRITE_TYPEOF_FUNCTION' | 8 | 'REWRITE_WITH_EXPR' | 9 | 'REWRITE_INLINE_SQL_FUNCTIONS' | 10 | 'REWRITE_INLINE_SQL_TVFS' | 11 | 'REWRITE_NULLIFERROR_FUNCTION' | 12 | 'REWRITE_LIKE_ANY_ALL' | 14 | 'REWRITE_BUILTIN_FUNCTION_INLINER' | 16 | 'REWRITE_INLINE_SQL_VIEWS' | 17 | 'REWRITE_INLINE_SQL_UDAS' | 22 | 'REWRITE_SET_OPERATION_CORRESPONDING' | 21 | 'REWRITE_GROUPING_SET' | 23;
export type ResolvedASTRewrite__Output = typeof ResolvedASTRewrite[keyof typeof ResolvedASTRewrite];