com.datastax.data.exploration.biz.datatable.DataTable Maven / Gradle / Ivy
package com.datastax.data.exploration.biz.datatable;
/**
* 二维表,支持行、列的查询,新增操作,支持DataTable 结构比较、数据合并操作
*/
public class DataTable {
private DataColumnCollection columns;
private DataRowCollection rows;
private String tableName;
public DataTable() {
this.columns = new DataColumnCollection();
this.rows = new DataRowCollection(this);
}
public DataColumnCollection getColumns() {
return columns;
}
public void setColumns(DataColumnCollection columns) {
this.columns = columns;
}
public DataRowCollection getRows() {
return rows;
}
public void setRows(DataRowCollection rows) {
this.rows = rows;
}
public String getTableName() {
return tableName;
}
public void setTableName(String tableName) {
this.tableName = tableName;
}
}