public class ExportTableInfo extends Object
Modifier and Type | Field and Description |
---|---|
private List<String> |
_commentQueries |
private List<String> |
_createQueries |
private List<String> |
_insertQueries |
private String |
_name |
private int |
_nbColumns |
Constructor and Description |
---|
ExportTableInfo(String name)
The constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addCommentQuery(String query)
Add a query
|
void |
addCreateQuery(String query)
Add a query
|
void |
addInsertQuery(String query)
Add a query
|
List<String> |
getCommentQueries()
Get the list of queries
|
List<String> |
getCreateQueries()
Get the list of queries
|
List<String> |
getInsertQueries()
Get the list of queries
|
int |
getNbColumns()
Get the number of columns of the table
|
String |
getTableName()
Get the table name
|
void |
incrementNbColumns()
Increment the number of columns
|
void |
incrementNbColumns(int nb)
Increment the number of columns by nb
|
private int _nbColumns
private List<String> _createQueries
private List<String> _commentQueries
private List<String> _insertQueries
public ExportTableInfo(String name)
name
- the table namepublic String getTableName()
public int getNbColumns()
public void incrementNbColumns()
public void incrementNbColumns(int nb)
nb
- the nb to addpublic List<String> getCreateQueries()
public void addCreateQuery(String query)
query
- the query to addpublic List<String> getCommentQueries()
public void addCommentQuery(String query)
query
- the query to addpublic List<String> getInsertQueries()
public void addInsertQuery(String query)
query
- the query to add