public class TableDesc extends Object
| Constructor and Description |
|---|
TableDesc(String name,
String delimiter) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addColumn(String name,
String type)
Add a column to existing table
|
List<String> |
getColumnNames() |
LinkedHashMap<String,String> |
getColumns() |
String |
getDelimiter() |
String |
getName() |
String |
getSource() |
void |
setSource(String source) |
String |
toString() |
public String getName()
public String getDelimiter()
public String getSource()
public void setSource(String source)
source - the source to setpublic boolean addColumn(String name, String type)
name - Name of the columntype - Type of the columnpublic LinkedHashMap<String,String> getColumns()
Copyright © 2017. All Rights Reserved.