| Package | Description |
|---|---|
| io.prestosql.sql.analyzer | |
| io.prestosql.sql.planner |
| Modifier and Type | Method and Description |
|---|---|
Field |
ResolvedField.getField() |
Field |
RelationType.getFieldByIndex(int fieldIndex)
Gets the field at the specified index.
|
static Field |
Field.newQualified(QualifiedName relationAlias,
Optional<String> name,
Type type,
boolean hidden,
Optional<QualifiedObjectName> originTable,
Optional<String> originColumn,
boolean aliased) |
static Field |
Field.newUnqualified(Optional<String> name,
Type type) |
static Field |
Field.newUnqualified(Optional<String> name,
Type type,
Optional<QualifiedObjectName> originTable,
Optional<String> originColumn,
boolean aliased) |
static Field |
Field.newUnqualified(String name,
Type type) |
| Modifier and Type | Method and Description |
|---|---|
Collection<Field> |
RelationType.getAllFields()
Gets all fields including hidden fields.
|
Collection<Field> |
RelationType.getVisibleFields()
Gets only the visible fields.
|
List<Field> |
RelationType.resolveFields(QualifiedName name)
Gets the index of all columns matching the specified name
|
List<Field> |
RelationType.resolveFieldsWithPrefix(Optional<QualifiedName> prefix)
This method is used for SELECT * or x.* queries
|
| Modifier and Type | Method and Description |
|---|---|
ColumnHandle |
Analysis.getColumn(Field field) |
int |
RelationType.indexOf(Field field)
Gets the index of the specified field.
|
void |
Analysis.setColumn(Field field,
ColumnHandle handle) |
| Constructor and Description |
|---|
RelationType(Field... fields) |
ResolvedField(Scope scope,
Field field,
int hierarchyFieldIndex,
int relationFieldIndex,
boolean local) |
| Constructor and Description |
|---|
RelationType(List<Field> fields) |
| Modifier and Type | Method and Description |
|---|---|
Symbol |
SymbolAllocator.newSymbol(Field field) |
Copyright © 2012–2019. All rights reserved.