public class ViewManager
extends java.lang.Object
| Modifier and Type | Method | Description |
|---|---|---|
QueryPlanNode |
createViewQueryPlanNode(TableName view_name) |
Returns a freshly deserialized QueryPlanNode object for the given view
object.
|
void |
defineView(ViewDef view,
SQLQuery query,
User user) |
Defines a view.
|
boolean |
deleteView(TableName view_name) |
Deletes the view with the given name, or returns false if no entries were
deleted from the view table.
|
boolean |
viewExists(TableName view_name) |
Returns true if the view with the given name exists.
|
public boolean viewExists(TableName view_name)
public void defineView(ViewDef view, SQLQuery query, User user) throws DatabaseException
view - information that defines the view.query - the query that forms the view.user - the user that owns this view being defined.DatabaseExceptionpublic boolean deleteView(TableName view_name) throws DatabaseException
DatabaseExceptionpublic QueryPlanNode createViewQueryPlanNode(TableName view_name)
Copyright © 2018. All rights reserved.