@druid-toolkit/query
Advanced tools
Comparing version 0.21.5 to 0.21.6
{ | ||
"name": "@druid-toolkit/query", | ||
"version": "0.21.5", | ||
"version": "0.21.6", | ||
"description": "A collection of utilities for working with Druid queries", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -13,3 +13,3 @@ import type { SeparatedArray } from '.'; | ||
export type SqlTypeDesignator = 'base' | 'type' | 'columnList' | 'extendClause' | 'columnDeclaration' | 'record' | 'query' | 'withQuery' | 'values' | 'withClause' | 'whereClause' | 'orderByExpression' | 'fromClause' | 'offsetClause' | 'orderByClause' | 'havingClause' | 'limitClause' | 'groupByClause' | 'insertClause' | 'replaceClause' | 'partitionedByClause' | 'partitionByClause' | 'clusteredByClause' | 'withPart' | 'joinPart' | 'alias' | 'labeledExpression' | 'betweenPart' | 'likePart' | 'comparison' | 'literal' | 'placeholder' | 'interval' | 'multi' | 'function' | 'case' | 'whenThenPart' | 'column' | 'star' | 'namespace' | 'table' | 'unary' | 'windowSpec'; | ||
export type KeywordName = 'all' | 'and' | 'as' | 'case' | 'clusteredBy' | 'decorator' | 'direction' | 'else' | 'end' | 'escape' | 'explainPlanFor' | 'extend' | 'filter' | 'from' | 'groupBy' | 'having' | 'insert' | 'interval' | 'into' | 'join' | 'joinType' | 'limit' | 'offset' | 'on' | 'op' | 'orderBy' | 'over' | 'overwrite' | 'partitionBy' | 'partitionedBy' | 'plan' | 'replace' | 'row' | 'select' | 'symmetric' | 'then' | 'timestamp' | 'union' | 'using' | 'values' | 'when' | 'where' | 'with'; | ||
export type KeywordName = 'all' | 'and' | 'as' | 'case' | 'clusteredBy' | 'decorator' | 'direction' | 'else' | 'end' | 'escape' | 'explainPlanFor' | 'extend' | 'filter' | 'from' | 'groupBy' | 'having' | 'insert' | 'interval' | 'into' | 'join' | 'joinType' | 'limit' | 'offset' | 'on' | 'op' | 'orderBy' | 'over' | 'overwrite' | 'partitionBy' | 'partitionedBy' | 'plan' | 'replace' | 'row' | 'select' | 'symmetric' | 'then' | 'timestamp' | 'type' | 'union' | 'using' | 'values' | 'when' | 'where' | 'with'; | ||
export type SpaceName = 'final' | 'initial' | 'postAnd' | 'postArguments' | 'postArrow' | 'postAs' | 'postCase' | 'postCaseExpression' | 'postClusteredBy' | 'postColumn' | 'postColumnDeclarations' | 'postColumns' | 'postDecorator' | 'postDot' | 'postElse' | 'postEscape' | 'postExplainPlanFor' | 'postExpressions' | 'postExtend' | 'postFilter' | 'postFrom' | 'postGroupBy' | 'postHaving' | 'postInsert' | 'postInsertClause' | 'postInterval' | 'postIntervalValue' | 'postInto' | 'postJoin' | 'postJoinType' | 'postLeftParen' | 'postLimit' | 'postNamespace' | 'postOffset' | 'postOn' | 'postOp' | 'postOrderBy' | 'postOver' | 'postOverwrite' | 'postPartitionBy' | 'postPartitionedBy' | 'postReplace' | 'postReplaceClause' | 'postRow' | 'postSelect' | 'postSymmetric' | 'postTable' | 'postThen' | 'postTimestamp' | 'postUnion' | 'postUsing' | 'postValues' | 'postWhen' | 'postWhenExpressions' | 'postWhere' | 'postWindowName' | 'postWith' | 'postWithClause' | 'preAlias' | 'preAnd' | 'preArrow' | 'preAs' | 'preClusteredByClause' | 'preColumns' | 'preDirection' | 'preElse' | 'preEnd' | 'preEscape' | 'preExtend' | 'preFilter' | 'preFromClause' | 'preGroupByClause' | 'preHavingClause' | 'preJoin' | 'preLeftParen' | 'preLimitClause' | 'preOffsetClause' | 'preOn' | 'preOp' | 'preOrderByClause' | 'preOver' | 'preOverwrite' | 'prePartitionedByClause' | 'preUnion' | 'preUsing' | 'preWhereClause'; | ||
@@ -28,2 +28,3 @@ export interface SqlBaseValue { | ||
static walkSeparatedArray<T extends SqlBase>(a: SeparatedArray<T>, stack: SqlBase[], fn: Substitutor, postorder: boolean): SeparatedArray<T> | undefined; | ||
static normalizeKeywordSpace(keyword: string): string; | ||
static classMap: Record<string, typeof SqlBase>; | ||
@@ -30,0 +31,0 @@ static register(ex: typeof SqlBase): void; |
@@ -16,2 +16,3 @@ import type { SqlBaseValue, SqlTypeDesignator } from '../sql-base'; | ||
static TIMESTAMP: SqlType; | ||
static makeEffectiveType(type: string): string; | ||
static create(value: string | SqlType): SqlType; | ||
@@ -25,3 +26,4 @@ static fromNativeType(value: string): SqlType; | ||
getNativeType(): string; | ||
isArray(): boolean; | ||
} | ||
//# sourceMappingURL=sql-type.d.ts.map |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5515680
62528