| Package | Description |
|---|---|
| com.facebook.presto.sql | |
| com.facebook.presto.sql.tree |
| Modifier and Type | Method and Description |
|---|---|
static Query |
QueryUtil.query(QueryBody body) |
static Query |
QueryUtil.simpleQuery(Select select,
Relation from) |
static Query |
QueryUtil.simpleQuery(Select select,
Relation from,
Expression where) |
static Query |
QueryUtil.simpleQuery(Select select,
Relation from,
Expression where,
List<SortItem> ordering) |
static Query |
QueryUtil.simpleQuery(Select select,
Relation from,
List<SortItem> ordering) |
static Query |
QueryUtil.simpleQuery(Select select,
Relation from,
Optional<Expression> where,
List<Expression> grouping,
Optional<Expression> having,
List<SortItem> ordering,
Optional<String> limit) |
static Query |
QueryUtil.simpleQuery(Select select,
Relation from,
Optional<Expression> where,
List<SortItem> ordering) |
| Modifier and Type | Method and Description |
|---|---|
static Relation |
QueryUtil.subquery(Query query) |
| Modifier and Type | Method and Description |
|---|---|
Query |
WithQuery.getQuery() |
Query |
TableSubquery.getQuery() |
Query |
SubqueryExpression.getQuery() |
Query |
Insert.getQuery() |
Query |
CreateView.getQuery() |
Query |
CreateTableAsSelect.getQuery() |
Query |
ExistsPredicate.getSubquery() |
| Modifier and Type | Method and Description |
|---|---|
protected R |
DefaultTraversalVisitor.visitQuery(Query node,
C context) |
protected R |
AstVisitor.visitQuery(Query node,
C context) |
| Constructor and Description |
|---|
CreateTableAsSelect(QualifiedName name,
Query query,
Map<String,Expression> properties) |
CreateView(QualifiedName name,
Query query,
boolean replace) |
ExistsPredicate(Query subquery) |
Insert(QualifiedName target,
Query query) |
SubqueryExpression(Query query) |
TableSubquery(Query query) |
WithQuery(String name,
Query query,
List<String> columnNames) |
Copyright © 2012-2015. All Rights Reserved.