"use strict";
const util = require("util");
const DataCollection = require("./data-collection");
/**
* Creates a new MaterializedView.
* @param {String} name Name of the View.
* @classdesc Describes a CQL materialized view.
* @alias module:metadata~MaterializedView
* @augments {module:metadata~DataCollection}
* @constructor
*/
function MaterializedView(name) {
DataCollection.call(this, name);
/**
* Name of the table.
* @type {String}
*/
this.tableName = null;
/**
* View where clause.
* @type {String}
*/
this.whereClause = null;
/**
* Determines if all the table columns where are included in the view.
* @type {boolean}
*/
this.includeAllColumns = false;
}
util.inherits(MaterializedView, DataCollection);
module.exports = MaterializedView;