public class ViewDefinition
extends java.lang.Object
Constructor and Description |
---|
ViewDefinition(StatementNode parsed,
SQLParserContext parserContext) |
ViewDefinition(java.lang.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.
|
java.lang.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(java.lang.String sql, SQLParser parser) throws StandardException
StandardException
public ViewDefinition(StatementNode parsed, SQLParserContext parserContext) throws StandardException
StandardException
public TableName getName()
public java.lang.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 © 2013. All Rights Reserved.