Class 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.
    • Field Detail

      • view_def

        private DataTableDef view_def
        The DataTableDef object that describes the view column def.
      • view_query_node

        private QueryPlanNode view_query_node
        The QueryPlanNode that is used to evaluate the view.
    • Method Detail

      • getDataTableDef

        public DataTableDef getDataTableDef()
        Returns the DataTableDef for this view.
      • getQueryPlanNode

        public QueryPlanNode getQueryPlanNode()
        Returns the QueryPlanNode for this view.
      • serializeToBlob

        ByteLongObject serializeToBlob()
        Forms this ViewDef object into a serialized ByteLongObject object that can be stored in a table.
      • deserializeFromBlob

        static final ViewDef deserializeFromBlob​(BlobAccessor blob)
        Creates an instance of ViewDef from the serialized information stored in the blob.