public class ViewDefinition extends Object
| Constructor and Description |
|---|
ViewDefinition(StatementNode parsed,
SQLParserContext parserContext) |
ViewDefinition(String sql,
SQLParser parser)
Parse the given SQL as CREATE VIEW and remember the definition.
|
| Modifier and Type | Method and Description |
|---|---|
FromSubquery |
copySubquery(SQLParserContext parserContext)
Get the view as an equivalent subquery belonging to the given context.
|
TableName |
getName()
Get the name of the view.
|
String |
getQueryExpression()
Get the text of the view definition.
|
ResultColumnList |
getResultColumns()
Get the result columns for this view.
|
FromSubquery |
getSubquery()
Get the original subquery for binding.
|
FromSubquery |
getSubquery(Visitor binder)
Deprecated.
|
public ViewDefinition(String sql, SQLParser parser) throws StandardException
StandardExceptionpublic ViewDefinition(StatementNode parsed, SQLParserContext parserContext) throws StandardException
StandardExceptionpublic TableName getName()
public String getQueryExpression()
public ResultColumnList getResultColumns()
public FromSubquery getSubquery()
public FromSubquery copySubquery(SQLParserContext parserContext) throws StandardException
StandardException@Deprecated public FromSubquery getSubquery(Visitor binder) throws StandardException
Copyright © 2015 FoundationDB, LLC. All rights reserved.