Package com.mckoi.database
Class ViewDef
- java.lang.Object
-
- com.mckoi.database.ViewDef
-
public class ViewDef extends java.lang.Object
A ViewDef object is a definition of a view stored in the database. It is an object that can be easily serialized and deserialized to/from the system view table. It contains the DataTableDef that describes the characteristics of the view result, and a QueryPlanNode that describes how the view can be constructed.- Author:
- Tobias Downer
-
-
Constructor Summary
Constructors Constructor Description ViewDef(DataTableDef view_def, QueryPlanNode query_node)
Constructs the ViewDef object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataTableDef
getDataTableDef()
Returns the DataTableDef for this view.QueryPlanNode
getQueryPlanNode()
Returns the QueryPlanNode for this view.
-
-
-
Constructor Detail
-
ViewDef
public ViewDef(DataTableDef view_def, QueryPlanNode query_node)
Constructs the ViewDef object.
-
-
Method Detail
-
getDataTableDef
public DataTableDef getDataTableDef()
Returns the DataTableDef for this view.
-
getQueryPlanNode
public QueryPlanNode getQueryPlanNode()
Returns the QueryPlanNode for this view.
-
-