All Methods Instance Methods Concrete Methods
| Modifier and Type |
Method and Description |
void |
addCoercion(Expression expression,
Type type,
boolean isTypeOnlyCoercion) |
void |
addCoercions(Map<NodeRef<Expression>,Type> coercions,
Set<NodeRef<Expression>> typeOnlyCoercions) |
void |
addColumnReferences(Map<NodeRef<Expression>,FieldId> columnReferences) |
void |
addEmptyColumnReferencesForTable(AccessControl accessControl,
Identity identity,
QualifiedObjectName table) |
void |
addFunctionSignatures(Map<NodeRef<FunctionCall>,Signature> infos) |
void |
addLambdaArgumentReferences(Map<NodeRef<Identifier>,LambdaArgumentDeclaration> lambdaArgumentReferences) |
void |
addRelationCoercion(Relation relation,
Type[] types) |
void |
addTableColumnReferences(AccessControl accessControl,
Identity identity,
com.google.common.collect.Multimap<QualifiedObjectName,String> tableColumnMap) |
void |
addTypes(Map<NodeRef<Expression>,Type> types) |
List<FunctionCall> |
getAggregates(QuerySpecification query) |
Optional<TableHandle> |
getAnalyzeTarget() |
Type |
getCoercion(Expression expression) |
Map<NodeRef<Expression>,Type> |
getCoercions() |
ColumnHandle |
getColumn(Field field) |
Optional<List<Identifier>> |
getColumnAliases() |
Map<NodeRef<Expression>,FieldId> |
getColumnReferenceFields() |
Set<NodeRef<Expression>> |
getColumnReferences() |
Optional<String> |
getCreateTableComment() |
Optional<QualifiedObjectName> |
getCreateTableDestination() |
Map<String,Expression> |
getCreateTableProperties() |
List<ExistsPredicate> |
getExistsSubqueries(Node node) |
Signature |
getFunctionSignature(FunctionCall function) |
List<Expression> |
getGroupByExpressions(QuerySpecification node) |
List<GroupingOperation> |
getGroupingOperations(QuerySpecification querySpecification) |
Analysis.GroupingSetAnalysis |
getGroupingSets(QuerySpecification node) |
Expression |
getHaving(QuerySpecification query) |
List<InPredicate> |
getInPredicateSubqueries(Node node) |
Optional<Analysis.Insert> |
getInsert() |
Expression |
getJoinCriteria(Join join) |
Analysis.JoinUsingAnalysis |
getJoinUsing(Join node) |
LambdaArgumentDeclaration |
getLambdaArgumentReference(Identifier identifier) |
Map<NodeRef<Identifier>,LambdaArgumentDeclaration> |
getLambdaArgumentReferences() |
OptionalLong |
getLimit(Node node) |
Query |
getNamedQuery(Table table) |
long |
getOffset(Offset node) |
List<Expression> |
getOrderByAggregates(OrderBy node) |
List<Expression> |
getOrderByExpressions(Node node) |
List<FunctionCall> |
getOrderByWindowFunctions(OrderBy query) |
RelationType |
getOutputDescriptor() |
RelationType |
getOutputDescriptor(Node node) |
List<Expression> |
getOutputExpressions(Node node) |
List<Expression> |
getParameters() |
List<QuantifiedComparisonExpression> |
getQuantifiedComparisonSubqueries(Node node) |
Type[] |
getRelationCoercion(Relation relation) |
Scope |
getRootScope() |
double |
getSampleRatio(SampledRelation relation) |
List<SubqueryExpression> |
getScalarSubqueries(Node node) |
Scope |
getScope(Node node) |
Statement |
getStatement() |
Map<Analysis.AccessControlInfo,Map<QualifiedObjectName,Set<String>>> |
getTableColumnReferences() |
TableHandle |
getTableHandle(Table table) |
Collection<TableHandle> |
getTables() |
Type |
getType(Expression expression) |
Set<NodeRef<Expression>> |
getTypeOnlyCoercions() |
Map<NodeRef<Expression>,Type> |
getTypes() |
Type |
getTypeWithCoercions(Expression expression) |
String |
getUpdateType() |
Expression |
getWhere(QuerySpecification node) |
List<FunctionCall> |
getWindowFunctions(QuerySpecification query) |
boolean |
hasTableInView(Table tableReference) |
boolean |
isAggregation(QuerySpecification node) |
boolean |
isColumnReference(Expression expression) |
boolean |
isCreateTableAsSelectNoOp() |
boolean |
isCreateTableAsSelectWithData() |
boolean |
isDescribe() |
boolean |
isOrderByRedundant(OrderBy orderBy) |
boolean |
isTypeOnlyCoercion(Expression expression) |
void |
markRedundantOrderBy(OrderBy orderBy) |
void |
recordSubqueries(Node node,
ExpressionAnalysis expressionAnalysis) |
void |
registerNamedQuery(Table tableReference,
Query query) |
void |
registerTable(Table table,
TableHandle handle) |
void |
registerTableForView(Table tableReference) |
void |
setAggregates(QuerySpecification node,
List<FunctionCall> aggregates) |
void |
setAnalyzeTarget(TableHandle analyzeTarget) |
void |
setColumn(Field field,
ColumnHandle handle) |
void |
setCreateTableAsSelectNoOp(boolean createTableAsSelectNoOp) |
void |
setCreateTableAsSelectWithData(boolean createTableAsSelectWithData) |
void |
setCreateTableColumnAliases(List<Identifier> createTableColumnAliases) |
void |
setCreateTableComment(Optional<String> createTableComment) |
void |
setCreateTableDestination(QualifiedObjectName destination) |
void |
setCreateTableProperties(Map<String,Expression> createTableProperties) |
void |
setGroupByExpressions(QuerySpecification node,
List<Expression> expressions) |
void |
setGroupingOperations(QuerySpecification querySpecification,
List<GroupingOperation> groupingOperations) |
void |
setGroupingSets(QuerySpecification node,
Analysis.GroupingSetAnalysis groupingSets) |
void |
setHaving(QuerySpecification node,
Expression expression) |
void |
setInsert(Analysis.Insert insert) |
void |
setJoinCriteria(Join node,
Expression criteria) |
void |
setJoinUsing(Join node,
Analysis.JoinUsingAnalysis analysis) |
void |
setLimit(Node node,
long rowCount) |
void |
setLimit(Node node,
OptionalLong rowCount) |
void |
setOffset(Offset node,
long rowCount) |
void |
setOrderByAggregates(OrderBy node,
List<Expression> aggregates) |
void |
setOrderByExpressions(Node node,
List<Expression> items) |
void |
setOrderByWindowFunctions(OrderBy node,
List<FunctionCall> functions) |
void |
setOutputExpressions(Node node,
List<Expression> expressions) |
void |
setSampleRatio(SampledRelation relation,
double ratio) |
void |
setScope(Node node,
Scope scope) |
void |
setUpdateType(String updateType) |
void |
setWhere(Node node,
Expression expression) |
void |
setWindowFunctions(QuerySpecification node,
List<FunctionCall> functions) |
Optional<Scope> |
tryGetScope(Node node) |
void |
unregisterTableForView() |